babel-preset-meteor
Advanced tools
Comparing version 6.4.4 to 6.4.5
@@ -31,3 +31,4 @@ // TODO Somehow expose a hash of these plugin options? | ||
require("babel-plugin-transform-es2015-object-super"), | ||
require("babel-plugin-transform-es2015-parameters"), | ||
// require("babel-plugin-transform-es2015-parameters"), | ||
require("./plugins/parameters"), | ||
require("babel-plugin-transform-es2015-shorthand-properties"), | ||
@@ -34,0 +35,0 @@ require("babel-plugin-transform-es2015-spread"), |
{ | ||
"name": "babel-preset-meteor", | ||
"version": "6.4.4", | ||
"version": "6.4.5", | ||
"description": "Babel preset for ES2015+ features supported by Meteor", | ||
@@ -25,3 +25,3 @@ "author": "Ben Newman <ben@meteor.com>", | ||
"babel-plugin-transform-es2015-literals": "^6.3.13", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.4.5", | ||
"babel-plugin-transform-es2015-modules-commonjs": "6.4.5", | ||
"babel-plugin-transform-es2015-object-super": "^6.4.0", | ||
@@ -28,0 +28,0 @@ "babel-plugin-transform-es2015-parameters": "^6.4.5", |
@@ -1,8 +0,14 @@ | ||
var strictModulesPlugin = | ||
var strictModulesPluginFactory = | ||
require("babel-plugin-transform-es2015-modules-commonjs"); | ||
module.exports = [function sloppy() { | ||
var visitor = strictModulesPlugin.apply(this, arguments); | ||
delete visitor.inherits; | ||
return visitor; | ||
module.exports = [function () { | ||
var plugin = strictModulesPluginFactory.apply(this, arguments); | ||
// Since babel-preset-meteor uses an exact version of the | ||
// babel-plugin-transform-es2015-modules-commonjs transform (6.4.5), we | ||
// can be sure this plugin.inherits property is indeed the | ||
// babel-plugin-transform-strict-mode transform that we wish to disable. | ||
// Otherwise it would be difficult to know exactly what we're deleting | ||
// here, since plugins don't provide much identifying information. | ||
delete plugin.inherits; | ||
return plugin; | ||
}, { | ||
@@ -9,0 +15,0 @@ allowTopLevelThis: true, |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24187
10
488
1
+ Addedbabel-plugin-transform-es2015-modules-commonjs@6.4.5(transitive)
+ Addedbabel-runtime@5.8.38(transitive)
+ Addedcore-js@1.2.7(transitive)
- Removedbabel-plugin-transform-es2015-modules-commonjs@6.26.2(transitive)