Upgrade meteor-ecmascript-runtime to 0.2.8.

Most notably, this version reuses global.Symbol when possible.
This commit is contained in:
Ben Newman
2016-08-08 18:38:15 -04:00
parent 0d4cf02361
commit cb587f6145
2 changed files with 13 additions and 15 deletions

View File

@@ -1,16 +1,14 @@
{
"dependencies": {
"core-js": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.1.tgz",
"from": "core-js@1.2.1"
},
"meteor-ecmascript-runtime": {
"version": "0.2.6",
"resolved": "https://registry.npmjs.org/meteor-ecmascript-runtime/-/meteor-ecmascript-runtime-0.2.6.tgz",
"from": "https://registry.npmjs.org/meteor-ecmascript-runtime/-/meteor-ecmascript-runtime-0.2.6.tgz",
"dependencies": {
"core-js": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.1.tgz",
"from": "https://registry.npmjs.org/core-js/-/core-js-1.2.1.tgz"
}
}
"version": "0.2.8",
"resolved": "https://registry.npmjs.org/meteor-ecmascript-runtime/-/meteor-ecmascript-runtime-0.2.8.tgz",
"from": "meteor-ecmascript-runtime@0.2.8"
}
}
}

View File

@@ -1,23 +1,23 @@
Package.describe({
name: "ecmascript-runtime",
version: "0.3.12",
version: "0.3.13",
summary: "Polyfills for new ECMAScript 2015 APIs like Map and Set",
git: "https://github.com/meteor/ecmascript-runtime",
documentation: "README.md"
});
Npm.depends({
"meteor-ecmascript-runtime": "0.2.6",
"meteor-ecmascript-runtime": "0.2.8",
});
Package.onUse(function(api) {
// If the es5-shim package is installed, make sure it loads before
// ecmascript-runtime, since ecmascript-runtime uses some ES5 APIs like
// Object.defineProperties that are buggy in older browsers.
api.use("es5-shim", { weak: true });
api.use("es5-shim@4.6.13", { weak: true });
api.use("modules");
api.use("promise");
api.use("modules@0.7.5");
api.use("promise@0.8.3");
api.mainModule("runtime.js");