browser-pack
Advanced tools
Comparing version 0.1.2 to 0.2.0
@@ -30,2 +30,3 @@ var JSONStream = require('JSONStream'); | ||
var entries = []; | ||
var order = []; | ||
@@ -48,3 +49,6 @@ return duplexer(parser, output); | ||
first = false; | ||
entries.push(row.id); | ||
if (row.entry && row.order !== undefined) { | ||
entries.splice(row.order, 0, row.id); | ||
} | ||
else if (row.entry) entries.push(row.id); | ||
} | ||
@@ -51,0 +55,0 @@ |
{ | ||
"name": "browser-pack", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "pack node-style source files from a json stream into a browser bundle", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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
10335
13
197
82
5