ember-cli-babel
Advanced tools
Comparing version 5.1.8 to 5.1.9
22
index.js
@@ -71,2 +71,3 @@ /* jshint node: true */ | ||
var options = clone(getAddonOptions(addonContext)); | ||
var ui = addonContext.ui; | ||
@@ -76,11 +77,26 @@ // pass a console object that wraps the addon's `UI` object | ||
log: function(message) { | ||
addonContext.ui.writeInfoLine(message); | ||
// fallback needed for support of ember-cli < 2.2.0 | ||
if (ui.writeInfoLine) { | ||
ui.writeInfoLine(message); | ||
} else { | ||
ui.writeLine(message, 'INFO'); | ||
} | ||
}, | ||
warn: function(message) { | ||
addonContext.ui.writeWarnLine(message); | ||
// fallback needed for support of ember-cli < 2.2.0 | ||
if (ui.writeWarnLine) { | ||
ui.writeWarnLine(message); | ||
} else { | ||
ui.writeLine(message, 'WARN'); | ||
} | ||
}, | ||
error: function(message) { | ||
addonContext.ui.writeError(message, 'ERROR'); | ||
// fallback needed for support of ember-cli < 2.2.0 | ||
if (ui.writeError) { | ||
ui.writeError(message); | ||
} else { | ||
ui.writeLine(message, 'ERROR'); | ||
} | ||
} | ||
@@ -87,0 +103,0 @@ }; |
{ | ||
"name": "ember-cli-babel", | ||
"version": "5.1.8", | ||
"version": "5.1.9", | ||
"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
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
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
8898
107
1