buffer-pipe
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -21,4 +21,4 @@ const Buffer = require('safe-buffer').Buffer | ||
this._bytesRead += num | ||
const data = this.buffer.subarray(0, num) | ||
this.buffer = this.buffer.subarray(num) | ||
const data = this.buffer.slice(0, num) | ||
this.buffer = this.buffer.slice(num) | ||
return data | ||
@@ -25,0 +25,0 @@ } |
{ | ||
"name": "buffer-pipe", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A simple pipe for buffers", | ||
@@ -18,9 +18,9 @@ "main": "index.js", | ||
"dependencies": { | ||
"safe-buffer": "^5.1.1" | ||
"safe-buffer": "^5.1.2" | ||
}, | ||
"devDependencies": { | ||
"coveralls": "^3.0.0", | ||
"nyc": "^11.4.1", | ||
"standard": "^10.0.0", | ||
"tape": "^4.0.3" | ||
"coveralls": "^3.0.1", | ||
"nyc": "^12.0.1", | ||
"standard": "^11.0.0", | ||
"tape": "^4.9.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76996
Updatedsafe-buffer@^5.1.2