NPM Dependencies UPDATE
This commit is contained in:
1 parent
20c29bb4d6
commit
a9bfe7a413
599 files changed
+12369
-51423
No files matched your search
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
A stream that emits multiple other streams one after another.
|
||||
|
||||
**NB** Currently `combined-stream` works with streams vesrion 1 only. There is ongoing effort to switch this library to streams version 2. Any help is welcome. :) Meanwhile you can explore other libraries that provide streams2 support with more or less compatability with `combined-stream`.
|
||||
**NB** Currently `combined-stream` works with streams version 1 only. There is ongoing effort to switch this library to streams version 2. Any help is welcome. :) Meanwhile you can explore other libraries that provide streams2 support with more or less compatibility with `combined-stream`.
|
||||
|
||||
- [combined-stream2](https://www.npmjs.com/package/combined-stream2): A drop-in streams2-compatible replacement for the combined-stream module.
|
||||
|
||||
|
||||
+2
-1
@@ -1,6 +1,7 @@
|
||||
var util = require('util');
|
||||
var Stream = require('stream').Stream;
|
||||
var DelayedStream = require('delayed-stream');
|
||||
var defer = require('./defer.js');
|
||||
|
||||
module.exports = CombinedStream;
|
||||
function CombinedStream() {
|
||||
@@ -88,7 +89,7 @@ CombinedStream.prototype._getNext = function() {
|
||||
this._handleErrors(stream);
|
||||
}
|
||||
|
||||
this._pipeNext(stream);
|
||||
defer(this._pipeNext.bind(this, stream));
|
||||
}.bind(this));
|
||||
};
|
||||
|
||||
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
module.exports = defer;
|
||||
|
||||
/**
|
||||
* Runs provided function on next iteration of the event loop
|
||||
*
|
||||
* @param {function} fn - function to run
|
||||
*/
|
||||
function defer(fn)
|
||||
{
|
||||
var nextTick = typeof setImmediate == 'function'
|
||||
? setImmediate
|
||||
: (
|
||||
typeof process == 'object' && typeof process.nextTick == 'function'
|
||||
? process.nextTick
|
||||
: null
|
||||
);
|
||||
|
||||
if (nextTick)
|
||||
{
|
||||
nextTick(fn);
|
||||
}
|
||||
else
|
||||
{
|
||||
setTimeout(fn, 0);
|
||||
}
|
||||
}
|
||||
+18
-53
@@ -1,88 +1,53 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"combined-stream@~1.0.5",
|
||||
"c:\\users\\luis\\source\\repos\\AACharly\\node_modules\\azure-storage\\node_modules\\request"
|
||||
]
|
||||
],
|
||||
"_from": "combined-stream@>=1.0.5-0 <1.1.0-0",
|
||||
"_id": "combined-stream@1.0.5",
|
||||
"_inCache": true,
|
||||
"_from": "combined-stream@~1.0.5",
|
||||
"_id": "combined-stream@1.0.6",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=",
|
||||
"_location": "/combined-stream",
|
||||
"_nodeVersion": "0.12.4",
|
||||
"_npmUser": {
|
||||
"email": "iam@alexindigo.com",
|
||||
"name": "alexindigo"
|
||||
},
|
||||
"_npmVersion": "2.10.1",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"name": "combined-stream",
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "combined-stream@~1.0.5",
|
||||
"name": "combined-stream",
|
||||
"escapedName": "combined-stream",
|
||||
"rawSpec": "~1.0.5",
|
||||
"scope": null,
|
||||
"spec": ">=1.0.5-0 <1.1.0-0",
|
||||
"type": "range"
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "~1.0.5"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/azure-storage/request",
|
||||
"/form-data",
|
||||
"/request",
|
||||
"/request/form-data"
|
||||
"/request"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz",
|
||||
"_shasum": "938370a57b4a51dea2c77c15d5c5fdf895164009",
|
||||
"_shrinkwrap": null,
|
||||
"_resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz",
|
||||
"_shasum": "723e7df6e801ac5613113a7e445a9b69cb632818",
|
||||
"_spec": "combined-stream@~1.0.5",
|
||||
"_where": "c:\\users\\luis\\source\\repos\\AACharly\\node_modules\\azure-storage\\node_modules\\request",
|
||||
"_where": "C:\\Users\\Luis\\source\\repos\\AACloud\\node_modules\\azure-storage\\node_modules\\request",
|
||||
"author": {
|
||||
"email": "felix@debuggable.com",
|
||||
"name": "Felix Geisendörfer",
|
||||
"email": "felix@debuggable.com",
|
||||
"url": "http://debuggable.com/"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/felixge/node-combined-stream/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"delayed-stream": "~1.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "A stream that emits multiple other streams one after another.",
|
||||
"devDependencies": {
|
||||
"far": "~0.0.7"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "938370a57b4a51dea2c77c15d5c5fdf895164009",
|
||||
"tarball": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
},
|
||||
"gitHead": "cfc7b815d090a109bcedb5bb0f6713148d55a6b7",
|
||||
"homepage": "https://github.com/felixge/node-combined-stream",
|
||||
"installable": true,
|
||||
"license": "MIT",
|
||||
"main": "./lib/combined_stream",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "felixge",
|
||||
"email": "felix@debuggable.com"
|
||||
},
|
||||
{
|
||||
"name": "celer",
|
||||
"email": "dtyree77@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "alexindigo",
|
||||
"email": "iam@alexindigo.com"
|
||||
},
|
||||
{
|
||||
"name": "apechimp",
|
||||
"email": "apeherder@gmail.com"
|
||||
}
|
||||
],
|
||||
"name": "combined-stream",
|
||||
"optionalDependencies": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/felixge/node-combined-stream.git"
|
||||
@@ -90,5 +55,5 @@
|
||||
"scripts": {
|
||||
"test": "node test/run.js"
|
||||
},
|
||||
"version": "1.0.5"
|
||||
"version": "1.0.6"
|
||||
}
|
||||
Reference in new issue
Block a user