browser-pack
Advanced tools
Comparing version 0.9.2 to 0.9.3
#!/usr/bin/env node | ||
var pack = require('./')(); | ||
var pack = require('../')(); | ||
process.stdin.pipe(pack).pipe(process.stdout); |
@@ -27,3 +27,2 @@ var JSONStream = require('JSONStream'); | ||
var entries = []; | ||
var order = []; | ||
@@ -53,3 +52,7 @@ var lineno = 1 + newlinesIn(prelude); | ||
'\n},', | ||
JSON.stringify(row.deps || {}), | ||
'{' + Object.keys(row.deps || {}).sort().map(function (key) { | ||
return JSON.stringify(key) + ':' | ||
+ JSON.stringify(row.deps[key]) | ||
; | ||
}).join(',') + '}', | ||
']' | ||
@@ -56,0 +59,0 @@ ].join(''); |
{ | ||
"name": "browser-pack", | ||
"version": "0.9.2", | ||
"version": "0.9.3", | ||
"description": "pack node-style source files from a json stream into a browser bundle", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
21479
23
460
10