ember-cli-babel
Advanced tools
Comparing version 5.1.9 to 5.1.10
@@ -34,3 +34,9 @@ /* jshint node: true */ | ||
importPolyfill: function(app) { | ||
app.import('vendor/browser-polyfill.js', { prepend: true }); | ||
if (this.import) { // support for ember-cli >= 2.7 | ||
this.import('vendor/browser-polyfill.js', { prepend: true }); | ||
} else if (app.import) { // support ember-cli < 2.7 | ||
app.import('vendor/browser-polyfill.js', { prepend: true }); | ||
} else { | ||
console.warn('Please run: ember install ember-cli-import-polyfill') | ||
} | ||
}, | ||
@@ -37,0 +43,0 @@ |
{ | ||
"name": "ember-cli-babel", | ||
"version": "5.1.9", | ||
"version": "5.1.10", | ||
"directories": { | ||
@@ -5,0 +5,0 @@ "doc": "doc", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9174
113
0