babel-plugin-minify-constant-folding
Advanced tools
Comparing version 0.0.1 to 0.0.3
"use strict"; | ||
var evaluate = require("babel-helper-evaluate-path"); | ||
module.exports = function (_ref) { | ||
var t = _ref.types; | ||
var traverse = _ref.traverse; | ||
var t = _ref.types, | ||
traverse = _ref.traverse; | ||
@@ -97,3 +99,3 @@ var seen = Symbol("seen"); | ||
var res = path.evaluate(); | ||
var res = evaluate(path); | ||
if (res.confident) { | ||
@@ -100,0 +102,0 @@ // Avoid fractions because they can be longer than the original expression. |
{ | ||
"name": "babel-plugin-minify-constant-folding", | ||
"version": "0.0.1", | ||
"version": "0.0.3", | ||
"description": "", | ||
@@ -14,4 +14,6 @@ "homepage": "https://github.com/babel/babili#readme", | ||
], | ||
"dependencies": {}, | ||
"dependencies": { | ||
"babel-helper-evaluate-path": "^0.0.3" | ||
}, | ||
"devDependencies": {} | ||
} |
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
4894
100
1
1
+ Addedbabel-helper-evaluate-path@0.0.3(transitive)