babel-plugin-debug-macros
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -0,1 +1,9 @@ | ||
## v0.3.3 (2019-08-26) | ||
#### :bug: Bug Fix | ||
* [#80](https://github.com/ember-cli/babel-plugin-debug-macros/pull/80) Fix bug when key attribute is a literal for debug macros (`deprecate`, `assert`, `warn`) ([@martony38](https://github.com/martony38)) | ||
#### Committers: 1 | ||
- Laurent Sehabiague ([@martony38](https://github.com/martony38)) | ||
# Changelog | ||
@@ -2,0 +10,0 @@ |
{ | ||
"name": "babel-plugin-debug-macros", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Debug macros and feature flag stripping", | ||
@@ -48,3 +48,5 @@ "keywords": [ | ||
"lerna-changelog": "^0.8.2", | ||
"prettier": "^1.12.1" | ||
"prettier": "^1.12.1", | ||
"release-it": "^12.2.1", | ||
"release-it-lerna-changelog": "^1.0.3" | ||
}, | ||
@@ -56,3 +58,19 @@ "peerDependencies": { | ||
"node": ">=6" | ||
}, | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org" | ||
}, | ||
"release-it": { | ||
"plugins": { | ||
"release-it-lerna-changelog": { | ||
"infile": "CHANGELOG.md" | ||
} | ||
}, | ||
"git": { | ||
"tagName": "v${version}" | ||
}, | ||
"github": { | ||
"release": true | ||
} | ||
} | ||
} |
@@ -160,7 +160,15 @@ 'use strict'; | ||
if (meta && meta.properties && !meta.properties.some(prop => prop.key.name === 'id')) { | ||
if ( | ||
meta && | ||
meta.properties && | ||
!meta.properties.some(prop => prop.key.name === 'id' || prop.key.value === 'id') | ||
) { | ||
throw new ReferenceError(`deprecate's meta information requires an "id" field.`); | ||
} | ||
if (meta && meta.properties && !meta.properties.some(prop => prop.key.name === 'until')) { | ||
if ( | ||
meta && | ||
meta.properties && | ||
!meta.properties.some(prop => prop.key.name === 'until' || prop.key.value === 'until') | ||
) { | ||
throw new ReferenceError(`deprecate's meta information requires an "until" field.`); | ||
@@ -167,0 +175,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
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
25019
457
0
14