From 59ef7ba7f5f7dc539de3f473dbf971d527369006 Mon Sep 17 00:00:00 2001 From: Aldwin Vlasblom Date: Thu, 20 Aug 2020 12:12:07 +0200 Subject: [PATCH] Release 13.0.0 Breaking changes - #439 If you were using `import Future from 'fluture'` on Node 14, then updating to this version will likely break your code. See this comment[1]. New Features - #439 Doing `import 'fluture'` on Node 14 now loads the ESM module instead of the CJS module. This means it's no longer necessary to deep-import from `fluture/index.js` to get access to the modular version. [1]: https://github.com/fluture-js/Fluture/pull/439#issuecomment-671951065 --- README.md | 8 ++++---- dist/bundle.js | 2 +- dist/module.js | 4 ++-- package.json | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 65e6113a..93540806 100644 --- a/README.md +++ b/README.md @@ -57,10 +57,10 @@ single files that come with all of Fluture's dependencies pre-bundled. - [Fluture Module Minified][]: A minified EcmaScript module without TypeScript typings. Not recommended for Deno. -[Fluture Script]: https://cdn.jsdelivr.net/gh/fluture-js/Fluture@12.3.1/dist/bundle.js -[Fluture Script Minified]: https://cdn.jsdelivr.net/gh/fluture-js/Fluture@12.3.1/dist/bundle.min.js -[Fluture Module]: https://cdn.jsdelivr.net/gh/fluture-js/Fluture@12.3.1/dist/module.js -[Fluture Module Minified]: https://cdn.jsdelivr.net/gh/fluture-js/Fluture@12.3.1/dist/module.min.js +[Fluture Script]: https://cdn.jsdelivr.net/gh/fluture-js/Fluture@13.0.0/dist/bundle.js +[Fluture Script Minified]: https://cdn.jsdelivr.net/gh/fluture-js/Fluture@13.0.0/dist/bundle.min.js +[Fluture Module]: https://cdn.jsdelivr.net/gh/fluture-js/Fluture@13.0.0/dist/module.js +[Fluture Module Minified]: https://cdn.jsdelivr.net/gh/fluture-js/Fluture@13.0.0/dist/module.min.js ## Usage diff --git a/dist/bundle.js b/dist/bundle.js index e87c0a98..c2c7e3e2 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -1,5 +1,5 @@ /** - * Fluture bundled; version 12.3.1 + * Fluture bundled; version 13.0.0 */ var Fluture = (function () { diff --git a/dist/module.js b/dist/module.js index f5425676..1fb650fd 100644 --- a/dist/module.js +++ b/dist/module.js @@ -1,8 +1,8 @@ /** - * Fluture bundled; version 12.3.1 + * Fluture bundled; version 13.0.0 */ -/// +/// function createCommonjsModule(fn, basedir, module) { return module = { diff --git a/package.json b/package.json index 03c72ff2..17017925 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fluture", - "version": "12.3.1", + "version": "13.0.0", "description": "FantasyLand compliant (monadic) alternative to Promises", "main": "index.cjs", "type": "module",