ember-cli-optimize
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -20,2 +20,4 @@ var Filter = require('broccoli-persistent-filter'); | ||
this.eager = options.eager; | ||
// adding option to override acorn.parse options. | ||
this.parseOptions = options.parseOptions || {}; | ||
} | ||
@@ -28,3 +30,3 @@ | ||
logger.debug('opt ' + relativePath); | ||
var ast = parse(content); | ||
var ast = parse(content, this.parseOptions); | ||
var optimizer = new Optimizer(content, ast, this.eager); | ||
@@ -31,0 +33,0 @@ walk(ast, { |
{ | ||
"name": "ember-cli-optimize", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "The default blueprint for ember-cli addons.", | ||
"keywords": [ | ||
"ember-addon" | ||
], | ||
"repository": "https://github.com/krisselden/ember-cli-optimize", | ||
"license": "MIT", | ||
"author": "Kris Selden", | ||
"files": [ | ||
"index.js", | ||
"lib", | ||
"config/environment.js" | ||
], | ||
"directories": { | ||
@@ -14,8 +25,9 @@ "doc": "doc", | ||
}, | ||
"repository": "https://github.com/krisselden/ember-cli-optimize", | ||
"engines": { | ||
"node": ">= 0.10.0" | ||
"dependencies": { | ||
"acorn": "^8.0.1", | ||
"array-binsearch": "^1.0.0", | ||
"broccoli-persistent-filter": "^1.2.11", | ||
"estree-walker": "^0.3.0", | ||
"heimdalljs-logger": "^0.1.7" | ||
}, | ||
"author": "Kris Selden", | ||
"license": "MIT", | ||
"devDependencies": { | ||
@@ -45,11 +57,4 @@ "broccoli-asset-rev": "^2.4.2", | ||
}, | ||
"keywords": [ | ||
"ember-addon" | ||
], | ||
"dependencies": { | ||
"acorn": "^8.0.1", | ||
"array-binsearch": "^1.0.0", | ||
"broccoli-persistent-filter": "^1.2.11", | ||
"estree-walker": "^0.3.0", | ||
"heimdalljs-logger": "^0.1.7" | ||
"engines": { | ||
"node": ">= 0.10.0" | ||
}, | ||
@@ -56,0 +61,0 @@ "ember-addon": { |
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
0
8900
6
159