[Pkg-javascript-commits] [node-module-deps] 375/444: Replace JSONStream with jsonstream

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:48:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-module-deps.

commit 4dbceee40da25f7c07377ff9b3ecf9437e38b0b8
Author: Chad Hietala <chadhietala at gmail.com>
Date:   Thu May 7 08:28:41 2015 -0700

    Replace JSONStream with jsonstream
    
    See https://github.com/substack/node-browserify/pull/1247 for more details.
---
 bin/cmd.js               | 2 +-
 example/deps.js          | 2 +-
 package.json             | 2 +-
 readme.markdown          | 2 +-
 test/bundle.js           | 2 +-
 test/cycle.js            | 2 +-
 test/pkg_filter.js       | 2 +-
 test/tr_2dep_module.js   | 2 +-
 test/tr_err.js           | 2 +-
 test/tr_fn.js            | 2 +-
 test/tr_global.js        | 2 +-
 test/tr_module.js        | 2 +-
 test/tr_no_entry.js      | 2 +-
 test/tr_opts.js          | 2 +-
 test/tr_rel.js           | 2 +-
 test/tr_sh.js            | 2 +-
 test/tr_whole_package.js | 2 +-
 test/tr_write.js         | 2 +-
 18 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/bin/cmd.js b/bin/cmd.js
index c776ed7..63de7f9 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -9,7 +9,7 @@ var argv = subarg(process.argv.slice(2), {
 });
 if (argv.help) return usage(0);
 
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 
 var files = argv._.map(function (file) {
     if (file === '-') return process.stdin;
diff --git a/example/deps.js b/example/deps.js
index 437c5e1..18bd432 100644
--- a/example/deps.js
+++ b/example/deps.js
@@ -1,5 +1,5 @@
 var mdeps = require('../');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 
 var md = mdeps();
 md.pipe(JSONStream.stringify()).pipe(process.stdout);
diff --git a/package.json b/package.json
index 3909249..625c51a 100644
--- a/package.json
+++ b/package.json
@@ -7,13 +7,13 @@
     "module-deps": "bin/cmd.js"
   },
   "dependencies": {
-    "JSONStream": "~0.10.0",
     "browser-resolve": "^1.7.0",
     "concat-stream": "~1.4.5",
     "defined": "^1.0.0",
     "detective": "^4.0.0",
     "duplexer2": "0.0.2",
     "inherits": "^2.0.1",
+    "jsonstream": "^1.0.3",
     "parents": "^1.0.0",
     "readable-stream": "^1.0.27-1",
     "resolve": "^1.1.3",
diff --git a/readme.markdown b/readme.markdown
index 7cd280e..995874c 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -9,7 +9,7 @@ walk the dependency graph to generate json output that can be fed into
 
 ``` js
 var mdeps = require('module-deps');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 
 var md = mdeps();
 md.pipe(JSONStream.stringify()).pipe(process.stdout);
diff --git a/test/bundle.js b/test/bundle.js
index 4866c2f..3a4aaf8 100644
--- a/test/bundle.js
+++ b/test/bundle.js
@@ -1,6 +1,6 @@
 var parser = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var path = require('path');
 
diff --git a/test/cycle.js b/test/cycle.js
index 32a2d60..cd1ec34 100644
--- a/test/cycle.js
+++ b/test/cycle.js
@@ -1,6 +1,6 @@
 var mdeps = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var concat = require('concat-stream');
 var path = require('path');
diff --git a/test/pkg_filter.js b/test/pkg_filter.js
index 497863b..fba9357 100644
--- a/test/pkg_filter.js
+++ b/test/pkg_filter.js
@@ -1,6 +1,6 @@
 var mdeps = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var concat = require('concat-stream');
 var path = require('path');
diff --git a/test/tr_2dep_module.js b/test/tr_2dep_module.js
index f14614d..a8c2c8e 100644
--- a/test/tr_2dep_module.js
+++ b/test/tr_2dep_module.js
@@ -1,6 +1,6 @@
 var mdeps = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var path = require('path');
 
diff --git a/test/tr_err.js b/test/tr_err.js
index c6dd15d..5adb782 100644
--- a/test/tr_err.js
+++ b/test/tr_err.js
@@ -1,6 +1,6 @@
 var mdeps = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var through = require('through');
 var path = require('path');
diff --git a/test/tr_fn.js b/test/tr_fn.js
index 68767f8..f704062 100644
--- a/test/tr_fn.js
+++ b/test/tr_fn.js
@@ -1,6 +1,6 @@
 var mdeps = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var through = require('through');
 var path = require('path');
diff --git a/test/tr_global.js b/test/tr_global.js
index eed1534..ea4da71 100644
--- a/test/tr_global.js
+++ b/test/tr_global.js
@@ -1,6 +1,6 @@
 var mdeps = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var concat = require('concat-stream');
 var path = require('path');
diff --git a/test/tr_module.js b/test/tr_module.js
index cc51004..c415a3b 100644
--- a/test/tr_module.js
+++ b/test/tr_module.js
@@ -1,6 +1,6 @@
 var mdeps = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var path = require('path');
 
diff --git a/test/tr_no_entry.js b/test/tr_no_entry.js
index 7fe48c9..14f48d0 100644
--- a/test/tr_no_entry.js
+++ b/test/tr_no_entry.js
@@ -1,6 +1,6 @@
 var mdeps = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var through = require('through');
 var concat = require('concat-stream');
diff --git a/test/tr_opts.js b/test/tr_opts.js
index 7f738e3..83c154c 100644
--- a/test/tr_opts.js
+++ b/test/tr_opts.js
@@ -1,6 +1,6 @@
 var mdeps = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var concat = require('concat-stream');
 var path = require('path');
diff --git a/test/tr_rel.js b/test/tr_rel.js
index 17947fa..5d2fc16 100644
--- a/test/tr_rel.js
+++ b/test/tr_rel.js
@@ -1,6 +1,6 @@
 var mdeps = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var path = require('path');
 
diff --git a/test/tr_sh.js b/test/tr_sh.js
index 341236f..8979880 100644
--- a/test/tr_sh.js
+++ b/test/tr_sh.js
@@ -1,6 +1,6 @@
 var mdeps = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var path = require('path');
 
diff --git a/test/tr_whole_package.js b/test/tr_whole_package.js
index 564b51e..6915705 100644
--- a/test/tr_whole_package.js
+++ b/test/tr_whole_package.js
@@ -1,6 +1,6 @@
 var mdeps = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var path = require('path');
 
diff --git a/test/tr_write.js b/test/tr_write.js
index c33ccb5..789930e 100644
--- a/test/tr_write.js
+++ b/test/tr_write.js
@@ -1,6 +1,6 @@
 var mdeps = require('../');
 var test = require('tape');
-var JSONStream = require('JSONStream');
+var JSONStream = require('jsonstream');
 var packer = require('browser-pack');
 var path = require('path');
 var concat = require('concat-stream');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-module-deps.git



More information about the Pkg-javascript-commits mailing list