shift-scope
Advanced tools
Comparing version 3.1.0 to 4.0.0
@@ -61,2 +61,10 @@ 'use strict'; | ||
fold(list, a) { | ||
var _this = this; | ||
return list.reduce(function (memo, x) { | ||
return _this.append(memo, x); | ||
}, a == null ? this.identity : a); | ||
} | ||
static analyze(program) { | ||
@@ -63,0 +71,0 @@ return (0, _shiftReducer2.default)(new this(program), program).children[0]; |
{ | ||
"name": "shift-scope", | ||
"version": "3.1.0", | ||
"version": "4.0.0", | ||
"description": "produce a scope tree for Shift format ASTs", | ||
@@ -24,4 +24,4 @@ "author": "Shape Security", | ||
"multimap": "1.0.2", | ||
"shift-reducer": "4.0.1", | ||
"shift-spec": "2016.0.0" | ||
"shift-reducer": "5.0.0", | ||
"shift-spec": "2017.0.0" | ||
}, | ||
@@ -35,3 +35,3 @@ "devDependencies": { | ||
"mocha": "2.3.4", | ||
"shift-parser": "5.2.0" | ||
"shift-parser": "6.0.0" | ||
}, | ||
@@ -38,0 +38,0 @@ "keywords": [ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
78060
1543
0
+ Addedshift-ast@5.0.0(transitive)
+ Addedshift-reducer@5.0.0(transitive)
+ Addedshift-spec@2017.0.0(transitive)
- Removedshift-ast@4.0.0(transitive)
- Removedshift-reducer@4.0.1(transitive)
- Removedshift-spec@2016.0.0(transitive)
Updatedshift-reducer@5.0.0
Updatedshift-spec@2017.0.0