ember-cli-babel
Advanced tools
Comparing version 7.23.0 to 7.23.1
@@ -0,1 +1,11 @@ | ||
## v7.23.1 (2021-01-19) | ||
#### :bug: Bug Fix | ||
* [#378](https://github.com/babel/ember-cli-babel/pull/378) Ensure decorators are transpiled properly when the decorator identifier is aliased within the decorated method ([@rwjblue](https://github.com/rwjblue)) | ||
* [#377](https://github.com/babel/ember-cli-babel/pull/377) Avoid repeatedly checking the `ember-cli` version ([@rwjblue](https://github.com/rwjblue)) | ||
* [#376](https://github.com/babel/ember-cli-babel/pull/376) Ensure `babel.config.js` is not used without `useBabelConfig` option ([@rwjblue](https://github.com/rwjblue)) | ||
#### Committers: 1 | ||
- Robert Jackson ([@rwjblue](https://github.com/rwjblue)) | ||
## v7.23.0 (2020-10-15) | ||
@@ -2,0 +12,0 @@ |
13
index.js
@@ -12,2 +12,3 @@ 'use strict'; | ||
const APP_BABEL_RUNTIME_VERSION = new WeakMap(); | ||
const PROJECTS_WITH_VALID_EMBER_CLI = new WeakSet(); | ||
@@ -23,7 +24,10 @@ let count = 0; | ||
let checker = new VersionChecker(this); | ||
let dep = checker.for('ember-cli', 'npm'); | ||
if (!PROJECTS_WITH_VALID_EMBER_CLI.has(this.project)) { | ||
let checker = new VersionChecker(this); | ||
let dep = checker.for('ember-cli', 'npm'); | ||
if (dep.lt('2.13.0')) { | ||
throw new Error(`ember-cli-babel@7 (used by ${this._parentName()} at ${this.parent.root}) cannot be used by ember-cli versions older than 2.13, you used ${dep.version}`); | ||
if (dep.lt('2.13.0')) { | ||
throw new Error(`ember-cli-babel@7 (used by ${this._parentName()} at ${this.parent.root}) cannot be used by ember-cli versions older than 2.13, you used ${dep.version}`); | ||
} | ||
PROJECTS_WITH_VALID_EMBER_CLI.add(this.project); | ||
} | ||
@@ -335,2 +339,3 @@ }, | ||
options.babelrc = false; | ||
options.configFile = false; | ||
@@ -337,0 +342,0 @@ return options; |
{ | ||
"name": "ember-cli-babel", | ||
"version": "7.23.0", | ||
"version": "7.23.1", | ||
"description": "Ember CLI addon for Babel", | ||
@@ -56,3 +56,3 @@ "keywords": [ | ||
"babel-plugin-ember-data-packages-polyfill": "^0.1.2", | ||
"babel-plugin-ember-modules-api-polyfill": "^3.2.0", | ||
"babel-plugin-ember-modules-api-polyfill": "^3.2.1", | ||
"babel-plugin-module-resolver": "^3.1.1", | ||
@@ -59,0 +59,0 @@ "broccoli-babel-transpiler": "^7.8.0", |
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
85555
618