babel-preset-es2015
Advanced tools
Comparing version 6.18.0 to 6.22.0
{ | ||
"name": "babel-preset-es2015", | ||
"version": "6.18.0", | ||
"version": "6.22.0", | ||
"description": "Babel preset for all es2015 plugins.", | ||
@@ -11,31 +11,31 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"dependencies": { | ||
"babel-plugin-check-es2015-constants": "^6.3.13", | ||
"babel-plugin-transform-es2015-arrow-functions": "^6.3.13", | ||
"babel-plugin-transform-es2015-block-scoped-functions": "^6.3.13", | ||
"babel-plugin-transform-es2015-block-scoping": "^6.18.0", | ||
"babel-plugin-transform-es2015-classes": "^6.18.0", | ||
"babel-plugin-transform-es2015-computed-properties": "^6.3.13", | ||
"babel-plugin-transform-es2015-destructuring": "^6.18.0", | ||
"babel-plugin-transform-es2015-duplicate-keys": "^6.6.0", | ||
"babel-plugin-transform-es2015-for-of": "^6.18.0", | ||
"babel-plugin-transform-es2015-function-name": "^6.9.0", | ||
"babel-plugin-transform-es2015-literals": "^6.3.13", | ||
"babel-plugin-transform-es2015-modules-amd": "^6.18.0", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.18.0", | ||
"babel-plugin-transform-es2015-modules-systemjs": "^6.18.0", | ||
"babel-plugin-transform-es2015-modules-umd": "^6.18.0", | ||
"babel-plugin-transform-es2015-object-super": "^6.3.13", | ||
"babel-plugin-transform-es2015-parameters": "^6.18.0", | ||
"babel-plugin-transform-es2015-shorthand-properties": "^6.18.0", | ||
"babel-plugin-transform-es2015-spread": "^6.3.13", | ||
"babel-plugin-transform-es2015-sticky-regex": "^6.3.13", | ||
"babel-plugin-transform-es2015-template-literals": "^6.6.0", | ||
"babel-plugin-transform-es2015-typeof-symbol": "^6.18.0", | ||
"babel-plugin-transform-es2015-unicode-regex": "^6.3.13", | ||
"babel-plugin-transform-regenerator": "^6.16.0" | ||
"babel-plugin-check-es2015-constants": "^6.22.0", | ||
"babel-plugin-transform-es2015-arrow-functions": "^6.22.0", | ||
"babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0", | ||
"babel-plugin-transform-es2015-block-scoping": "^6.22.0", | ||
"babel-plugin-transform-es2015-classes": "^6.22.0", | ||
"babel-plugin-transform-es2015-computed-properties": "^6.22.0", | ||
"babel-plugin-transform-es2015-destructuring": "^6.22.0", | ||
"babel-plugin-transform-es2015-duplicate-keys": "^6.22.0", | ||
"babel-plugin-transform-es2015-for-of": "^6.22.0", | ||
"babel-plugin-transform-es2015-function-name": "^6.22.0", | ||
"babel-plugin-transform-es2015-literals": "^6.22.0", | ||
"babel-plugin-transform-es2015-modules-amd": "^6.22.0", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.22.0", | ||
"babel-plugin-transform-es2015-modules-systemjs": "^6.22.0", | ||
"babel-plugin-transform-es2015-modules-umd": "^6.22.0", | ||
"babel-plugin-transform-es2015-object-super": "^6.22.0", | ||
"babel-plugin-transform-es2015-parameters": "^6.22.0", | ||
"babel-plugin-transform-es2015-shorthand-properties": "^6.22.0", | ||
"babel-plugin-transform-es2015-spread": "^6.22.0", | ||
"babel-plugin-transform-es2015-sticky-regex": "^6.22.0", | ||
"babel-plugin-transform-es2015-template-literals": "^6.22.0", | ||
"babel-plugin-transform-es2015-typeof-symbol": "^6.22.0", | ||
"babel-plugin-transform-es2015-unicode-regex": "^6.22.0", | ||
"babel-plugin-transform-regenerator": "^6.22.0" | ||
}, | ||
"devDependencies": { | ||
"babel-helper-transform-fixture-test-runner": "^6.18.0", | ||
"babel-helper-plugin-test-runner": "^6.18.0" | ||
"babel-helper-transform-fixture-test-runner": "^6.22.0", | ||
"babel-helper-plugin-test-runner": "^6.22.0" | ||
} | ||
} |
@@ -8,3 +8,3 @@ # babel-preset-es2015 | ||
```sh | ||
$ npm install --save-dev babel-preset-es2015 | ||
npm install --save-dev babel-preset-es2015 | ||
``` | ||
@@ -27,3 +27,3 @@ | ||
```sh | ||
$ babel script.js --presets es2015 | ||
babel script.js --presets es2015 | ||
``` | ||
@@ -42,9 +42,10 @@ | ||
* `loose` - Enable "loose" transformations for any plugins in this preset that allow them (Disabled by default). | ||
* `modules` - Enable transformation of ES6 module syntax to another module type (Enabled by default to "commonjs"). | ||
* `modules` - Enable transformation of ES6 module syntax to another module type (Enabled by default to `"commonjs"`). | ||
* Can be `false` to not transform modules, or one of `["amd", "umd", "systemjs", "commonjs"]` | ||
* `spec` - Enable "spec" transformations for any plugins in this preset that allow them (Disabled by default) | ||
``` | ||
```js | ||
{ | ||
presets: [ | ||
["es2015", {"loose": true, "modules": "amd"}] | ||
["es2015", { "loose": true }] | ||
] | ||
@@ -54,5 +55,15 @@ } | ||
presets: [ | ||
["es2015", {"loose": true, "modules": false}] | ||
["es2015", { "modules": false }] | ||
] | ||
} | ||
{ | ||
presets: [ | ||
["es2015", { "loose": true, "modules": false }] | ||
] | ||
} | ||
{ | ||
presets: [ | ||
["es2015", { "spec": true }] | ||
] | ||
} | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11075
66
Updatedbabel-plugin-transform-es2015-arrow-functions@^6.22.0
Updatedbabel-plugin-transform-es2015-block-scoped-functions@^6.22.0
Updatedbabel-plugin-transform-es2015-computed-properties@^6.22.0
Updatedbabel-plugin-transform-es2015-modules-commonjs@^6.22.0
Updatedbabel-plugin-transform-es2015-modules-systemjs@^6.22.0
Updatedbabel-plugin-transform-es2015-shorthand-properties@^6.22.0
Updatedbabel-plugin-transform-es2015-template-literals@^6.22.0