Comparing version 3.0.0 to 3.1.0
{ | ||
"name": "shift-ast", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "constructors for the Shift AST format", | ||
@@ -13,2 +13,3 @@ "author": "Shape Security Labs", | ||
"files": [ | ||
"checked.js", | ||
"dist" | ||
@@ -18,3 +19,3 @@ ], | ||
"test": "mocha --inline-diffs --check-leaks --ui tdd --reporter dot test", | ||
"build": "mkdir -p gen dist && babel-node src/generate.js && babel --out-dir dist gen", | ||
"build": "mkdir -p gen dist && babel-node src/generate.js && babel-node src/generate-checked.js && babel --out-dir dist gen", | ||
"prepublish": "rm -rf gen dist && npm update && npm run build" | ||
@@ -21,0 +22,0 @@ }, |
@@ -27,6 +27,6 @@ Shift AST Constructors | ||
var AST = require("shift-ast"); | ||
var myAstFragment = new AST.LabeledStatement( | ||
new AST.Identifier("label"), | ||
new AST.EmptyStatement | ||
); | ||
var myAstFragment = new AST.LabeledStatement({ | ||
label: "label", | ||
body: new AST.EmptyStatement | ||
}); | ||
``` | ||
@@ -33,0 +33,0 @@ |
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
103842
6
1934
0