minipass
Advanced tools
Comparing version 7.1.1 to 7.1.2
@@ -217,3 +217,3 @@ /// <reference types="node" /> | ||
*/ | ||
export type Options<T> = T extends string ? EncodingOptions | ObjectModeOptions : T extends Buffer ? BufferOptions | ObjectModeOptions : SharedOptions; | ||
export type Options<T> = ObjectModeOptions | (T extends string ? EncodingOptions : T extends Buffer ? BufferOptions : SharedOptions); | ||
export {}; | ||
@@ -266,3 +266,3 @@ } | ||
*/ | ||
constructor(...args: RType extends Buffer ? [] | [Minipass.Options<RType>] : [Minipass.Options<RType>]); | ||
constructor(...args: [Minipass.ObjectModeOptions] | (RType extends Buffer ? [] | [Minipass.Options<RType>] : [Minipass.Options<RType>])); | ||
/** | ||
@@ -269,0 +269,0 @@ * The amount of data stored in the buffer waiting to be read. |
@@ -1,1 +0,3 @@ | ||
{"type":"commonjs"} | ||
{ | ||
"type": "commonjs" | ||
} |
@@ -217,3 +217,3 @@ /// <reference types="node" resolution-mode="require"/> | ||
*/ | ||
export type Options<T> = T extends string ? EncodingOptions | ObjectModeOptions : T extends Buffer ? BufferOptions | ObjectModeOptions : SharedOptions; | ||
export type Options<T> = ObjectModeOptions | (T extends string ? EncodingOptions : T extends Buffer ? BufferOptions : SharedOptions); | ||
export {}; | ||
@@ -266,3 +266,3 @@ } | ||
*/ | ||
constructor(...args: RType extends Buffer ? [] | [Minipass.Options<RType>] : [Minipass.Options<RType>]); | ||
constructor(...args: [Minipass.ObjectModeOptions] | (RType extends Buffer ? [] | [Minipass.Options<RType>] : [Minipass.Options<RType>])); | ||
/** | ||
@@ -269,0 +269,0 @@ * The amount of data stored in the buffer waiting to be read. |
@@ -1,1 +0,3 @@ | ||
{"type":"module"} | ||
{ | ||
"type": "module" | ||
} |
{ | ||
"name": "minipass", | ||
"version": "7.1.1", | ||
"version": "7.1.2", | ||
"description": "minimal implementation of a PassThrough stream", | ||
@@ -9,2 +9,3 @@ "main": "./dist/commonjs/index.js", | ||
"tshy": { | ||
"selfLink": false, | ||
"main": true, | ||
@@ -61,7 +62,6 @@ "exports": { | ||
"prettier": "^2.6.2", | ||
"tap": "^18.3.0", | ||
"tap": "^19.0.0", | ||
"through2": "^2.0.3", | ||
"tshy": "^1.2.2", | ||
"typedoc": "^0.25.1", | ||
"typescript": "^5.2.2" | ||
"tshy": "^1.14.0", | ||
"typedoc": "^0.25.1" | ||
}, | ||
@@ -68,0 +68,0 @@ "repository": "https://github.com/isaacs/minipass", |
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
286202
9