browser-pack
Advanced tools
Comparing version 0.2.0 to 0.2.1
10
index.js
@@ -35,5 +35,5 @@ var JSONStream = require('JSONStream'); | ||
function write (row) { | ||
if (first) output.emit('data', prelude); | ||
if (first) this.queue(prelude); | ||
this.emit('data', [ | ||
this.queue([ | ||
(first ? '' : ','), | ||
@@ -56,7 +56,7 @@ JSON.stringify(row.id), | ||
function end () { | ||
if (first) output.emit('data', prelude); | ||
if (first) this.queue(prelude); | ||
this.emit('data', '},{},' + JSON.stringify(entries) + ')'); | ||
this.emit('end'); | ||
this.queue('},{},' + JSON.stringify(entries) + ')'); | ||
this.queue(null); | ||
} | ||
}; |
{ | ||
"name": "browser-pack", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "pack node-style source files from a json stream into a browser bundle", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"duplexer": "~0.0.3", | ||
"through": "~2.1.0" | ||
"through": "~2.2.0" | ||
}, | ||
@@ -15,0 +15,0 @@ "devDependencies": { |
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
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
10303
+ Addedthrough@2.2.7(transitive)
- Removedthrough@2.1.0(transitive)
Updatedthrough@~2.2.0