@takeshape/streams 11.99.2 → 11.102.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/streams.d.ts +1 -1
- package/package.json +4 -4
package/dist/streams.d.ts
CHANGED
|
@@ -25,5 +25,5 @@ export declare function createAsyncWritable(write: (data: any) => Promise<void>,
|
|
|
25
25
|
export declare function tee(...args: NodeJS.WritableStream[] | [NodeJS.WritableStream[]]): Writable;
|
|
26
26
|
export declare function readableFromArray(array: any[], options?: Partial<ReadableOptions>): Readable;
|
|
27
27
|
export declare function collectStreamIntoArray(array?: any[], options?: Partial<WritableOptions>): Writable;
|
|
28
|
-
export declare function readStreamToBuffer(stream: NodeJS.ReadableStream): Promise<Buffer
|
|
28
|
+
export declare function readStreamToBuffer(stream: NodeJS.ReadableStream): Promise<Buffer<ArrayBuffer>>;
|
|
29
29
|
export declare function batch(size: number): Transform;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takeshape/streams",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.102.0",
|
|
4
4
|
"description": "Stream helpers",
|
|
5
5
|
"homepage": "https://www.takeshape.io",
|
|
6
6
|
"repository": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"p-queue": "^8.1.0"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
|
-
"node": ">=
|
|
31
|
+
"node": ">=22"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "tsc --project tsconfig.build.json",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"build:ci": "pnpm build --noCheck",
|
|
37
37
|
"clean": "del-cli dist *.tsbuildinfo",
|
|
38
38
|
"lint": "trap 'RC=1' ERR; pnpm lint:biome; pnpm lint:eslint; exit $RC",
|
|
39
|
-
"lint:biome": "biome check",
|
|
39
|
+
"lint:biome": "biome check ./",
|
|
40
40
|
"lint:eslint": "eslint src -c ../../eslint.config.mjs",
|
|
41
|
-
"lint:ci:biome": "mkdir -p \"${GITHUB_WORKSPACE}/test-results/${npm_package_name#*\\/}\" && biome check --diagnostic-level error --reporter=junit > \"${GITHUB_WORKSPACE}/test-results/${npm_package_name#*\\/}/biome-results.xml\"",
|
|
41
|
+
"lint:ci:biome": "mkdir -p \"${GITHUB_WORKSPACE}/test-results/${npm_package_name#*\\/}\" && biome check ./ --diagnostic-level error --reporter=junit > \"${GITHUB_WORKSPACE}/test-results/${npm_package_name#*\\/}/biome-results.xml\"",
|
|
42
42
|
"lint:ci:eslint": "ESLINT_SUITE_NAME=${npm_package_name} ESLINT_JUNIT_OUTPUT=\"${GITHUB_WORKSPACE}/test-results/${npm_package_name#*\\/}/eslint-results.xml\" pnpm lint:eslint --quiet --format ../../node_modules/eslint-junit/index.js",
|
|
43
43
|
"test": "TZ=UTC vitest run",
|
|
44
44
|
"test-changed": "pnpm run test --changedSince=master",
|