New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bare-stream

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-stream - npm Package Compare versions

Comparing version 2.6.1 to 2.6.2

index.d.ts

48

index.js

@@ -20,3 +20,9 @@ const stream = require('streamx')

constructor(opts = {}) {
super(opts)
super({
...opts,
byteLength: null,
byteLengthReadable: null,
map: null,
mapReadable: null
})

@@ -53,3 +59,9 @@ if (this._construct) this._open = this._construct

constructor(opts = {}) {
super({ ...opts, byteLengthWritable })
super({
...opts,
byteLength: null,
byteLengthWritable,
map: null,
mapWritable: null
})

@@ -82,3 +94,3 @@ if (this._construct) this._open = this._construct

if (cb) stream.Writable.drained(this).then(cb, cb)
if (cb) stream.Writable.drained(this).then(() => cb(null), cb)

@@ -109,3 +121,3 @@ return result

if (cb) this.once('end', cb)
if (cb) this.once('end', () => cb(null))

@@ -118,3 +130,11 @@ return result

constructor(opts = {}) {
super({ ...opts, byteLengthWritable })
super({
...opts,
byteLength: null,
byteLengthReadable: null,
byteLengthWritable,
map: null,
mapReadable: null,
mapWritable: null
})

@@ -167,3 +187,3 @@ if (this._construct) this._open = this._construct

if (cb) stream.Writable.drained(this).then(cb, cb)
if (cb) stream.Writable.drained(this).then(() => cb(null), cb)

@@ -194,3 +214,3 @@ return result

if (cb) this.once('end', cb)
if (cb) this.once('end', () => cb(null))

@@ -203,3 +223,11 @@ return result

constructor(opts = {}) {
super({ ...opts, byteLengthWritable })
super({
...opts,
byteLength: null,
byteLengthReadable: null,
byteLengthWritable,
map: null,
mapReadable: null,
mapWritable: null
})

@@ -244,3 +272,3 @@ if (this._transform !== stream.Transform.prototype._transform) {

if (cb) stream.Writable.drained(this).then(cb, cb)
if (cb) stream.Writable.drained(this).then(() => cb(null), cb)

@@ -271,3 +299,3 @@ return result

if (cb) this.once('end', cb)
if (cb) this.once('end', () => cb(null))

@@ -274,0 +302,0 @@ return result

{
"name": "bare-stream",
"version": "2.6.1",
"version": "2.6.2",
"description": "Streaming data for JavaScript",
"exports": {
".": "./index.js",
".": {
"types": "./index.d.ts",
"default": "./index.js"
},
"./package": "./package.json",

@@ -14,2 +17,3 @@ "./promises": "./promises.js",

"index.js",
"index.d.ts",
"promises.js",

@@ -20,3 +24,3 @@ "web.js",

"scripts": {
"test": "prettier . --check && bare test/all.js"
"test": "prettier . --check && bare test.js"
},

@@ -37,6 +41,12 @@ "repository": {

"devDependencies": {
"bare-buffer": "^3.0.0",
"bare-events": "^2.5.4",
"brittle": "^3.5.2",
"prettier": "^3.3.3",
"prettier-config-standard": "^7.0.0"
},
"peerDependencies": {
"bare-buffer": "*",
"bare-events": "*"
}
}
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