Socket
Socket
Sign inDemoInstall

flat-to-nested

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

dist/FlatToNested-min.js

9

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc