Updated the project.

This commit is contained in:
Batuhan Berk Başoğlu 2024-06-03 15:44:25 -04:00
parent 5dfe9f128d
commit 7919556077
1550 changed files with 17063 additions and 40183 deletions

0
my-app/node_modules/minipass/LICENSE generated vendored Executable file → Normal file
View file

0
my-app/node_modules/minipass/README.md generated vendored Executable file → Normal file
View file

8
my-app/node_modules/minipass/dist/commonjs/index.d.ts generated vendored Executable file → Normal file
View file

@ -2,8 +2,8 @@
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import { EventEmitter } from 'events';
import { StringDecoder } from 'string_decoder';
import { EventEmitter } from 'node:events';
import { StringDecoder } from 'node:string_decoder';
/**
* Same as StringDecoder, but exposing the `lastNeed` flag on the type
*/
@ -214,7 +214,7 @@ export declare namespace Minipass {
/**
* Utility type to determine allowed options based on read type
*/
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 {};
}
/**
@ -262,7 +262,7 @@ export declare class Minipass<RType extends unknown = Buffer, WType extends unkn
* {@link Minipass.SharedOptions.objectMode} or
* {@link Minipass.SharedOptions.encoding}, as appropriate.
*/
constructor(...args: RType extends Buffer ? [] | [Minipass.Options<RType>] : [Minipass.Options<RType>]);
constructor(...args: [Minipass.ObjectModeOptions] | (RType extends Buffer ? [] | [Minipass.Options<RType>] : [Minipass.Options<RType>]));
/**
* The amount of data stored in the buffer waiting to be read.
*

2
my-app/node_modules/minipass/dist/commonjs/index.d.ts.map generated vendored Executable file → Normal file

File diff suppressed because one or more lines are too long

18
my-app/node_modules/minipass/dist/commonjs/index.js generated vendored Executable file → Normal file
View file

@ -10,9 +10,9 @@ const proc = typeof process === 'object' && process
stdout: null,
stderr: null,
};
const events_1 = require("events");
const stream_1 = __importDefault(require("stream"));
const string_decoder_1 = require("string_decoder");
const node_events_1 = require("node:events");
const node_stream_1 = __importDefault(require("node:stream"));
const node_string_decoder_1 = require("node:string_decoder");
/**
* Return true if the argument is a Minipass stream, Node stream, or something
* else that Minipass can interact with.
@ -20,7 +20,7 @@ const string_decoder_1 = require("string_decoder");
const isStream = (s) => !!s &&
typeof s === 'object' &&
(s instanceof Minipass ||
s instanceof stream_1.default ||
s instanceof node_stream_1.default ||
(0, exports.isReadable)(s) ||
(0, exports.isWritable)(s));
exports.isStream = isStream;
@ -29,17 +29,17 @@ exports.isStream = isStream;
*/
const isReadable = (s) => !!s &&
typeof s === 'object' &&
s instanceof events_1.EventEmitter &&
s instanceof node_events_1.EventEmitter &&
typeof s.pipe === 'function' &&
// node core Writable streams have a pipe() method, but it throws
s.pipe !== stream_1.default.Writable.prototype.pipe;
s.pipe !== node_stream_1.default.Writable.prototype.pipe;
exports.isReadable = isReadable;
/**
* Return true if the argument is a valid {@link Minipass.Writable}
*/
const isWritable = (s) => !!s &&
typeof s === 'object' &&
s instanceof events_1.EventEmitter &&
s instanceof node_events_1.EventEmitter &&
typeof s.write === 'function' &&
typeof s.end === 'function';
exports.isWritable = isWritable;
@ -146,7 +146,7 @@ const isEncodingOptions = (o) => !o.objectMode && !!o.encoding && o.encoding !==
* `Events` is the set of event handler signatures that this object
* will emit, see {@link Minipass.Events}
*/
class Minipass extends events_1.EventEmitter {
class Minipass extends node_events_1.EventEmitter {
[FLOWING] = false;
[PAUSED] = false;
[PIPES] = [];
@ -201,7 +201,7 @@ class Minipass extends events_1.EventEmitter {
}
this[ASYNC] = !!options.async;
this[DECODER] = this[ENCODING]
? new string_decoder_1.StringDecoder(this[ENCODING])
? new node_string_decoder_1.StringDecoder(this[ENCODING])
: null;
//@ts-ignore - private option for debugging and testing
if (options && options.debugExposeBuffer === true) {

2
my-app/node_modules/minipass/dist/commonjs/index.js.map generated vendored Executable file → Normal file

File diff suppressed because one or more lines are too long

4
my-app/node_modules/minipass/dist/commonjs/package.json generated vendored Executable file → Normal file
View file

@ -1 +1,3 @@
{"type":"commonjs"}
{
"type": "commonjs"
}

8
my-app/node_modules/minipass/dist/esm/index.d.ts generated vendored Executable file → Normal file
View file

@ -2,8 +2,8 @@
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import { EventEmitter } from 'events';
import { StringDecoder } from 'string_decoder';
import { EventEmitter } from 'node:events';
import { StringDecoder } from 'node:string_decoder';
/**
* Same as StringDecoder, but exposing the `lastNeed` flag on the type
*/
@ -214,7 +214,7 @@ export declare namespace Minipass {
/**
* Utility type to determine allowed options based on read type
*/
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 {};
}
/**
@ -262,7 +262,7 @@ export declare class Minipass<RType extends unknown = Buffer, WType extends unkn
* {@link Minipass.SharedOptions.objectMode} or
* {@link Minipass.SharedOptions.encoding}, as appropriate.
*/
constructor(...args: RType extends Buffer ? [] | [Minipass.Options<RType>] : [Minipass.Options<RType>]);
constructor(...args: [Minipass.ObjectModeOptions] | (RType extends Buffer ? [] | [Minipass.Options<RType>] : [Minipass.Options<RType>]));
/**
* The amount of data stored in the buffer waiting to be read.
*

2
my-app/node_modules/minipass/dist/esm/index.d.ts.map generated vendored Executable file → Normal file

File diff suppressed because one or more lines are too long

6
my-app/node_modules/minipass/dist/esm/index.js generated vendored Executable file → Normal file
View file

@ -4,9 +4,9 @@ const proc = typeof process === 'object' && process
stdout: null,
stderr: null,
};
import { EventEmitter } from 'events';
import Stream from 'stream';
import { StringDecoder } from 'string_decoder';
import { EventEmitter } from 'node:events';
import Stream from 'node:stream';
import { StringDecoder } from 'node:string_decoder';
/**
* Return true if the argument is a Minipass stream, Node stream, or something
* else that Minipass can interact with.

2
my-app/node_modules/minipass/dist/esm/index.js.map generated vendored Executable file → Normal file

File diff suppressed because one or more lines are too long

4
my-app/node_modules/minipass/dist/esm/package.json generated vendored Executable file → Normal file
View file

@ -1 +1,3 @@
{"type":"module"}
{
"type": "module"
}

12
my-app/node_modules/minipass/package.json generated vendored Executable file → Normal file
View file

@ -1,11 +1,12 @@
{
"name": "minipass",
"version": "7.0.4",
"version": "7.1.2",
"description": "minimal implementation of a PassThrough stream",
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"type": "module",
"tshy": {
"selfLink": false,
"main": true,
"exports": {
"./package.json": "./package.json",
@ -57,12 +58,10 @@
"end-of-stream": "^1.4.0",
"node-abort-controller": "^3.1.1",
"prettier": "^2.6.2",
"sync-content": "^1.0.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"
},
"repository": "https://github.com/isaacs/minipass",
"keywords": [
@ -75,6 +74,7 @@
"node": ">=16 || 14 >=14.17"
},
"tap": {
"typecheck": true,
"include": [
"test/*.ts"
]