Comparing version 4.0.1 to 4.0.2
'use strict' | ||
const DuplexStream = require('readable-stream').Duplex | ||
const util = require('util') | ||
const inherits = require('inherits') | ||
const BufferList = require('./BufferList') | ||
@@ -36,3 +36,3 @@ | ||
util.inherits(BufferListStream, DuplexStream) | ||
inherits(BufferListStream, DuplexStream) | ||
Object.assign(BufferListStream.prototype, BufferList.prototype) | ||
@@ -39,0 +39,0 @@ |
'use strict' | ||
const { Buffer } = require('buffer') | ||
const symbol = Symbol.for('BufferList') | ||
@@ -4,0 +5,0 @@ |
{ | ||
"name": "bl", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!", | ||
@@ -28,2 +28,4 @@ "main": "bl.js", | ||
"dependencies": { | ||
"buffer": "^5.5.0", | ||
"inherits": "^2.0.4", | ||
"readable-stream": "^3.4.0" | ||
@@ -30,0 +32,0 @@ }, |
@@ -5,3 +5,3 @@ 'use strict' | ||
const { BufferList, BufferListStream } = require('../') | ||
const { Buffer } = require('safe-buffer') | ||
const { Buffer } = require('buffer') | ||
@@ -8,0 +8,0 @@ tape('convert from BufferList to BufferListStream', (t) => { |
@@ -5,3 +5,3 @@ 'use strict' | ||
const BufferList = require('../') | ||
const Buffer = require('safe-buffer').Buffer | ||
const { Buffer } = require('buffer') | ||
@@ -8,0 +8,0 @@ tape('indexOf single byte needle', (t) => { |
@@ -5,3 +5,3 @@ 'use strict' | ||
const { BufferList, BufferListStream } = require('../') | ||
const { Buffer } = require('safe-buffer') | ||
const { Buffer } = require('buffer') | ||
@@ -8,0 +8,0 @@ tape('isBufferList positives', (t) => { |
@@ -8,3 +8,3 @@ 'use strict' | ||
const BufferList = require('../') | ||
const Buffer = require('safe-buffer').Buffer | ||
const { Buffer } = require('buffer') | ||
@@ -11,0 +11,0 @@ const encodings = |
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
62981
1461
3
+ Addedbuffer@^5.5.0
+ Addedinherits@^2.0.4
+ Addedbase64-js@1.5.1(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedieee754@1.2.1(transitive)