@cdk8s/awscdk-resolver 0.0.454 → 0.0.455

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.
Files changed (84) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +21 -21
  4. package/node_modules/@aws-sdk/client-sso/package.json +20 -20
  5. package/node_modules/@aws-sdk/core/package.json +6 -6
  6. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  7. package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
  8. package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
  9. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  10. package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
  11. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  12. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  13. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  14. package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
  15. package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
  16. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
  17. package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -6
  18. package/node_modules/@aws-sdk/nested-clients/package.json +18 -18
  19. package/node_modules/@aws-sdk/region-config-resolver/package.json +3 -3
  20. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  21. package/node_modules/@aws-sdk/types/package.json +2 -2
  22. package/node_modules/@aws-sdk/util-endpoints/package.json +3 -3
  23. package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
  24. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
  25. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  26. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  27. package/node_modules/@smithy/abort-controller/package.json +3 -3
  28. package/node_modules/@smithy/config-resolver/package.json +6 -6
  29. package/node_modules/@smithy/core/package.json +7 -7
  30. package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
  31. package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
  32. package/node_modules/@smithy/hash-node/package.json +3 -3
  33. package/node_modules/@smithy/invalid-dependency/package.json +3 -3
  34. package/node_modules/@smithy/middleware-content-length/package.json +4 -4
  35. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  36. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  37. package/node_modules/@smithy/middleware-serde/package.json +4 -4
  38. package/node_modules/@smithy/middleware-stack/package.json +3 -3
  39. package/node_modules/@smithy/node-config-provider/package.json +5 -5
  40. package/node_modules/@smithy/node-http-handler/package.json +6 -6
  41. package/node_modules/@smithy/property-provider/package.json +3 -3
  42. package/node_modules/@smithy/protocol-http/package.json +3 -3
  43. package/node_modules/@smithy/querystring-builder/package.json +3 -3
  44. package/node_modules/@smithy/querystring-parser/package.json +3 -3
  45. package/node_modules/@smithy/service-error-classification/package.json +3 -3
  46. package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -3
  47. package/node_modules/@smithy/signature-v4/package.json +5 -5
  48. package/node_modules/@smithy/smithy-client/package.json +7 -7
  49. package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +4 -2
  50. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +4 -2
  51. package/node_modules/@smithy/types/package.json +2 -2
  52. package/node_modules/@smithy/url-parser/package.json +4 -4
  53. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  54. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  55. package/node_modules/@smithy/util-endpoints/package.json +4 -4
  56. package/node_modules/@smithy/util-middleware/package.json +3 -3
  57. package/node_modules/@smithy/util-retry/package.json +4 -4
  58. package/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +20 -9
  59. package/node_modules/@smithy/util-stream/dist-cjs/index.js +8 -6
  60. package/node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.js +19 -7
  61. package/node_modules/@smithy/util-stream/dist-es/index.js +1 -1
  62. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +7 -7
  63. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +2 -3
  64. package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +4 -2
  65. package/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts +4 -1
  66. package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +7 -3
  67. package/node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts +1 -2
  68. package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +2 -2
  69. package/node_modules/@smithy/util-stream/dist-types/index.d.ts +4 -1
  70. package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +3 -0
  71. package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +2 -1
  72. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +7 -7
  73. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +2 -3
  74. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +4 -2
  75. package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +4 -1
  76. package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +7 -3
  77. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +1 -2
  78. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +2 -2
  79. package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +4 -1
  80. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +3 -0
  81. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +2 -1
  82. package/node_modules/@smithy/util-stream/package.json +5 -5
  83. package/node_modules/@smithy/util-waiter/package.json +4 -4
  84. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-serde",
3
- "version": "4.2.8",
3
+ "version": "4.2.9",
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 middleware-serde",
@@ -26,8 +26,8 @@
26
26
  "license": "Apache-2.0",
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@smithy/protocol-http": "^5.3.7",
30
- "@smithy/types": "^4.11.0",
29
+ "@smithy/protocol-http": "^5.3.8",
30
+ "@smithy/types": "^4.12.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "engines": {
@@ -53,7 +53,7 @@
53
53
  "@smithy/util-test": "^0.2.8",
54
54
  "concurrently": "7.0.0",
55
55
  "downlevel-dts": "0.10.1",
56
- "rimraf": "3.0.2",
56
+ "rimraf": "5.0.10",
57
57
  "typedoc": "0.23.23"
58
58
  },
59
59
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-stack",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
4
4
  "description": "Provides a means for composing multiple middleware functions into a single handler",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -27,13 +27,13 @@
27
27
  "module": "./dist-es/index.js",
28
28
  "types": "./dist-types/index.d.ts",
29
29
  "dependencies": {
30
- "@smithy/types": "^4.11.0",
30
+ "@smithy/types": "^4.12.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "concurrently": "7.0.0",
35
35
  "downlevel-dts": "0.10.1",
36
- "rimraf": "3.0.2",
36
+ "rimraf": "5.0.10",
37
37
  "typedoc": "0.23.23"
38
38
  },
39
39
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-config-provider",
3
- "version": "4.3.7",
3
+ "version": "4.3.8",
4
4
  "description": "Load config default values from ini config files and environmental variable",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -26,16 +26,16 @@
26
26
  "module": "./dist-es/index.js",
27
27
  "types": "./dist-types/index.d.ts",
28
28
  "dependencies": {
29
- "@smithy/property-provider": "^4.2.7",
30
- "@smithy/shared-ini-file-loader": "^4.4.2",
31
- "@smithy/types": "^4.11.0",
29
+ "@smithy/property-provider": "^4.2.8",
30
+ "@smithy/shared-ini-file-loader": "^4.4.3",
31
+ "@smithy/types": "^4.12.0",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/node": "^18.11.9",
36
36
  "concurrently": "7.0.0",
37
37
  "downlevel-dts": "0.10.1",
38
- "rimraf": "3.0.2",
38
+ "rimraf": "5.0.10",
39
39
  "typedoc": "0.23.23"
40
40
  },
41
41
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "4.4.7",
3
+ "version": "4.4.8",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -27,17 +27,17 @@
27
27
  "module": "./dist-es/index.js",
28
28
  "types": "./dist-types/index.d.ts",
29
29
  "dependencies": {
30
- "@smithy/abort-controller": "^4.2.7",
31
- "@smithy/protocol-http": "^5.3.7",
32
- "@smithy/querystring-builder": "^4.2.7",
33
- "@smithy/types": "^4.11.0",
30
+ "@smithy/abort-controller": "^4.2.8",
31
+ "@smithy/protocol-http": "^5.3.8",
32
+ "@smithy/querystring-builder": "^4.2.8",
33
+ "@smithy/types": "^4.12.0",
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^18.11.9",
38
38
  "concurrently": "7.0.0",
39
39
  "downlevel-dts": "0.10.1",
40
- "rimraf": "3.0.2",
40
+ "rimraf": "5.0.10",
41
41
  "typedoc": "0.23.23"
42
42
  },
43
43
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/property-provider",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
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 property-provider",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/types": "^4.11.0",
27
+ "@smithy/types": "^4.12.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -49,7 +49,7 @@
49
49
  "devDependencies": {
50
50
  "concurrently": "7.0.0",
51
51
  "downlevel-dts": "0.10.1",
52
- "rimraf": "3.0.2",
52
+ "rimraf": "5.0.10",
53
53
  "typedoc": "0.23.23"
54
54
  },
55
55
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/protocol-http",
3
- "version": "5.3.7",
3
+ "version": "5.3.8",
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 protocol-http",
@@ -25,7 +25,7 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/types": "^4.11.0",
28
+ "@smithy/types": "^4.12.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "engines": {
@@ -50,7 +50,7 @@
50
50
  "devDependencies": {
51
51
  "concurrently": "7.0.0",
52
52
  "downlevel-dts": "0.10.1",
53
- "rimraf": "3.0.2",
53
+ "rimraf": "5.0.10",
54
54
  "typedoc": "0.23.23"
55
55
  },
56
56
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-builder",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
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 querystring-builder",
@@ -23,7 +23,7 @@
23
23
  "license": "Apache-2.0",
24
24
  "sideEffects": false,
25
25
  "dependencies": {
26
- "@smithy/types": "^4.11.0",
26
+ "@smithy/types": "^4.12.0",
27
27
  "@smithy/util-uri-escape": "^4.2.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
@@ -49,7 +49,7 @@
49
49
  "devDependencies": {
50
50
  "concurrently": "7.0.0",
51
51
  "downlevel-dts": "0.10.1",
52
- "rimraf": "3.0.2",
52
+ "rimraf": "5.0.10",
53
53
  "typedoc": "0.23.23"
54
54
  },
55
55
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/querystring-parser",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
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 querystring-parser",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/types": "^4.11.0",
27
+ "@smithy/types": "^4.12.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -49,7 +49,7 @@
49
49
  "devDependencies": {
50
50
  "concurrently": "7.0.0",
51
51
  "downlevel-dts": "0.10.1",
52
- "rimraf": "3.0.2",
52
+ "rimraf": "5.0.10",
53
53
  "typedoc": "0.23.23"
54
54
  },
55
55
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/service-error-classification",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
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 service-error-classification",
@@ -26,7 +26,7 @@
26
26
  "devDependencies": {
27
27
  "concurrently": "7.0.0",
28
28
  "downlevel-dts": "0.10.1",
29
- "rimraf": "3.0.2",
29
+ "rimraf": "5.0.10",
30
30
  "typedoc": "0.23.23"
31
31
  },
32
32
  "engines": {
@@ -55,6 +55,6 @@
55
55
  "directory": ".release/package"
56
56
  },
57
57
  "dependencies": {
58
- "@smithy/types": "^4.11.0"
58
+ "@smithy/types": "^4.12.0"
59
59
  }
60
60
  }
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@smithy/shared-ini-file-loader",
3
- "version": "4.4.2",
3
+ "version": "4.4.3",
4
4
  "dependencies": {
5
- "@smithy/types": "^4.11.0",
5
+ "@smithy/types": "^4.12.0",
6
6
  "tslib": "^2.6.2"
7
7
  },
8
8
  "devDependencies": {
9
9
  "@types/node": "^18.11.9",
10
10
  "concurrently": "7.0.0",
11
11
  "downlevel-dts": "0.10.1",
12
- "rimraf": "3.0.2",
12
+ "rimraf": "5.0.10",
13
13
  "typedoc": "0.23.23"
14
14
  },
15
15
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "5.3.7",
3
+ "version": "5.3.8",
4
4
  "description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,10 +27,10 @@
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
29
  "@smithy/is-array-buffer": "^4.2.0",
30
- "@smithy/protocol-http": "^5.3.7",
31
- "@smithy/types": "^4.11.0",
30
+ "@smithy/protocol-http": "^5.3.8",
31
+ "@smithy/types": "^4.12.0",
32
32
  "@smithy/util-hex-encoding": "^4.2.0",
33
- "@smithy/util-middleware": "^4.2.7",
33
+ "@smithy/util-middleware": "^4.2.8",
34
34
  "@smithy/util-uri-escape": "^4.2.0",
35
35
  "@smithy/util-utf8": "^4.2.0",
36
36
  "tslib": "^2.6.2"
@@ -39,7 +39,7 @@
39
39
  "@aws-crypto/sha256-js": "5.2.0",
40
40
  "concurrently": "7.0.0",
41
41
  "downlevel-dts": "0.10.1",
42
- "rimraf": "3.0.2",
42
+ "rimraf": "5.0.10",
43
43
  "typedoc": "0.23.23"
44
44
  },
