@cdk8s/awscdk-resolver 0.0.131 → 0.0.133
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/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +20 -20
- package/node_modules/@aws-sdk/client-sso/package.json +17 -17
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +21 -21
- package/node_modules/@aws-sdk/client-sts/package.json +19 -19
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/core/package.json +4 -4
- package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +30 -8
- package/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +13 -8
- package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +31 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +31 -1
- package/node_modules/@smithy/protocol-http/package.json +1 -1
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +36 -0
- package/node_modules/@smithy/util-stream/dist-cjs/headStream.js +46 -0
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +7 -1
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +3 -3
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +11 -0
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +17 -0
- package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +9 -0
- package/node_modules/@smithy/util-stream/dist-es/headStream.browser.js +31 -0
- package/node_modules/@smithy/util-stream/dist-es/headStream.js +41 -0
- package/node_modules/@smithy/util-stream/dist-es/index.js +3 -0
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.browser.js +3 -3
- package/node_modules/@smithy/util-stream/dist-es/splitStream.browser.js +7 -0
- package/node_modules/@smithy/util-stream/dist-es/splitStream.js +13 -0
- package/node_modules/@smithy/util-stream/dist-es/stream-type-check.js +2 -0
- package/node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts +8 -0
- package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +9 -0
- package/node_modules/@smithy/util-stream/dist-types/index.d.ts +3 -0
- package/node_modules/@smithy/util-stream/dist-types/splitStream.browser.d.ts +5 -0
- package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +8 -0
- package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +4 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +8 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +9 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts +8 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +14 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +4 -0
- package/node_modules/@smithy/util-stream/package.json +12 -6
- package/package.json +6 -6
@@ -0,0 +1,9 @@
|
|
1
|
+
import { Readable } from "stream";
|
2
|
+
/**
|
3
|
+
* @internal
|
4
|
+
* @param stream
|
5
|
+
* @param bytes - read head bytes from the stream and discard the rest of it.
|
6
|
+
*
|
7
|
+
* Caution: the input stream must be destroyed separately, this function does not do so.
|
8
|
+
*/
|
9
|
+
export declare const headStream: (stream: Readable | ReadableStream, bytes: number) => Promise<Uint8Array>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
import type { Readable } from "stream";
|
3
|
+
/**
|
4
|
+
* @param stream
|
5
|
+
* @returns stream split into two identical streams.
|
6
|
+
*/
|
7
|
+
export declare function splitStream(stream: Readable): Promise<[Readable, Readable]>;
|
8
|
+
export declare function splitStream(stream: ReadableStream): Promise<[ReadableStream, ReadableStream]>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/**
|
2
|
+
* @internal
|
3
|
+
* @param stream
|
4
|
+
* @param bytes - read head bytes from the stream and discard the rest of it.
|
5
|
+
*
|
6
|
+
* Caution: the input stream must be destroyed separately, this function does not do so.
|
7
|
+
*/
|
8
|
+
export declare function headStream(stream: ReadableStream, bytes: number): Promise<Uint8Array>;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { Readable } from "stream";
|
2
|
+
/**
|
3
|
+
* @internal
|
4
|
+
* @param stream
|
5
|
+
* @param bytes - read head bytes from the stream and discard the rest of it.
|
6
|
+
*
|
7
|
+
* Caution: the input stream must be destroyed separately, this function does not do so.
|
8
|
+
*/
|
9
|
+
export declare const headStream: (stream: Readable | ReadableStream, bytes: number) => Promise<Uint8Array>;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
import { Readable } from "stream";
|
3
|
+
/**
|
4
|
+
* @param stream
|
5
|
+
* @returns stream split into two identical streams.
|
6
|
+
*/
|
7
|
+
export declare function splitStream(stream: Readable): Promise<[
|
8
|
+
Readable,
|
9
|
+
Readable
|
10
|
+
]>;
|
11
|
+
export declare function splitStream(stream: ReadableStream): Promise<[
|
12
|
+
ReadableStream,
|
13
|
+
ReadableStream
|
14
|
+
]>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-stream",
|
3
|
-
"version": "3.0
|
3
|
+
"version": "3.1.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline util-stream",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/fetch-http-handler": "^3.2.
|
28
|
-
"@smithy/node-http-handler": "^3.1.
|
27
|
+
"@smithy/fetch-http-handler": "^3.2.2",
|
28
|
+
"@smithy/node-http-handler": "^3.1.3",
|
29
29
|
"@smithy/types": "^3.3.0",
|
30
30
|
"@smithy/util-base64": "^3.0.0",
|
31
31
|
"@smithy/util-buffer-from": "^3.0.0",
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"tslib": "^2.6.2"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
|
-
"@smithy/util-test": "^0.2.
|
37
|
+
"@smithy/util-test": "^0.2.5",
|
38
38
|
"@types/node": "^16.18.96",
|
39
39
|
"concurrently": "7.0.0",
|
40
40
|
"downlevel-dts": "0.10.1",
|
@@ -56,13 +56,19 @@
|
|
56
56
|
],
|
57
57
|
"browser": {
|
58
58
|
"./dist-es/getAwsChunkedEncodingStream": "./dist-es/getAwsChunkedEncodingStream.browser",
|
59
|
-
"./dist-es/
|
59
|
+
"./dist-es/headStream": "./dist-es/headStream.browser",
|
60
|
+
"./dist-es/sdk-stream-mixin": "./dist-es/sdk-stream-mixin.browser",
|
61
|
+
"./dist-es/splitStream": "./dist-es/splitStream.browser"
|
60
62
|
},
|
61
63
|
"react-native": {
|
62
64
|
"./dist-es/getAwsChunkedEncodingStream": "./dist-es/getAwsChunkedEncodingStream.browser",
|
63
65
|
"./dist-es/sdk-stream-mixin": "./dist-es/sdk-stream-mixin.browser",
|
66
|
+
"./dist-es/headStream": "./dist-es/headStream.browser",
|
67
|
+
"./dist-es/splitStream": "./dist-es/splitStream.browser",
|
64
68
|
"./dist-cjs/getAwsChunkedEncodingStream": "./dist-cjs/getAwsChunkedEncodingStream.browser",
|
65
|
-
"./dist-cjs/sdk-stream-mixin": "./dist-cjs/sdk-stream-mixin.browser"
|
69
|
+
"./dist-cjs/sdk-stream-mixin": "./dist-cjs/sdk-stream-mixin.browser",
|
70
|
+
"./dist-cjs/headStream": "./dist-cjs/headStream.browser",
|
71
|
+
"./dist-cjs/splitStream": "./dist-cjs/splitStream.browser"
|
66
72
|
},
|
67
73
|
"homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/util-stream",
|
68
74
|
"repository": {
|
package/package.json
CHANGED
@@ -42,16 +42,16 @@
|
|
42
42
|
"organization": false
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@cdk8s/projen-common": "0.0.
|
45
|
+
"@cdk8s/projen-common": "0.0.533",
|
46
46
|
"@types/fs-extra": "^11.0.4",
|
47
47
|
"@types/jest": "^27",
|
48
48
|
"@types/node": "16.18.78",
|
49
49
|
"@typescript-eslint/eslint-plugin": "^7",
|
50
50
|
"@typescript-eslint/parser": "^7",
|
51
|
-
"aws-cdk": "^2.
|
51
|
+
"aws-cdk": "^2.149.0",
|
52
52
|
"aws-cdk-lib": "2.109.0",
|
53
53
|
"cdk8s": "2.68.4",
|
54
|
-
"cdk8s-cli": "^2.198.
|
54
|
+
"cdk8s-cli": "^2.198.173",
|
55
55
|
"constructs": "10.3.0",
|
56
56
|
"eslint": "^8",
|
57
57
|
"eslint-import-resolver-typescript": "^3.6.1",
|
@@ -64,7 +64,7 @@
|
|
64
64
|
"jsii-docgen": "^9.2.2",
|
65
65
|
"jsii-pacmak": "^1.101.0",
|
66
66
|
"jsii-rosetta": "^5",
|
67
|
-
"projen": "^0.84.
|
67
|
+
"projen": "^0.84.4",
|
68
68
|
"standard-version": "^9",
|
69
69
|
"ts-jest": "^27",
|
70
70
|
"ts-node": "^10.9.2",
|
@@ -76,7 +76,7 @@
|
|
76
76
|
"constructs": "^10.3.0"
|
77
77
|
},
|
78
78
|
"dependencies": {
|
79
|
-
"@aws-sdk/client-cloudformation": "^3.
|
79
|
+
"@aws-sdk/client-cloudformation": "^3.614.0"
|
80
80
|
},
|
81
81
|
"bundledDependencies": [
|
82
82
|
"@aws-sdk/client-cloudformation"
|
@@ -92,7 +92,7 @@
|
|
92
92
|
"publishConfig": {
|
93
93
|
"access": "public"
|
94
94
|
},
|
95
|
-
"version": "0.0.
|
95
|
+
"version": "0.0.133",
|
96
96
|
"jest": {
|
97
97
|
"coverageProvider": "v8",
|
98
98
|
"testMatch": [
|