Socket
Socket
Sign inDemoInstall

minipass

Package Overview
Dependencies
Maintainers
7
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minipass - npm Package Compare versions

Comparing version 7.0.1 to 7.0.2

2

dist/cjs/index.d.ts

@@ -498,3 +498,3 @@ /// <reference types="node" />

*/
concat(): Promise<string | Buffer>;
concat(): Promise<RType>;
/**

@@ -501,0 +501,0 @@ * Return a void Promise that resolves once the stream ends.

@@ -865,5 +865,5 @@ "use strict";

const buf = await this.collect();
return this[ENCODING]
return (this[ENCODING]
? buf.join('')
: Buffer.concat(buf, buf.dataLength);
: Buffer.concat(buf, buf.dataLength));
}

@@ -870,0 +870,0 @@ /**

@@ -498,3 +498,3 @@ /// <reference types="node" />

*/
concat(): Promise<string | Buffer>;
concat(): Promise<RType>;
/**

@@ -501,0 +501,0 @@ * Return a void Promise that resolves once the stream ends.

@@ -856,5 +856,5 @@ const proc = typeof process === 'object' && process

const buf = await this.collect();
return this[ENCODING]
return (this[ENCODING]
? buf.join('')
: Buffer.concat(buf, buf.dataLength);
: Buffer.concat(buf, buf.dataLength));
}

@@ -861,0 +861,0 @@ /**

{
"name": "minipass",
"version": "7.0.1",
"version": "7.0.2",
"description": "minimal implementation of a PassThrough stream",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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