Comparing version 0.1.2 to 1.0.0
12
index.js
@@ -1,2 +0,2 @@ | ||
var through = require('through'); | ||
var through = require('through2'); | ||
@@ -7,5 +7,5 @@ module.exports = function (opts) { | ||
var rows = []; | ||
return through(write, end); | ||
return through.obj(write, end); | ||
function write (row) { rows.push(row) } | ||
function write (row, enc, next) { rows.push(row); next() } | ||
@@ -27,3 +27,3 @@ function end () { | ||
}); | ||
tr.queue(row); | ||
tr.push(row); | ||
}); | ||
@@ -33,6 +33,6 @@ } | ||
rows.forEach(function (row) { | ||
tr.queue(row); | ||
tr.push(row); | ||
}); | ||
} | ||
tr.queue(null); | ||
tr.push(null); | ||
} | ||
@@ -39,0 +39,0 @@ |
{ | ||
"name": "deps-sort", | ||
"version": "0.1.2", | ||
"description": "sort module-deps output for deterministic browserify bundles", | ||
"main": "index.js", | ||
"bin": { | ||
"deps-sort": "bin/cmd.js" | ||
}, | ||
"dependencies": { | ||
"through": "~2.3.4", | ||
"JSONStream": "~0.6.4", | ||
"minimist": "~0.0.1" | ||
}, | ||
"devDependencies": { | ||
"tap": "~0.4.0" | ||
}, | ||
"scripts": { | ||
"test": "tap test/*.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/substack/deps-sort.git" | ||
}, | ||
"homepage": "https://github.com/substack/deps-sort", | ||
"keywords": [ | ||
"dependency", | ||
"graph", | ||
"browser", | ||
"browserify", | ||
"module-deps", | ||
"browser-pack", | ||
"sorted", | ||
"determinism" | ||
], | ||
"author": { | ||
"name": "James Halliday", | ||
"email": "mail@substack.net", | ||
"url": "http://substack.net" | ||
}, | ||
"license": "MIT" | ||
"name": "deps-sort", | ||
"version": "1.0.0", | ||
"description": "sort module-deps output for deterministic browserify bundles", | ||
"main": "index.js", | ||
"bin": { | ||
"deps-sort": "bin/cmd.js" | ||
}, | ||
"dependencies": { | ||
"JSONStream": "~0.8.4", | ||
"minimist": "~0.2.0", | ||
"through2": "~0.5.1" | ||
}, | ||
"devDependencies": { | ||
"tape": "^2.13.4" | ||
}, | ||
"scripts": { | ||
"test": "tape test/*.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/substack/deps-sort.git" | ||
}, | ||
"homepage": "https://github.com/substack/deps-sort", | ||
"keywords": [ | ||
"dependency", | ||
"graph", | ||
"browser", | ||
"browserify", | ||
"module-deps", | ||
"browser-pack", | ||
"sorted", | ||
"determinism" | ||
], | ||
"author": { | ||
"name": "James Halliday", | ||
"email": "mail@substack.net", | ||
"url": "http://substack.net" | ||
}, | ||
"license": "MIT" | ||
} |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
7049
9
103
0
75
+ Addedthrough2@~0.5.1
+ AddedJSONStream@0.8.4(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedisarray@0.0.1(transitive)
+ Addedminimist@0.2.4(transitive)
+ Addedreadable-stream@1.0.34(transitive)
+ Addedstring_decoder@0.10.31(transitive)
+ Addedthrough2@0.5.1(transitive)
+ Addedxtend@3.0.0(transitive)
- Removedthrough@~2.3.4
- RemovedJSONStream@0.6.4(transitive)
- Removedminimist@0.0.10(transitive)
- Removedthrough@2.2.7(transitive)
UpdatedJSONStream@~0.8.4
Updatedminimist@~0.2.0