[Pkg-javascript-commits] [node-deps-sort] 56/79: Use jsonstream instead of JSONStream
Bastien Roucariès
rouca at moszumanska.debian.org
Wed Sep 6 09:41:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-deps-sort.
commit 275200e76f59cc2eab1fd77260349b983b771d82
Author: Chad Hietala <chadhietala at gmail.com>
Date: Thu May 7 08:16:52 2015 -0700
Use jsonstream instead of JSONStream
See https://github.com/substack/node-browserify/pull/1247 for more details.
---
bin/cmd.js | 2 +-
package.json | 2 +-
readme.markdown | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/cmd.js b/bin/cmd.js
index e546130..869a632 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node
var argv = require('subarg')(process.argv.slice(2));
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
var sort = require('../')(argv);
var parse = JSONStream.parse([ true ]);
diff --git a/package.json b/package.json
index 7cfd5bb..a4c9b99 100644
--- a/package.json
+++ b/package.json
@@ -7,8 +7,8 @@
"deps-sort": "bin/cmd.js"
},
"dependencies": {
- "JSONStream": "~0.10.0",
"isarray": "0.0.1",
+ "jsonstream": "^1.0.3",
"shasum": "^1.0.0",
"subarg": "^1.0.0",
"through2": "~0.5.1"
diff --git a/readme.markdown b/readme.markdown
index 873210b..6a91584 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -36,7 +36,7 @@ streaming object data:
``` js
var sort = require('../')();
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
var parse = JSONStream.parse([ true ]);
var stringify = JSONStream.stringify();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-deps-sort.git
More information about the Pkg-javascript-commits
mailing list