aboutsummaryrefslogtreecommitdiff
path: root/node_modules/readable-stream
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-24 15:10:37 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-24 15:11:17 +0200
commit7a3df06eb573d36142bd1a8e03c5ce8752d300b3 (patch)
tree70bfaea8884c374876f607774850a3a51c0cb381 /node_modules/readable-stream
parentaca1143cb9eed16cf37f04e475e4257418dd18ac (diff)
downloadwallet-core-7a3df06eb573d36142bd1a8e03c5ce8752d300b3.tar.xz
fix build issues and add typedoc
Diffstat (limited to 'node_modules/readable-stream')
-rw-r--r--node_modules/readable-stream/node_modules/string_decoder/README.md2
-rw-r--r--node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js5
-rw-r--r--node_modules/readable-stream/node_modules/string_decoder/package.json4
3 files changed, 4 insertions, 7 deletions
diff --git a/node_modules/readable-stream/node_modules/string_decoder/README.md b/node_modules/readable-stream/node_modules/string_decoder/README.md
index 13d827d89..dc3a2d216 100644
--- a/node_modules/readable-stream/node_modules/string_decoder/README.md
+++ b/node_modules/readable-stream/node_modules/string_decoder/README.md
@@ -7,8 +7,6 @@
[![NPM](https://nodei.co/npm-dl/string_decoder.png?&months=6&height=3)](https://nodei.co/npm/string_decoder/)
-[![Sauce Test Status](https://saucelabs.com/browser-matrix/string_decoder.svg)](https://saucelabs.com/u/string_decoder)
-
```bash
npm install --save string_decoder
```
diff --git a/node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js b/node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js
index 696d7ab61..26fb94c34 100644
--- a/node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js
+++ b/node_modules/readable-stream/node_modules/string_decoder/lib/string_decoder.js
@@ -1,7 +1,6 @@
'use strict';
-var Buffer = require('buffer').Buffer;
-var bufferShim = require('buffer-shims');
+var Buffer = require('safe-buffer').Buffer;
var isEncoding = Buffer.isEncoding || function (encoding) {
encoding = '' + encoding;
@@ -78,7 +77,7 @@ function StringDecoder(encoding) {
}
this.lastNeed = 0;
this.lastTotal = 0;
- this.lastChar = bufferShim.allocUnsafe(nb);
+ this.lastChar = Buffer.allocUnsafe(nb);
}
StringDecoder.prototype.write = function (buf) {
diff --git a/node_modules/readable-stream/node_modules/string_decoder/package.json b/node_modules/readable-stream/node_modules/string_decoder/package.json
index 05ded2068..8978c6fe8 100644
--- a/node_modules/readable-stream/node_modules/string_decoder/package.json
+++ b/node_modules/readable-stream/node_modules/string_decoder/package.json
@@ -1,10 +1,10 @@
{
"name": "string_decoder",
- "version": "1.0.0",
+ "version": "1.0.1",
"description": "The string_decoder module from Node core",
"main": "lib/string_decoder.js",
"dependencies": {
- "buffer-shims": "~1.0.0"
+ "safe-buffer": "^5.0.1"
},
"devDependencies": {
"babel-polyfill": "^6.23.0",