Socket
Socket
Sign inDemoInstall

ember-cli-babel

Package Overview
Dependencies
3
Maintainers
3
Versions
154
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.1.0

21

index.js

@@ -0,8 +1,13 @@

var checker = require('ember-cli-version-checker');
module.exports = {
name: 'ember-cli-babel',
included: function(app) {
this._super.included.apply(this, arguments);
var options = getOptions(app.options['babel']);
shouldSetupRegistryInIncluded: function() {
return !checker.isAbove(this, '0.2.0');
},
setupPreprocessorRegistry: function(type, registry) {
var options = getOptions(this.parent && this.parent.options && this.parent.options['babel']);
var plugin = {

@@ -16,3 +21,11 @@ name: 'ember-cli-babel',

app.registry.add('js', plugin);
registry.add('js', plugin);
},
included: function(app) {
this._super.included.apply(this, arguments);
if (this.shouldSetupRegistryInIncluded()) {
this.setupPreprocessorRegistry('parent', app.registry);
}
}

@@ -19,0 +32,0 @@ };

5

package.json
{
"name": "ember-cli-babel",
"version": "4.0.0",
"version": "4.1.0",
"main": "index.js",

@@ -20,4 +20,5 @@ "keywords": [

"broccoli-babel-transpiler": "^4.0.0",
"broccoli-filter": "^0.1.10"
"broccoli-filter": "^0.1.10",
"ember-cli-version-checker": "^1.0.2"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc