[Pkg-javascript-commits] [node-deps-sort] 60/79: replace jsonstream with 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 2258e666f8ce0b25f4672cb5e3b5ddfef560d6a4
Author: Andres Suarez <zertosh at gmail.com>
Date: Thu May 7 16:31:00 2015 -0400
replace jsonstream with JSONStream
---
bin/cmd.js | 2 +-
example/sort.js | 2 +-
package.json | 2 +-
readme.markdown | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/bin/cmd.js b/bin/cmd.js
index 869a632..e546130 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/example/sort.js b/example/sort.js
index 76f2d24..cfc0075 100644
--- a/example/sort.js
+++ b/example/sort.js
@@ -1,5 +1,5 @@
var sort = require('../')();
-var JSONStream = require('jsonstream');
+var JSONStream = require('JSONStream');
var parse = JSONStream.parse([ true ]);
var stringify = JSONStream.stringify();
diff --git a/package.json b/package.json
index 77198dc..32e9df9 100644
--- a/package.json
+++ b/package.json
@@ -7,8 +7,8 @@
"deps-sort": "bin/cmd.js"
},
"dependencies": {
+ "JSONStream": "^1.0.3",
"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 6a91584..873210b 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