Skip to content

Commit

Permalink
Release 13.0.0
Browse files Browse the repository at this point in the history
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]: #439 (comment)
  • Loading branch information
Avaq committed Aug 20, 2020
1 parent 4efcf6e commit 59ef7ba
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion dist/bundle.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Fluture bundled; version 12.3.1
* Fluture bundled; version 13.0.0
*/

var Fluture = (function () {
Expand Down
4 changes: 2 additions & 2 deletions dist/module.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* Fluture bundled; version 12.3.1
* Fluture bundled; version 13.0.0
*/

/// <reference types="https://cdn.jsdelivr.net/gh/fluture-js/Fluture@12.3.1/index.d.ts" />
/// <reference types="https://cdn.jsdelivr.net/gh/fluture-js/Fluture@13.0.0/index.d.ts" />

function createCommonjsModule(fn, basedir, module) {
return module = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 59ef7ba

Please sign in to comment.