Skip to content

Commit

Permalink
Upgrade dev bundle meteor-{promise,babel} to latest versions.
Browse files Browse the repository at this point in the history
The breaking change in the latest version is that the Fiber constructor is
no longer included as a meteor-promise dependency, but must be supplied by
assigning to Promise.Fiber.
  • Loading branch information
Ben Newman committed Jul 21, 2015
1 parent a359c72 commit 3b99659
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion meteor
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

BUNDLE_VERSION=0.5.3
BUNDLE_VERSION=0.5.4

# OS Check. Put here because here is where we download the precompiled
# bundles that are arch specific.
Expand Down
2 changes: 1 addition & 1 deletion scripts/dev-bundle-server-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var packageJson = {
version: "0.0.0",
dependencies: {
fibers: fibersVersion,
"meteor-promise": "0.2.4",
"meteor-promise": "0.4.0",
// Not yet upgrading Underscore from 1.5.2 to 1.7.0 (which should be done
// in the package too) because we should consider using lodash instead
// (and there are backwards-incompatible changes either way).
Expand Down
4 changes: 2 additions & 2 deletions scripts/dev-bundle-tool-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ var packageJson = {
version: "0.0.0",
dependencies: {
fibers: fibersVersion,
"meteor-babel": "0.3.4",
"meteor-promise": "0.2.4",
"meteor-babel": "0.4.4",
"meteor-promise": "0.4.0",
// For Map and Set polyfills.
"core-js": "0.9.18",
// Not yet upgrading Underscore from 1.5.2 to 1.7.0 (which should be done
Expand Down
3 changes: 3 additions & 0 deletions tools/install-babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ babelRegister(); // #RemoveInProd this line is removed in isopack.js
// run all its callbacks in Fibers.
global.Promise = require('meteor-promise');

// Allow all Promise callbacks to be run in a Fiber.
global.Promise.Fiber = require('fibers');

// Install ES2015-complaint polyfills for Symbol, Map, Set, and String,
// patching the native implementations if they are available.
require('core-js/es6/symbol');
Expand Down

0 comments on commit 3b99659

Please sign in to comment.