@cdk8s/awscdk-resolver 0.0.135 → 0.0.137

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 (180) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +9 -15
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +9 -15
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +2 -4
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +2 -2
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +2 -2
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +2 -2
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +6 -8
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
  14. package/node_modules/@aws-sdk/client-cloudformation/package.json +18 -18
  15. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +9 -15
  16. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +9 -15
  17. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +2 -4
  18. package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  19. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
  20. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -2
  21. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -2
  22. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +6 -8
  23. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  24. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
  25. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
  26. package/node_modules/@aws-sdk/client-sso/package.json +15 -15
  27. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +9 -15
  28. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +9 -15
  29. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +2 -4
  30. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  31. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -2
  32. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -2
  33. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
  34. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +6 -8
  35. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  36. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
  37. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
  38. package/node_modules/@aws-sdk/client-sso-oidc/package.json +17 -17
  39. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +9 -15
  40. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +17 -4
  41. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +9 -15
  42. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +17 -4
  43. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +2 -4
  44. package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  45. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -2
  46. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -2
  47. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
  48. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -8
  49. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  50. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
  51. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
  52. package/node_modules/@aws-sdk/client-sts/package.json +17 -17
  53. package/node_modules/@aws-sdk/core/account-id-endpoint.js +6 -0
  54. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +97 -0
  55. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +27 -0
  56. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +15 -0
  57. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js +5 -0
  58. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +24 -0
  59. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -0
  60. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +18 -0
  61. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +3 -1
  62. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +2 -1
  63. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +30 -0
  64. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +7 -0
  65. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -0
  66. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +3 -0
  67. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -0
  68. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +25 -1
  69. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -1
  70. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +15 -0
  71. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +6 -0
  72. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +7 -0
  73. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +3 -0
  74. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +12 -0
  75. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +17 -0
  76. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -1
  77. package/node_modules/@aws-sdk/core/package.json +18 -8
  78. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +6 -1
  79. package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +3 -0
  80. package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +4 -0
  81. package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +1 -0
  82. package/node_modules/@aws-sdk/credential-provider-env/package.json +1 -1
  83. package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
  84. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +3 -2
  85. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +4 -2
  86. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +1 -0
  87. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +1 -0
  88. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  89. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +30 -6
  90. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +29 -9
  91. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  92. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +9 -3
  93. package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +6 -1
  94. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +1 -1
  95. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ProcessCredentials.d.ts +1 -0
  96. package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
  97. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/ProcessCredentials.d.ts +1 -0
  98. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +3 -2
  99. package/node_modules/@aws-sdk/credential-provider-process/package.json +1 -1
  100. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +11 -2
  101. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -2
  102. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  103. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  104. package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
  105. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  106. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  107. package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
  108. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +2 -1
  109. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +2 -1
  110. package/node_modules/@smithy/core/package.json +5 -5
  111. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +2 -1
  112. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +1 -0
  113. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +1 -0
  114. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +1 -0
  115. package/node_modules/@smithy/credential-provider-imds/package.json +1 -1
  116. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
  117. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +1 -1
  118. package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
  119. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  120. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +7 -0
  121. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +7 -0
  122. package/node_modules/@smithy/middleware-endpoint/package.json +1 -1
  123. package/node_modules/@smithy/middleware-retry/package.json +4 -4
  124. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  125. package/node_modules/@smithy/protocol-http/package.json +1 -1
  126. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -16
  127. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -2
  128. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -2
  129. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -1
  130. package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +3 -3
  131. package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +2 -2
  132. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +1 -1
  133. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +3 -3
  134. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +2 -2
  135. package/node_modules/@smithy/signature-v4/package.json +2 -2
  136. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
  137. package/node_modules/@smithy/smithy-client/dist-es/command.js +1 -0
  138. package/node_modules/@smithy/smithy-client/package.json +4 -4
  139. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  140. package/node_modules/@smithy/util-defaults-mode-node/package.json +3 -3
  141. package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +9 -1
  142. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +9 -1
  143. package/node_modules/@smithy/util-stream/package.json +4 -4
  144. package/node_modules/fast-xml-parser/CHANGELOG.md +349 -309
  145. package/node_modules/fast-xml-parser/README.md +83 -51
  146. package/node_modules/fast-xml-parser/package.json +8 -5
  147. package/node_modules/fast-xml-parser/src/fxp.d.ts +365 -71
  148. package/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
  149. package/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
  150. package/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
  151. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
  152. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
  153. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
  154. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
  155. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +99 -0
  156. package/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
  157. package/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
  158. package/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
  159. package/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
  160. package/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
  161. package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +212 -0
  162. package/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
  163. package/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
  164. package/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
  165. package/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
  166. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
  167. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
  168. package/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +40 -0
  169. package/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
  170. package/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
  171. package/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
  172. package/node_modules/fast-xml-parser/src/validator.js +2 -0
  173. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +31 -9
  174. package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +4 -0
  175. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +25 -12
  176. package/package.json +8 -8
  177. package/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js +0 -1
  178. package/node_modules/@smithy/signature-v4/dist-es/cloneRequest.js +0 -12
  179. package/node_modules/@smithy/signature-v4/dist-types/cloneRequest.d.ts +0 -6
  180. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/cloneRequest.d.ts +0 -6
