babel-plugin-ember-modules-api-polyfill
Advanced tools
Comparing version 1.5.0 to 1.5.1
{ | ||
"name": "babel-plugin-ember-modules-api-polyfill", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Polyfill for Ember JS API.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -133,3 +133,3 @@ 'use strict'; | ||
if (removals.length === node.specifiers.length) { | ||
if (removals.length > 0 && removals.length === node.specifiers.length) { | ||
path.replaceWithMultiple(replacements); | ||
@@ -136,0 +136,0 @@ } else if (replacements.length > 0) { |
@@ -146,3 +146,7 @@ 'use strict'; | ||
); | ||
matches( | ||
`import './foo';`, | ||
`import './foo';` | ||
); | ||
}); | ||
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
77768
370