45
45
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "4.10.5",
3
+ "version": "4.10.7",
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 smithy-client",
@@ -25,12 +25,12 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.20.3",
29
- "@smithy/middleware-endpoint": "^4.4.4",
30
- "@smithy/middleware-stack": "^4.2.7",
31
- "@smithy/protocol-http": "^5.3.7",
32
- "@smithy/types": "^4.11.0",
33
- "@smithy/util-stream": "^4.5.8",
28
+ "@smithy/core": "^3.20.5",
29
+ "@smithy/middleware-endpoint": "^4.4.6",
30
+ "@smithy/middleware-stack": "^4.2.8",
31
+ "@smithy/protocol-http": "^5.3.8",
32
+ "@smithy/types": "^4.12.0",
33
+ "@smithy/util-stream": "^4.5.10",
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "engines": {
@@ -60,7 +60,8 @@ export type StaticStructureSchema = [
60
60
  ShapeName,
61
61
  SchemaTraits,
62
62
  string[],
63
- $SchemaRef[]
63
+ $SchemaRef[],
64
+ number?
64
65
  ];
65
66
  /**
66
67
  * @public
@@ -82,7 +83,8 @@ export type StaticErrorSchema = [
82
83
  ShapeName,
83
84
  SchemaTraits,
84
85
  string[],
85
- $SchemaRef[]
86
+ $SchemaRef[],
87
+ number?
86
88
  ];
87
89
  /**
88
90
  * @public
@@ -79,7 +79,8 @@ export type StaticStructureSchema = [
79
79
  ShapeName,
80
80
  SchemaTraits,
81
81
  string[],
82
- $SchemaRef[]
82
+ $SchemaRef[],
83
+ number?
83
84
  ];
84
85
  /**
85
86
  * @public
@@ -101,7 +102,8 @@ export type StaticErrorSchema = [
101
102
  ShapeName,
102
103
  SchemaTraits,
103
104
  string[],
104
- $SchemaRef[]
105
+ $SchemaRef[],
106
+ number?
105
107
  ];
106
108
  /**
107
109
  * @public
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/types",
3
- "version": "4.11.0",
3
+ "version": "4.12.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 types",
@@ -49,7 +49,7 @@
49
49
  "devDependencies": {
50
50
  "concurrently": "7.0.0",
51
51
  "downlevel-dts": "0.10.1",
52
- "rimraf": "3.0.2",
52
+ "rimraf": "5.0.10",
53
53
  "typedoc": "0.23.23"
54
54
  },
55
55
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/url-parser",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
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 url-parser",
@@ -24,8 +24,8 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/querystring-parser": "^4.2.7",
28
- "@smithy/types": "^4.11.0",
27
+ "@smithy/querystring-parser": "^4.2.8",
28
+ "@smithy/types": "^4.12.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "typesVersions": {
@@ -47,7 +47,7 @@
47
47
  "devDependencies": {
48
48
  "concurrently": "7.0.0",
49
49
  "downlevel-dts": "0.10.1",
50
- "rimraf": "3.0.2",
50
+ "rimraf": "5.0.10",
51
51
  "typedoc": "0.23.23"
52
52
  },
53
53
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "4.3.19",
3
+ "version": "4.3.21",
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-defaults-mode-browser",
@@ -24,9 +24,9 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/property-provider": "^4.2.7",
28
- "@smithy/smithy-client": "^4.10.5",
29
- "@smithy/types": "^4.11.0",
27
+ "@smithy/property-provider": "^4.2.8",
28
+ "@smithy/smithy-client": "^4.10.7",
29
+ "@smithy/types": "^4.12.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "4.2.22",
3
+ "version": "4.2.24",
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-defaults-mode-node",
@@ -24,12 +24,12 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/config-resolver": "^4.4.5",
28
- "@smithy/credential-provider-imds": "^4.2.7",
29
- "@smithy/node-config-provider": "^4.3.7",
30
- "@smithy/property-provider": "^4.2.7",
31
- "@smithy/smithy-client": "^4.10.5",
32
- "@smithy/types": "^4.11.0",
27
+ "@smithy/config-resolver": "^4.4.6",
28
+ "@smithy/credential-provider-imds": "^4.2.8",
29
+ "@smithy/node-config-provider": "^4.3.8",
30
+ "@smithy/property-provider": "^4.2.8",
31
+ "@smithy/smithy-client": "^4.10.7",
32
+ "@smithy/types": "^4.12.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-endpoints",
3
- "version": "3.2.7",
3
+ "version": "3.2.8",
4
4
  "description": "Utilities to help with endpoint resolution.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,15 +29,15 @@
29
29
  "license": "Apache-2.0",
30
30
  "sideEffects": false,
31
31
  "dependencies": {
32
- "@smithy/node-config-provider": "^4.3.7",
33
- "@smithy/types": "^4.11.0",
32
+ "@smithy/node-config-provider": "^4.3.8",
33
+ "@smithy/types": "^4.12.0",
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^18.11.9",
38
38
  "concurrently": "7.0.0",
39
39
  "downlevel-dts": "0.10.1",
40
- "rimraf": "3.0.2",
40
+ "rimraf": "5.0.10",
41
41
  "typedoc": "0.23.23"
42
42
  },
43
43
  "types": "./dist-types/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-middleware",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
4
4
  "description": "Shared utilities for to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,14 +28,14 @@
28
28
  "license": "Apache-2.0",
29
29
  "sideEffects": false,
30
30
  "dependencies": {
31
- "@smithy/types": "^4.11.0",
31
+ "@smithy/types": "^4.12.0",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/node": "^18.11.9",
36
36
  "concurrently": "7.0.0",
37
37
  "downlevel-dts": "0.10.1",
38
- "rimraf": "3.0.2",
38
+ "rimraf": "5.0.10",
39
39
  "typedoc": "0.23.23"
40
40
  },
41
41
  "types": "./dist-types/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-retry",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
4
4
  "description": "Shared retry utilities to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -31,15 +31,15 @@
31
31
  "license": "Apache-2.0",
32
32
  "sideEffects": false,
33
33
  "dependencies": {
34
- "@smithy/service-error-classification": "^4.2.7",
35
- "@smithy/types": "^4.11.0",
34
+ "@smithy/service-error-classification": "^4.2.8",
35
+ "@smithy/types": "^4.12.0",
36
36
  "tslib": "^2.6.2"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^18.11.9",
40
40
  "concurrently": "7.0.0",
41
41
  "downlevel-dts": "0.10.1",
42
- "rimraf": "3.0.2",
42
+ "rimraf": "5.0.10",
43
43
  "typedoc": "0.23.23"
44
44
  },
45
45
  "types": "./dist-types/index.d.ts",
@@ -1,22 +1,34 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAwsChunkedEncodingStream = void 0;
4
- const stream_1 = require("stream");
5
- const getAwsChunkedEncodingStream = (readableStream, options) => {
3
+ exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream;
4
+ const node_stream_1 = require("node:stream");
5
+ const getAwsChunkedEncodingStream_browser_1 = require("./getAwsChunkedEncodingStream.browser");
6
+ const stream_type_check_1 = require("./stream-type-check");
7
+ function getAwsChunkedEncodingStream(stream, options) {
8
+ const readable = stream;
9
+ const readableStream = stream;
10
+ if ((0, stream_type_check_1.isReadableStream)(readableStream)) {
11
+ return (0, getAwsChunkedEncodingStream_browser_1.getAwsChunkedEncodingStream)(readableStream, options);
12
+ }
6
13
  const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options;
7
14
  const checksumRequired = base64Encoder !== undefined &&
8
15
  checksumAlgorithmFn !== undefined &&
9
16
  checksumLocationName !== undefined &&
10
17
  streamHasher !== undefined;
11
- const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined;
12
- const awsChunkedEncodingStream = new stream_1.Readable({ read: () => { } });
13
- readableStream.on("data", (data) => {
18
+ const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readable) : undefined;
19
+ const awsChunkedEncodingStream = new node_stream_1.Readable({
20
+ read: () => { },
21
+ });
22
+ readable.on("data", (data) => {
14
23
  const length = bodyLengthChecker(data) || 0;
24
+ if (length === 0) {
25
+ return;
26
+ }
15
27
  awsChunkedEncodingStream.push(`${length.toString(16)}\r\n`);
16
28
  awsChunkedEncodingStream.push(data);
17
29
  awsChunkedEncodingStream.push("\r\n");
18
30
  });
19
- readableStream.on("end", async () => {
31
+ readable.on("end", async () => {
20
32
  awsChunkedEncodingStream.push(`0\r\n`);
21
33
  if (checksumRequired) {
22
34
  const checksum = base64Encoder(await digest);
@@ -26,5 +38,4 @@ const getAwsChunkedEncodingStream = (readableStream, options) => {
26
38
  awsChunkedEncodingStream.push(null);
27
39
  });
28
40
  return awsChunkedEncodingStream;
29
- };
30
- exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream;
41
+ }
@@ -33,6 +33,14 @@ class Uint8ArrayBlobAdapter extends Uint8Array {
33
33
  }
34
34
  }
35
35
 
36
+ Object.defineProperty(exports, "isBlob", {
37
+ enumerable: true,
38
+ get: function () { return streamTypeCheck.isBlob; }
39
+ });
40
+ Object.defineProperty(exports, "isReadableStream", {
41
+ enumerable: true,
42
+ get: function () { return streamTypeCheck.isReadableStream; }
43
+ });
36
44
  exports.Uint8ArrayBlobAdapter = Uint8ArrayBlobAdapter;
37
45
  Object.keys(ChecksumStream).forEach(function (k) {
38
46
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
@@ -76,9 +84,3 @@ Object.keys(splitStream).forEach(function (k) {
76
84
  get: function () { return splitStream[k]; }
77
85
  });
78
86
  });
79
- Object.keys(streamTypeCheck).forEach(function (k) {
80
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
81
- enumerable: true,
82
- get: function () { return streamTypeCheck[k]; }
83
- });
84
- });