flat-to-nested
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "flat-to-nested", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Convert a hierarchy from flat to nested representation.", | ||
@@ -24,3 +24,4 @@ "keywords": [ | ||
"test": "mocha", | ||
"lint": "jshint index.js test/test.js && jscs index.js test/test.js" | ||
"lint": "jshint index.js test/test.js && jscs index.js test/test.js", | ||
"dist": "mkdir -p dist && browserify index.js -o dist/FlatToNested.js -s FlatToNested && uglifyjs dist/FlatToNested.js > dist/FlatToNested-min.js" | ||
}, | ||
@@ -31,4 +32,6 @@ "devDependencies": { | ||
"jshint": "2.6.3", | ||
"jscs": "1.11.3" | ||
"jscs": "1.11.3", | ||
"browserify": "10.2.6", | ||
"uglify-js": "2.4.23" | ||
} | ||
} |
@@ -23,3 +23,4 @@ flat-to-nested | ||
flatToNested.convert(flat); | ||
var nested = flatToNested.convert(flat); | ||
console.log(nested); | ||
@@ -74,2 +75,2 @@ // { | ||
Run `npm test` | ||
Run `npm test` |
Sorry, the diff of this file is not supported yet
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
19826
13
404
75
6
1
4