@@ -307,24 +307,11 @@ var hasHeader = /* @__PURE__ */ __name((soughtHeader, headers) => {
307
307
  return false;
308
308
  }, "hasHeader");
309
309
 
310
- // src/cloneRequest.ts
311
- var cloneRequest = /* @__PURE__ */ __name(({ headers, query, ...rest }) => ({
312
- ...rest,
313
- headers: { ...headers },
314
- query: query ? cloneQuery(query) : void 0
315
- }), "cloneRequest");
316
- var cloneQuery = /* @__PURE__ */ __name((query) => Object.keys(query).reduce((carry, paramName) => {
317
- const param = query[paramName];
318
- return {
319
- ...carry,
320
- [paramName]: Array.isArray(param) ? [...param] : param
321
- };
322
- }, {}), "cloneQuery");
323
-
324
310
  // src/moveHeadersToQuery.ts
311
+ var import_protocol_http = require("@smithy/protocol-http");
325
312
  var moveHeadersToQuery = /* @__PURE__ */ __name((request, options = {}) => {
326
313
  var _a;
327
- const { headers, query = {} } = typeof request.clone === "function" ? request.clone() : cloneRequest(request);
314
+ const { headers, query = {} } = import_protocol_http.HttpRequest.clone(request);
328
315
  for (const name of Object.keys(headers)) {
329
316
  const lname = name.toLowerCase();
330
317
  if (lname.slice(0, 6) === "x-amz-" && !((_a = options.unhoistableHeaders) == null ? void 0 : _a.has(lname))) {
@@ -340,8 +327,9 @@ var moveHeadersToQuery = /* @__PURE__ */ __name((request, options = {}) => {
340
327
  }, "moveHeadersToQuery");
341
328
 
342
329
  // src/prepareRequest.ts
330
+
343
331
  var prepareRequest = /* @__PURE__ */ __name((request) => {
344
- request = typeof request.clone === "function" ? request.clone() : cloneRequest(request);
332
+ request = import_protocol_http.HttpRequest.clone(request);
345
333
  for (const headerName of Object.keys(request.headers)) {
346
334
  if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
347
335
  delete request.headers[headerName];
@@ -1,6 +1,6 @@
1
- import { cloneRequest } from "./cloneRequest";
1
+ import { HttpRequest } from "@smithy/protocol-http";
2
2
  export const moveHeadersToQuery = (request, options = {}) => {
3
- const { headers, query = {} } = typeof request.clone === "function" ? request.clone() : cloneRequest(request);
3
+ const { headers, query = {} } = HttpRequest.clone(request);
4
4
  for (const name of Object.keys(headers)) {
5
5
  const lname = name.toLowerCase();
6
6
  if (lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname)) {
@@ -1,7 +1,7 @@
1
- import { cloneRequest } from "./cloneRequest";
1
+ import { HttpRequest } from "@smithy/protocol-http";
2
2
  import { GENERATED_HEADERS } from "./constants";
3
3
  export const prepareRequest = (request) => {
4
- request = typeof request.clone === "function" ? request.clone() : cloneRequest(request);
4
+ request = HttpRequest.clone(request);
5
5
  for (const headerName of Object.keys(request.headers)) {
6
6
  if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
7
7
  delete request.headers[headerName];
@@ -18,7 +18,7 @@ export interface SignatureV4Init {
18
18
  * A constructor function for a hash object that will calculate SHA-256 HMAC
19
19
  * checksums.
20
20
  */
21
- sha256?: ChecksumConstructor | HashConstructor;
21
+ sha256: ChecksumConstructor | HashConstructor;
22
22
  /**
23
23
  * Whether to uri-escape the request URI path as part of computing the
24
24
  * canonical request string. This is required for every AWS service, except
@@ -1,9 +1,9 @@
1
- import { HttpRequest, QueryParameterBag } from "@smithy/types";
1
+ import type { HttpRequest as IHttpRequest, QueryParameterBag } from "@smithy/types";
2
2
  /**
3
3
  * @private
4
4
  */
5
- export declare const moveHeadersToQuery: (request: HttpRequest, options?: {
5
+ export declare const moveHeadersToQuery: (request: IHttpRequest, options?: {
6
6
  unhoistableHeaders?: Set<string>;
7
- }) => HttpRequest & {
7
+ }) => IHttpRequest & {
8
8
  query: QueryParameterBag;
9
9
  };
@@ -1,5 +1,5 @@
1
- import { HttpRequest } from "@smithy/types";
1
+ import type { HttpRequest as IHttpRequest } from "@smithy/types";
2
2
  /**
3
3
  * @private
4
4
  */
5
- export declare const prepareRequest: (request: HttpRequest) => HttpRequest;
5
+ export declare const prepareRequest: (request: IHttpRequest) => IHttpRequest;
@@ -18,7 +18,7 @@ export interface SignatureV4Init {
18
18
  * A constructor function for a hash object that will calculate SHA-256 HMAC
19
19
  * checksums.
20
20
  */
21
- sha256?: ChecksumConstructor | HashConstructor;
21
+ sha256: ChecksumConstructor | HashConstructor;
22
22
  /**
23
23
  * Whether to uri-escape the request URI path as part of computing the
24
24
  * canonical request string. This is required for every AWS service, except
@@ -1,9 +1,9 @@
1
- import { HttpRequest, QueryParameterBag } from "@smithy/types";
1
+ import { HttpRequest as IHttpRequest, QueryParameterBag } from "@smithy/types";
2
2
  /**
3
3
  * @private
4
4
  */
5
- export declare const moveHeadersToQuery: (request: HttpRequest, options?: {
5
+ export declare const moveHeadersToQuery: (request: IHttpRequest, options?: {
6
6
  unhoistableHeaders?: Set<string>;
7
- }) => HttpRequest & {
7
+ }) => IHttpRequest & {
8
8
  query: QueryParameterBag;
9
9
  };
@@ -1,5 +1,5 @@
1
- import { HttpRequest } from "@smithy/types";
1
+ import { HttpRequest as IHttpRequest } from "@smithy/types";
2
2
  /**
3
3
  * @private
4
4
  */
5
- export declare const prepareRequest: (request: HttpRequest) => HttpRequest;
5
+ export declare const prepareRequest: (request: IHttpRequest) => IHttpRequest;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "3.1.2",
3
+ "version": "4.1.0",
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",
@@ -25,6 +25,7 @@
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
27
  "@smithy/is-array-buffer": "^3.0.0",
28
+ "@smithy/protocol-http": "^4.1.0",
28
29
  "@smithy/types": "^3.3.0",
29
30
  "@smithy/util-hex-encoding": "^3.0.0",
30
31
  "@smithy/util-middleware": "^3.0.3",
@@ -34,7 +35,6 @@
34
35
  },
35
36
  "devDependencies": {
36
37
  "@aws-crypto/sha256-js": "5.2.0",
37
- "@smithy/protocol-http": "^4.0.3",
38
38
  "concurrently": "7.0.0",
39
39
  "downlevel-dts": "0.10.1",
40
40
  "rimraf": "3.0.2",
@@ -183,6 +183,7 @@ var _Command = class _Command {
183
183
  inputFilterSensitiveLog,
184
184
  outputFilterSensitiveLog,
185
185
  [import_types.SMITHY_CONTEXT_KEY]: {
186
+ commandInstance: this,
186
187
  ...smithyContext
187
188
  },
188
189
  ...additionalContext
@@ -20,6 +20,7 @@ export class Command {
20
20
  inputFilterSensitiveLog,
21
21
  outputFilterSensitiveLog,
22
22
  [SMITHY_CONTEXT_KEY]: {
23
+ commandInstance: this,
23
24
  ...smithyContext,
24
25
  },
25
26
  ...additionalContext,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "3.1.8",
3
+ "version": "3.1.12",
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",
@@ -23,11 +23,11 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/middleware-endpoint": "^3.0.5",
26
+ "@smithy/middleware-endpoint": "^3.1.0",
27
27
  "@smithy/middleware-stack": "^3.0.3",
28
- "@smithy/protocol-http": "^4.0.4",
28
+ "@smithy/protocol-http": "^4.1.0",
29
29
  "@smithy/types": "^3.3.0",
30
- "@smithy/util-stream": "^3.1.0",
30
+ "@smithy/util-stream": "^3.1.3",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "3.0.10",
3
+ "version": "3.0.14",
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",
@@ -23,7 +23,7 @@
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
25
  "@smithy/property-provider": "^3.1.3",
26
- "@smithy/smithy-client": "^3.1.8",
26
+ "@smithy/smithy-client": "^3.1.12",
27
27
  "@smithy/types": "^3.3.0",
28
28
  "bowser": "^2.11.0",
29
29
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "3.0.10",
3
+ "version": "3.0.14",
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",
@@ -23,10 +23,10 @@
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
25
  "@smithy/config-resolver": "^3.0.5",
26
- "@smithy/credential-provider-imds": "^3.1.4",
26
+ "@smithy/credential-provider-imds": "^3.2.0",
27
27
  "@smithy/node-config-provider": "^3.1.4",
28
28
  "@smithy/property-provider": "^3.1.3",
29
- "@smithy/smithy-client": "^3.1.8",
29
+ "@smithy/smithy-client": "^3.1.12",
30
30
  "@smithy/types": "^3.3.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
@@ -1,4 +1,12 @@
1
1
  /**
2
2
  * @internal
3
+ * Alias prevents compiler from turning
4
+ * ReadableStream into ReadableStream<any>, which is incompatible
5
+ * with the NodeJS.ReadableStream global type.
3
6
  */
4
- export declare const isReadableStream: (stream: unknown) => stream is ReadableStream<any>;
7
+ type ReadableStreamType = ReadableStream;
8
+ /**
9
+ * @internal
10
+ */
11
+ export declare const isReadableStream: (stream: unknown) => stream is ReadableStreamType;
12
+ export {};
@@ -1,4 +1,12 @@
1
1
  /**
2
2
  * @internal
3
+ * Alias prevents compiler from turning
4
+ * ReadableStream into ReadableStream<any>, which is incompatible
5
+ * with the NodeJS.ReadableStream global type.
3
6
  */
4
- export declare const isReadableStream: (stream: unknown) => stream is ReadableStream<any>;
7
+ type ReadableStreamType = ReadableStream;
8
+ /**
9
+ * @internal
10
+ */
11
+ export declare const isReadableStream: (stream: unknown) => stream is ReadableStreamType;
12
+ export {};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-stream",
3
- "version": "3.1.0",
3
+ "version": "3.1.3",
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.2",
28
- "@smithy/node-http-handler": "^3.1.3",
27
+ "@smithy/fetch-http-handler": "^3.2.4",
28
+ "@smithy/node-http-handler": "^3.1.4",
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.5",
37
+ "@smithy/util-test": "^0.2.6",
38
38
  "@types/node": "^16.18.96",
39
39
  "concurrently": "7.0.0",
40
40
  "downlevel-dts": "0.10.1",