@smithy/util-stream
Advanced tools
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.createChecksumStream = void 0; | ||
| exports.createChecksumStream = createChecksumStream; | ||
| const stream_type_check_1 = require("../stream-type-check"); | ||
@@ -13,2 +13,1 @@ const ChecksumStream_1 = require("./ChecksumStream"); | ||
| } | ||
| exports.createChecksumStream = createChecksumStream; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.createBufferedReadable = void 0; | ||
| exports.createBufferedReadable = createBufferedReadable; | ||
| const node_stream_1 = require("node:stream"); | ||
@@ -61,2 +61,1 @@ const ByteArrayCollector_1 = require("./ByteArrayCollector"); | ||
| } | ||
| exports.createBufferedReadable = createBufferedReadable; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.modeOf = exports.sizeOf = exports.flush = exports.merge = exports.createBufferedReadable = exports.createBufferedReadableStream = void 0; | ||
| exports.createBufferedReadable = void 0; | ||
| exports.createBufferedReadableStream = createBufferedReadableStream; | ||
| exports.merge = merge; | ||
| exports.flush = flush; | ||
| exports.sizeOf = sizeOf; | ||
| exports.modeOf = modeOf; | ||
| const ByteArrayCollector_1 = require("./ByteArrayCollector"); | ||
@@ -60,3 +65,2 @@ function createBufferedReadableStream(upstream, size, logger) { | ||
| } | ||
| exports.createBufferedReadableStream = createBufferedReadableStream; | ||
| exports.createBufferedReadable = createBufferedReadableStream; | ||
@@ -74,3 +78,2 @@ function merge(buffers, mode, chunk) { | ||
| } | ||
| exports.merge = merge; | ||
| function flush(buffers, mode) { | ||
@@ -88,3 +91,2 @@ switch (mode) { | ||
| } | ||
| exports.flush = flush; | ||
| function sizeOf(chunk) { | ||
@@ -94,3 +96,2 @@ var _a, _b; | ||
| } | ||
| exports.sizeOf = sizeOf; | ||
| function modeOf(chunk, allowBuffer = true) { | ||
@@ -108,2 +109,1 @@ if (allowBuffer && typeof Buffer !== "undefined" && chunk instanceof Buffer) { | ||
| } | ||
| exports.modeOf = modeOf; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.headStream = void 0; | ||
| exports.headStream = headStream; | ||
| async function headStream(stream, bytes) { | ||
@@ -36,2 +36,1 @@ var _a; | ||
| } | ||
| exports.headStream = headStream; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.splitStream = void 0; | ||
| exports.splitStream = splitStream; | ||
| async function splitStream(stream) { | ||
@@ -11,2 +11,1 @@ if (typeof stream.stream === "function") { | ||
| } | ||
| exports.splitStream = splitStream; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.splitStream = void 0; | ||
| exports.splitStream = splitStream; | ||
| const stream_1 = require("stream"); | ||
@@ -17,2 +17,1 @@ const splitStream_browser_1 = require("./splitStream.browser"); | ||
| } | ||
| exports.splitStream = splitStream; |
@@ -11,4 +11,4 @@ /** | ||
| push(byteArray: Uint8Array): void; | ||
| flush(): Uint8Array; | ||
| flush(): Uint8Array<ArrayBufferLike>; | ||
| private reset; | ||
| } |
@@ -1,4 +0,1 @@ | ||
| /// <reference types="node" /> | ||
| /// <reference types="node" /> | ||
| /// <reference types="node" /> | ||
| import { Checksum, Encoder } from "@smithy/types"; | ||
@@ -5,0 +2,0 @@ import { Duplex, Readable } from "stream"; |
@@ -1,2 +0,1 @@ | ||
| /// <reference types="node" /> | ||
| import { Readable } from "stream"; | ||
@@ -3,0 +2,0 @@ import { ChecksumStreamInit } from "./ChecksumStream"; |
@@ -1,2 +0,1 @@ | ||
| /// <reference types="node" /> | ||
| import type { Logger } from "@smithy/types"; | ||
@@ -3,0 +2,0 @@ import { Readable } from "node:stream"; |
@@ -1,2 +0,1 @@ | ||
| /// <reference types="node" /> | ||
| import { GetAwsChunkedEncodingStream } from "@smithy/types"; | ||
@@ -3,0 +2,0 @@ import { Readable } from "stream"; |
@@ -1,2 +0,1 @@ | ||
| /// <reference types="node" /> | ||
| import type { Readable } from "stream"; | ||
@@ -3,0 +2,0 @@ /** |
@@ -11,4 +11,4 @@ /** | ||
| push(byteArray: Uint8Array): void; | ||
| flush(): Uint8Array; | ||
| flush(): Uint8Array<ArrayBufferLike>; | ||
| private reset; | ||
| } |
@@ -1,2 +0,1 @@ | ||
| /// <reference types="node" /> | ||
| import { Checksum, Encoder } from "@smithy/types"; | ||
@@ -3,0 +2,0 @@ import { Duplex, Readable } from "stream"; |
@@ -1,2 +0,1 @@ | ||
| /// <reference types="node" /> | ||
| import { Readable } from "stream"; | ||
@@ -3,0 +2,0 @@ import { ChecksumStreamInit } from "./ChecksumStream"; |
@@ -1,2 +0,1 @@ | ||
| /// <reference types="node" /> | ||
| import { Logger } from "@smithy/types"; | ||
@@ -3,0 +2,0 @@ import { Readable } from "node:stream"; |
@@ -1,2 +0,1 @@ | ||
| /// <reference types="node" /> | ||
| import { GetAwsChunkedEncodingStream } from "@smithy/types"; | ||
@@ -3,0 +2,0 @@ import { Readable } from "stream"; |
@@ -1,2 +0,1 @@ | ||
| /// <reference types="node" /> | ||
| import { Readable } from "stream"; | ||
@@ -3,0 +2,0 @@ /** |
+4
-4
| { | ||
| "name": "@smithy/util-stream", | ||
| "version": "4.2.0", | ||
| "version": "4.2.1", | ||
| "scripts": { | ||
@@ -31,5 +31,5 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", | ||
| "dependencies": { | ||
| "@smithy/fetch-http-handler": "^5.0.2", | ||
| "@smithy/node-http-handler": "^4.0.4", | ||
| "@smithy/types": "^4.2.0", | ||
| "@smithy/fetch-http-handler": "^5.0.3", | ||
| "@smithy/node-http-handler": "^4.0.5", | ||
| "@smithy/types": "^4.3.0", | ||
| "@smithy/util-base64": "^4.0.0", | ||
@@ -36,0 +36,0 @@ "@smithy/util-buffer-from": "^4.0.0", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
88409
-0.69%1919
-0.88%