Blame SOURCES/nodejs-concat-stream-1.4.4-Use-stream-from-Node.js-core.patch
|
|
9795f4 |
From fecccf01809dff7ff0674e6d0ae1124183f19b3c Mon Sep 17 00:00:00 2001
|
|
|
9795f4 |
From: Jamie Nguyen <j@jamielinux.com>
|
|
|
9795f4 |
Date: Thu, 13 Mar 2014 16:15:30 +0000
|
|
|
9795f4 |
Subject: [PATCH] Use 'stream' from Node.js core
|
|
|
9795f4 |
|
|
|
9795f4 |
---
|
|
|
9795f4 |
index.js | 2 +-
|
|
|
9795f4 |
package.json | 3 +--
|
|
|
9795f4 |
2 files changed, 2 insertions(+), 3 deletions(-)
|
|
|
9795f4 |
|
|
|
9795f4 |
diff --git a/index.js b/index.js
|
|
|
9795f4 |
index fce2ba9..f9da8d2 100644
|
|
|
9795f4 |
--- a/index.js
|
|
|
9795f4 |
+++ b/index.js
|
|
|
9795f4 |
@@ -1,4 +1,4 @@
|
|
|
9795f4 |
-var Writable = require('readable-stream').Writable
|
|
|
9795f4 |
+var Writable = require('stream').Writable
|
|
|
9795f4 |
var inherits = require('inherits')
|
|
|
9795f4 |
var TA = require('typedarray')
|
|
|
9795f4 |
var U8 = typeof Uint8Array !== 'undefined' ? Uint8Array : TA.Uint8Array
|
|
|
9795f4 |
diff --git a/package.json b/package.json
|
|
|
9795f4 |
index 7b5690c..f84ce76 100644
|
|
|
9795f4 |
--- a/package.json
|
|
|
9795f4 |
+++ b/package.json
|
|
|
9795f4 |
@@ -26,8 +26,7 @@
|
|
|
9795f4 |
"license": "MIT",
|
|
|
9795f4 |
"dependencies": {
|
|
|
9795f4 |
"inherits": "~2.0.1",
|
|
|
9795f4 |
- "typedarray": "~0.0.5",
|
|
|
9795f4 |
- "readable-stream": "~1.1.9"
|
|
|
9795f4 |
+ "typedarray": "~0.0.5"
|
|
|
9795f4 |
},
|
|
|
9795f4 |
"devDependencies": {
|
|
|
9795f4 |
"tape": "~2.3.2"
|
|
|
9795f4 |
--
|
|
|
9795f4 |
1.8.5.3
|
|
|
9795f4 |
|