ember-cli-babel
Advanced tools
Comparing version 7.21.0 to 7.22.0
@@ -0,1 +1,14 @@ | ||
## v7.22.0 (2020-07-31) | ||
#### :rocket: Enhancement | ||
* [#359](https://github.com/babel/ember-cli-babel/pull/359) Add @ember/destroyable support (via babel-plugin-ember-modules-api-polyfill) ([@rwjblue](https://github.com/rwjblue)) | ||
* [#358](https://github.com/babel/ember-cli-babel/pull/358) Update babel related dependencies (for Babel 7.11.0). ([@rwjblue](https://github.com/rwjblue)) | ||
#### :house: Internal | ||
* [#357](https://github.com/babel/ember-cli-babel/pull/357) Update babel-plugin-ember-modules-api-polyfill from 2.13.4 to 3.0.0 ([@mydea](https://github.com/mydea)) | ||
#### Committers: 2 | ||
- Francesco Novy ([@mydea](https://github.com/mydea)) | ||
- Robert Jackson ([@rwjblue](https://github.com/rwjblue)) | ||
## v7.21.0 (2020-06-12) | ||
@@ -2,0 +15,0 @@ |
22
index.js
@@ -504,5 +504,5 @@ 'use strict'; | ||
if (this._emberVersionRequiresModulesAPIPolyfill()) { | ||
const blacklist = this._getEmberModulesAPIBlacklist(); | ||
const ignore = this._getEmberModulesAPIIgnore(); | ||
return [[require.resolve('babel-plugin-ember-modules-api-polyfill'), { blacklist }]]; | ||
return [[require.resolve('babel-plugin-ember-modules-api-polyfill'), { ignore }]]; | ||
} | ||
@@ -611,4 +611,4 @@ }, | ||
_getEmberModulesAPIBlacklist() { | ||
const blacklist = { | ||
_getEmberModulesAPIIgnore() { | ||
const ignore = { | ||
'@ember/debug': ['assert', 'deprecate', 'warn'], | ||
@@ -618,4 +618,4 @@ '@ember/application/deprecations': ['deprecate'], | ||
if (this._shouldBlacklistEmberString()) { | ||
blacklist['@ember/string'] = [ | ||
if (this._shouldIgnoreEmberString()) { | ||
ignore['@ember/string'] = [ | ||
'fmt', 'loc', 'w', | ||
@@ -628,7 +628,7 @@ 'decamelize', 'dasherize', 'camelize', | ||
if (this._shouldBlacklistJQuery()) { | ||
blacklist['jquery'] = ['default']; | ||
if (this._shouldIgnoreJQuery()) { | ||
ignore['jquery'] = ['default']; | ||
} | ||
return blacklist; | ||
return ignore; | ||
}, | ||
@@ -647,3 +647,3 @@ | ||
_shouldBlacklistEmberString() { | ||
_shouldIgnoreEmberString() { | ||
let packageName = '@ember/string'; | ||
@@ -658,3 +658,3 @@ if (this._isProjectName(packageName)) { return true; } | ||
_shouldBlacklistJQuery() { | ||
_shouldIgnoreJQuery() { | ||
let packageName = '@ember/jquery'; | ||
@@ -661,0 +661,0 @@ if (this._isProjectName(packageName)) { return true; } |
{ | ||
"name": "ember-cli-babel", | ||
"version": "7.21.0", | ||
"version": "7.22.0", | ||
"description": "Ember CLI addon for Babel", | ||
@@ -43,18 +43,18 @@ "keywords": [ | ||
"dependencies": { | ||
"@babel/core": "^7.10.2", | ||
"@babel/helper-compilation-targets": "^7.10.2", | ||
"@babel/plugin-proposal-class-properties": "^7.10.1", | ||
"@babel/plugin-proposal-decorators": "^7.10.1", | ||
"@babel/plugin-transform-modules-amd": "^7.10.1", | ||
"@babel/plugin-transform-runtime": "^7.10.1", | ||
"@babel/plugin-transform-typescript": "^7.10.1", | ||
"@babel/polyfill": "^7.10.1", | ||
"@babel/preset-env": "^7.10.2", | ||
"@babel/runtime": "^7.10.2", | ||
"@babel/core": "^7.11.0", | ||
"@babel/helper-compilation-targets": "^7.10.4", | ||
"@babel/plugin-proposal-class-properties": "^7.10.4", | ||
"@babel/plugin-proposal-decorators": "^7.10.5", | ||
"@babel/plugin-transform-modules-amd": "^7.10.5", | ||
"@babel/plugin-transform-runtime": "^7.11.0", | ||
"@babel/plugin-transform-typescript": "^7.11.0", | ||
"@babel/polyfill": "^7.10.4", | ||
"@babel/preset-env": "^7.11.0", | ||
"@babel/runtime": "^7.11.0", | ||
"amd-name-resolver": "^1.2.1", | ||
"babel-plugin-debug-macros": "^0.3.3", | ||
"babel-plugin-ember-data-packages-polyfill": "^0.1.2", | ||
"babel-plugin-ember-modules-api-polyfill": "^2.13.4", | ||
"babel-plugin-ember-modules-api-polyfill": "^3.1.0", | ||
"babel-plugin-module-resolver": "^3.1.1", | ||
"broccoli-babel-transpiler": "^7.5.0", | ||
"broccoli-babel-transpiler": "^7.7.0", | ||
"broccoli-debug": "^0.6.4", | ||
@@ -61,0 +61,0 @@ "broccoli-funnel": "^2.0.1", |
@@ -197,3 +197,3 @@ # ember-cli-babel | ||
Note that there is currently no way to whitelist or blacklist helpers, so all | ||
Note that there is currently no way to allow or ignore helpers, so all | ||
helpers will be included, even ones which are not used. If your app is small, | ||
@@ -237,3 +237,3 @@ this could add to overall build size, so be sure to check. | ||
Older versions of Ember CLI (`< 2.12`) use its own ES6 module transpiler. | ||
Because of that, this plugin disables Babel module compilation by blacklisting | ||
Because of that, this plugin disables Babel module compilation by ignoring | ||
that transform when running under affected ember-cli versions. If you find that | ||
@@ -240,0 +240,0 @@ you want to use the Babel module transform instead of the Ember CLI one, you'll |
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
84351
+ Addedbabel-plugin-ember-modules-api-polyfill@3.5.0(transitive)
- Removedbabel-plugin-ember-modules-api-polyfill@2.13.4(transitive)
Updated@babel/core@^7.11.0
Updated@babel/polyfill@^7.10.4
Updated@babel/preset-env@^7.11.0
Updated@babel/runtime@^7.11.0