Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bl

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bl - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

test/basic-test.js

16

bl.js

@@ -1,3 +0,3 @@

const DuplexStream = require('stream').DuplexStream || require('readable-stream/duplex')
, util = require('util')
var DuplexStream = require('readable-stream').Duplex
, util = require('util')

@@ -198,9 +198,11 @@ function BufferList (callback) {

Object.keys(methods).forEach(function (m) {
BufferList.prototype[m] = function (offset) {
return this.slice(offset, offset + methods[m])[m](0)
}
})
for (var m in methods) {
(function (m) {
BufferList.prototype[m] = function (offset) {
return this.slice(offset, offset + methods[m])[m](0)
}
}(m))
}
}())
module.exports = BufferList
{
"name": "bl",
"version": "0.6.0",
"version": "0.7.0",
"description": "Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!",
"main": "bl.js",
"scripts": {
"test": "tape test.js"
"test": "node test/test.js | faucet",
"test-local": "brtapsauce-local test/basic-test.js"
},

@@ -28,6 +29,15 @@ "repository": {

},
"peerDependencies": {
"stream-browserify": "*"
},
"devDependencies": {
"tape": "*",
"hash_file": "*"
"tape": "~2.3.2",
"hash_file": "~0.1.1",
"brtapsauce": "~0.3.0",
"faucet": "0.0.0",
"stream-browserify": "~0.1.2"
},
"browser": {
"readable-stream": "stream-browserify"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc