@aws-sdk/chunked-stream-reader-node 3.972.1 → 3.972.3

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.
@@ -1,4 +1,4 @@
1
- import { Readable } from "stream";
1
+ import { Readable } from "node:stream";
2
2
  export class ReadFromBuffers extends Readable {
3
3
  buffersToRead;
4
4
  numBuffersRead = 0;
@@ -1,4 +1,4 @@
1
- import { Readable } from "stream";
1
+ import type { Readable } from "node:stream";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,5 @@
1
- import { Readable, ReadableOptions } from "stream";
1
+ import type { ReadableOptions } from "node:stream";
2
+ import { Readable } from "node:stream";
2
3
  /**
3
4
  * @internal
4
5
  */
@@ -1,4 +1,4 @@
1
- import { Readable } from "stream";
1
+ import { Readable } from "node:stream";
2
2
  export declare function streamReader(
3
3
  stream: Readable,
4
4
  onChunk: (chunk: Uint8Array) => void,
@@ -1,4 +1,5 @@
1
- import { Readable, ReadableOptions } from "stream";
1
+ import { ReadableOptions } from "node:stream";
2
+ import { Readable } from "node:stream";
2
3
  export interface ReadFromBuffersOptions extends ReadableOptions {
3
4
  buffers: Buffer[];
4
5
  errorAfter?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/chunked-stream-reader-node",
3
- "version": "3.972.1",
3
+ "version": "3.972.3",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline chunked-stream-reader-node",
@@ -45,10 +45,10 @@
45
45
  "files": [
46
46
  "dist-*/**"
47
47
  ],
48
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/chunked-stream-reader-node",
48
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/chunked-stream-reader-node",
49
49
  "repository": {
50
50
  "type": "git",
51
51
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
52
- "directory": "packages/chunked-stream-reader-node"
52
+ "directory": "packages-internal/chunked-stream-reader-node"
53
53
  }
54
54
  }