Socket
Socket
Sign inDemoInstall

minipass

Package Overview
Dependencies
Maintainers
6
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 3.3.2 to 3.3.3

30

index.d.ts

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

type Encoding = BufferEncoding | 'buffer' | null
export type Encoding = BufferEncoding | 'buffer' | null

@@ -22,3 +22,3 @@ interface Writable extends EventEmitter {

dest: Writable
opts: Minipass.PipeOptions
opts: PipeOptions
}

@@ -81,4 +81,4 @@

...args: RType extends Buffer
? [options?: Minipass.Options<RType>]
: [options: Minipass.Options<RType>]
? [options?: Options<RType>]
: [options: Options<RType>]
)

@@ -99,3 +99,3 @@

destroy(er?: any): void
pipe<W extends Writable>(dest: W, opts?: Minipass.PipeOptions): W
pipe<W extends Writable>(dest: W, opts?: PipeOptions): W
unpipe<W extends Writable>(dest: W): void

@@ -144,13 +144,11 @@

declare namespace Minipass {
interface PipeOptions {
end?: boolean
proxyErrors?: boolean
}
export declare interface PipeOptions {
end?: boolean
proxyErrors?: boolean
}
type Options<T> = T extends string
? StringOptions
: T extends Buffer
? BufferOptions
: ObjectModeOptions
}
export declare type Options<T> = T extends string
? StringOptions
: T extends Buffer
? BufferOptions
: ObjectModeOptions
{
"name": "minipass",
"version": "3.3.2",
"version": "3.3.3",
"description": "minimal implementation of a PassThrough stream",

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

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