@cdklabs/cdk-construct-connect-datalake 0.0.12 → 0.0.14

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 (235) hide show
  1. package/.jsii +11 -11
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +1 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1 -1
  9. package/node_modules/@aws-sdk/client-cloudformation/package.json +10 -10
  10. package/node_modules/@aws-sdk/client-connect/README.md +11 -6
  11. package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +74 -47
  12. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +43 -16
  13. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +12 -7
  14. package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +12 -7
  15. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateVocabularyCommand.d.ts +2 -1
  16. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetMetricDataV2Command.d.ts +2 -1
  17. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactsCommand.d.ts +17 -0
  18. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
  19. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
  20. package/node_modules/@aws-sdk/client-connect/dist-types/index.d.ts +12 -7
  21. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +40 -37
  22. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +152 -59
  23. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +69 -63
  24. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +72 -16
  25. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +3 -0
  26. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +2 -4
  27. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +2 -4
  28. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
  29. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
  30. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +9 -10
  31. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +9 -10
  32. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +19 -15
  33. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +17 -1
  34. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  35. package/node_modules/@aws-sdk/client-connect/package.json +10 -10
  36. package/node_modules/@aws-sdk/client-glue/README.md +14 -0
  37. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +44 -4
  38. package/node_modules/@aws-sdk/client-glue/dist-cjs/models/errors.js +16 -1
  39. package/node_modules/@aws-sdk/client-glue/dist-cjs/schemas/schemas_0.js +133 -51
  40. package/node_modules/@aws-sdk/client-glue/dist-es/Glue.js +4 -0
  41. package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetDashboardUrlCommand.js +16 -0
  42. package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetSessionEndpointCommand.js +16 -0
  43. package/node_modules/@aws-sdk/client-glue/dist-es/commands/index.js +2 -0
  44. package/node_modules/@aws-sdk/client-glue/dist-es/models/enums.js +14 -4
  45. package/node_modules/@aws-sdk/client-glue/dist-es/models/errors.js +14 -0
  46. package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +108 -26
  47. package/node_modules/@aws-sdk/client-glue/dist-types/Glue.d.ts +14 -0
  48. package/node_modules/@aws-sdk/client-glue/dist-types/GlueClient.d.ts +4 -2
  49. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateSessionCommand.d.ts +5 -0
  50. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDashboardUrlCommand.d.ts +93 -0
  51. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetMLTaskRunCommand.d.ts +1 -2
  52. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionCommand.d.ts +1 -0
  53. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionEndpointCommand.d.ts +101 -0
  54. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTableCommand.d.ts +121 -0
  55. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTableVersionCommand.d.ts +118 -0
  56. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTableVersionsCommand.d.ts +118 -0
  57. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetTablesCommand.d.ts +119 -1
  58. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +118 -0
  59. package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListSessionsCommand.d.ts +1 -0
  60. package/node_modules/@aws-sdk/client-glue/dist-types/commands/RunStatementCommand.d.ts +6 -0
  61. package/node_modules/@aws-sdk/client-glue/dist-types/commands/SearchTablesCommand.d.ts +118 -0
  62. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateCrawlerScheduleCommand.d.ts +2 -1
  63. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
  64. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDatabaseCommand.d.ts +1 -1
  65. package/node_modules/@aws-sdk/client-glue/dist-types/commands/index.d.ts +2 -0
  66. package/node_modules/@aws-sdk/client-glue/dist-types/models/enums.d.ts +38 -12
  67. package/node_modules/@aws-sdk/client-glue/dist-types/models/errors.d.ts +17 -0
  68. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +41 -28
  69. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +156 -102
  70. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +107 -2
  71. package/node_modules/@aws-sdk/client-glue/dist-types/schemas/schemas_0.d.ts +9 -0
  72. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/Glue.d.ts +34 -0
  73. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/GlueClient.d.ts +12 -0
  74. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDashboardUrlCommand.d.ts +52 -0
  75. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetMLTaskRunCommand.d.ts +1 -2
  76. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +53 -0
  77. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateCrawlerScheduleCommand.d.ts +2 -4
  78. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
  79. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +1 -1
  80. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/index.d.ts +2 -0
  81. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/enums.d.ts +19 -6
  82. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/errors.d.ts +8 -0
  83. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +12 -7
  84. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +36 -23
  85. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_3.d.ts +24 -1
  86. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
  87. package/node_modules/@aws-sdk/client-glue/package.json +10 -10
  88. package/node_modules/@aws-sdk/client-lakeformation/package.json +10 -10
  89. package/node_modules/@aws-sdk/client-ram/package.json +10 -10
  90. package/node_modules/@aws-sdk/client-sts/package.json +12 -12
  91. package/node_modules/@aws-sdk/core/dist-cjs/index.js +47 -2291
  92. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -6
  93. package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
  94. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -0
  95. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -6
  96. package/node_modules/@aws-sdk/core/dist-types/index.d.ts +5 -5
  97. package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +5 -5
  98. package/node_modules/@aws-sdk/core/package.json +12 -12
  99. package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -7
  100. package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -10
  101. package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
  102. package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
  103. package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
  104. package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
  105. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +4 -1
  106. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +4 -1
  107. package/node_modules/@aws-sdk/credential-provider-sso/package.json +12 -10
  108. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
  109. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +99 -106
  110. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +62 -120
  111. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +55 -86
  112. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +73 -104
  113. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +102 -185
  114. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +4 -5
  115. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +21 -57
  116. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +1 -2
  117. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -4
  118. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +73 -41
  119. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +4 -5
  120. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +20 -52
  121. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +1 -2
  122. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -4
  123. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +36 -59
  124. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +4 -5
  125. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +17 -45
  126. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +1 -2
  127. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -4
  128. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
  129. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +4 -5
  130. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +17 -45
  131. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +1 -2
  132. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -4
  133. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
  134. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
  135. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
  136. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +34 -96
  137. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +1 -2
  138. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +3 -6
  139. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +63 -80
  140. package/node_modules/@aws-sdk/nested-clients/package.json +11 -11
  141. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +10 -9
  142. package/node_modules/@aws-sdk/token-providers/package.json +8 -8
  143. package/node_modules/@aws-sdk/types/package.json +4 -4
  144. package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
  145. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/CHANGELOG.md +8 -0
  146. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/README.md +9 -0
  147. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/package.json +4 -1
  148. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/strnum.js +9 -1
  149. package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
  150. package/node_modules/@nodable/entities/package.json +4 -1
  151. package/node_modules/@nodable/entities/src/EntityDecoder.js +104 -3
  152. package/node_modules/@nodable/entities/src/index.d.ts +77 -0
  153. package/node_modules/@nodable/entities/src/index.js +1 -1
  154. package/node_modules/@smithy/core/dist-cjs/index.js +13 -15
  155. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +29 -31
  156. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +2 -4
  157. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +7 -9
  158. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +3 -5
  159. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +22 -23
  160. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +10 -11
  161. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +38 -39
  162. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +10 -11
  163. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +14 -17
  164. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +20 -23
  165. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +9 -11
  166. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -13
  167. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +59 -60
  168. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +26 -27
  169. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +28 -29
  170. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +5 -7
  171. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -6
  172. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +23 -25
  173. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -6
  174. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +2 -4
  175. package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -1
  176. package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.js +1 -1
  177. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
  178. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js +1 -1
  179. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +2 -2
  180. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRateLimiter.js +1 -1
  181. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  182. package/node_modules/@smithy/core/package.json +18 -17
  183. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +23 -24
  184. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
  185. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +2 -0
  186. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
  187. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +2 -0
  188. package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
  189. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +6 -8
  190. package/node_modules/@smithy/fetch-http-handler/package.json +10 -10
  191. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +15 -15
  192. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -6
  193. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +2 -1
  194. package/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
  195. package/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
  196. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
  197. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  198. package/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
  199. package/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
  200. package/node_modules/@smithy/node-http-handler/package.json +8 -8
  201. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +27 -29
  202. package/node_modules/@smithy/signature-v4/package.json +7 -7
  203. package/node_modules/@smithy/types/dist-cjs/index.js +23 -18
  204. package/node_modules/@smithy/types/package.json +10 -10
  205. package/node_modules/@types/aws-lambda/README.md +1 -1
  206. package/node_modules/@types/aws-lambda/package.json +3 -3
  207. package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +2 -0
  208. package/node_modules/anynum/LICENSE +21 -0
  209. package/node_modules/anynum/README.md +142 -0
  210. package/node_modules/anynum/anynum.js +135 -0
  211. package/node_modules/anynum/digitTable.js +116 -0
  212. package/node_modules/anynum/package.json +42 -0
  213. package/node_modules/watchpack/README.md +9 -0
  214. package/node_modules/watchpack/lib/DirectoryWatcher.js +182 -25
  215. package/node_modules/watchpack/lib/index.js +55 -15
  216. package/node_modules/watchpack/lib/reducePlan.js +56 -35
  217. package/node_modules/watchpack/lib/util/globToRegExp.js +142 -0
  218. package/node_modules/watchpack/lib/watchEventSource.js +18 -10
  219. package/node_modules/watchpack/package.json +17 -23
  220. package/node_modules/watchpack/types/DirectoryWatcher.d.ts +2 -0
  221. package/node_modules/watchpack/types/index.d.ts +121 -113
  222. package/node_modules/watchpack/types/util/globToRegExp.d.ts +2 -0
  223. package/node_modules/watchpack/types/watchpack.d.ts +1 -1
  224. package/node_modules/which-typed-array/CHANGELOG.md +7 -0
  225. package/node_modules/which-typed-array/eslint.config.mjs +1 -0
  226. package/node_modules/which-typed-array/index.d.ts +22 -31
  227. package/node_modules/which-typed-array/index.js +36 -23
  228. package/node_modules/which-typed-array/package.json +4 -7
  229. package/package.json +14 -14
  230. package/node_modules/glob-to-regexp/.travis.yml +0 -4
  231. package/node_modules/glob-to-regexp/README.md +0 -75
  232. package/node_modules/glob-to-regexp/index.js +0 -130
  233. package/node_modules/glob-to-regexp/package.json +0 -23
  234. package/node_modules/glob-to-regexp/test.js +0 -235
  235. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/LICENSE +0 -0
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1056.0",
3
+ "version": "3.1066.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
7
7
  "scripts": {
8
8
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
9
- "build:cjs": "node ../../scripts/compilation/inline token-providers",
9
+ "build:cjs": "node ../../scripts/compilation/inline",
10
10
  "build:es": "tsc -p tsconfig.es.json",
11
11
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
12
12
  "build:types": "tsc -p tsconfig.types.json",
@@ -25,15 +25,15 @@
25
25
  "sideEffects": false,
26
26
  "author": {
27
27
  "name": "AWS SDK for JavaScript Team",
28
- "url": "https://aws.amazon.com/javascript/"
28
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "^3.974.15",
33
- "@aws-sdk/nested-clients": "^3.997.13",
34
- "@aws-sdk/types": "^3.973.9",
35
- "@smithy/core": "^3.24.5",
36
- "@smithy/types": "^4.14.2",
32
+ "@aws-sdk/core": "^3.974.20",
33
+ "@aws-sdk/nested-clients": "^3.997.20",
34
+ "@aws-sdk/types": "^3.973.12",
35
+ "@smithy/core": "^3.24.6",
36
+ "@smithy/types": "^4.14.3",
37
37
  "tslib": "^2.6.2"
38
38
  },
39
39
  "devDependencies": {
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.973.9",
3
+ "version": "3.973.12",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
7
7
  "description": "Types for the AWS SDK",
8
8
  "scripts": {
9
9
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
10
- "build:cjs": "node ../../scripts/compilation/inline types",
10
+ "build:cjs": "node ../../scripts/compilation/inline",
11
11
  "build:es": "tsc -p tsconfig.es.json",
12
12
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
13
13
  "build:types": "tsc -p tsconfig.types.json",
@@ -19,7 +19,7 @@
19
19
  "sideEffects": false,
20
20
  "author": {
21
21
  "name": "AWS SDK for JavaScript Team",
22
- "url": "https://aws.amazon.com/javascript/"
22
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "engines": {
@@ -42,7 +42,7 @@
42
42
  "directory": "packages-internal/types"
43
43
  },
44
44
  "dependencies": {
45
- "@smithy/types": "^4.14.2",
45
+ "@smithy/types": "^4.14.3",
46
46
  "tslib": "^2.6.2"
47
47
  },
48
48
  "devDependencies": {
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-locate-window",
3
- "version": "3.965.5",
3
+ "version": "3.965.7",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
- "build:cjs": "node ../../scripts/compilation/inline util-locate-window",
6
+ "build:cjs": "node ../../scripts/compilation/inline",
7
7
  "build:es": "tsc -p tsconfig.es.json",
8
8
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
9
9
  "build:types": "tsc -p tsconfig.types.json",
@@ -15,7 +15,7 @@
15
15
  "sideEffects": false,
16
16
  "author": {
17
17
  "name": "AWS SDK for JavaScript Team",
18
- "url": "https://aws.amazon.com/javascript/"
18
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
19
19
  },
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
@@ -1,4 +1,12 @@
1
1
 
2
+ **2.4.0 / 2026-06-09**
3
+ - support unicode numerals using 'anynum'
4
+
5
+ **2.3.0 / 2026-05-07**
6
+ - support octal and binary, test with @byspec/numbers
7
+ - test with @byspec/numbers
8
+
9
+
2
10
  **2.2.3 / 2026-04-07**
3
11
  - remove unnecessary files from npm package
4
12
 
@@ -1,6 +1,10 @@
1
1
  # strnum
2
2
  Parse string into Number based on configuration
3
3
 
4
+ [![strnum downloads](https://img.shields.io/npm/dw/strnum.svg)](https://npm-compare.com/strnum)
5
+ [![strnum version](https://img.shields.io/npm/v/strnum.svg)](https://www.npmjs.com/package/strnum)
6
+ [![strnum license](https://img.shields.io/npm/l/strnum.svg)](https://github.com/NaturalIntelligence/strnum)
7
+
4
8
  ## Users
5
9
 
6
10
  <a href="https://github.com/aws-amplify" target="_blank"><img src="https://avatars.githubusercontent.com/u/41077760?s=100&v=4"></a>
@@ -86,6 +90,10 @@ toNumber("1.0e-2"); //0.01)
86
90
 
87
91
  toNumber("+1212121212"); // 1212121212
88
92
  toNumber("+1212121212", { skipLike: /\+[0-9]{10}/} )); //"+1212121212"
93
+
94
+ toNumber("1e1000", { unicode: true, infinity: "original" }); //"1e1000"
95
+ toNumber("1000", { unicode: true }); //1000
96
+ toNumber("1000", { unicode: false }); //"1000"
89
97
  ```
90
98
 
91
99
  Supported Options
@@ -95,6 +103,7 @@ leadingZeros: true, //when number with leading zeros like 08 should be parsed. 0
95
103
  eNotation: true, //when number with eNotation or number parsed in eNotation should be considered
96
104
  skipLike: /regex/ //when string should not be parsed when it matches the specified regular expression
97
105
  infinity: "original", // "null", "infinity" (Infinity type), "string" ("Infinity" (the string literal))
106
+ unicode: false, //when number with unicode numerals should be parsed
98
107
  ```
99
108
 
100
109
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strnum",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "Parse String to Number based on configuration",
5
5
  "type": "module",
6
6
  "main": "strnum.js",
@@ -28,5 +28,8 @@
28
28
  "devDependencies": {
29
29
  "@byspec/numbers": "^0.1.1",
30
30
  "jasmine": "^5.6.0"
31
+ },
32
+ "dependencies": {
33
+ "anynum": "^1.0.0"
31
34
  }
32
35
  }
@@ -3,6 +3,8 @@ const binRegex = /^0b[01]+$/;
3
3
  const octRegex = /^0o[0-7]+$/;
4
4
  const numRegex = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/;
5
5
 
6
+ import anynum from "anynum";
7
+
6
8
  const consider = {
7
9
  hex: true,
8
10
  binary: false,
@@ -12,6 +14,7 @@ const consider = {
12
14
  eNotation: true,
13
15
  //skipLike: /regex/,
14
16
  infinity: "original", // "null", "infinity" (Infinity type), "string" ("Infinity" (the string literal))
17
+ unicode: false,
15
18
  };
16
19
 
17
20
  export default function toNumber(str, options = {}) {
@@ -23,7 +26,12 @@ export default function toNumber(str, options = {}) {
23
26
  if (trimmedStr.length === 0) return str;
24
27
  else if (options.skipLike !== undefined && options.skipLike.test(trimmedStr)) return str;
25
28
  else if (trimmedStr === "0") return 0;
26
- else if (options.hex && hexRegex.test(trimmedStr)) {
29
+
30
+ if (options.unicode) {
31
+ trimmedStr = anynum(trimmedStr);
32
+ if (trimmedStr === "0") return 0; // re-check after normalization
33
+ }
34
+ if (options.hex && hexRegex.test(trimmedStr)) {
27
35
  return parse_int(trimmedStr, 16);
28
36
  } else if (options.binary && binRegex.test(trimmedStr)) {
29
37
  return parse_int(trimmedStr, 2);
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@aws-sdk/xml-builder",
3
- "version": "3.972.26",
3
+ "version": "3.972.29",
4
4
  "description": "XML utilities for the AWS SDK",
5
5
  "dependencies": {
6
- "@smithy/types": "^4.14.2",
6
+ "@smithy/types": "^4.14.3",
7
7
  "fast-xml-parser": "5.7.3",
8
8
  "tslib": "^2.6.2"
9
9
  },
10
10
  "scripts": {
11
11
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
12
- "build:cjs": "node ../../scripts/compilation/inline xml-builder",
12
+ "build:cjs": "node ../../scripts/compilation/inline",
13
13
  "build:es": "tsc -p tsconfig.es.json",
14
14
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
15
15
  "build:types": "tsc -p tsconfig.types.json",
@@ -21,7 +21,7 @@
21
21
  "sideEffects": false,
22
22
  "author": {
23
23
  "name": "AWS SDK for JavaScript Team",
24
- "url": "https://aws.amazon.com/javascript/"
24
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "main": "./dist-cjs/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nodable/entities",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "Entity parser for XML, HTML, External entites with security and NCR control",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -25,10 +25,13 @@
25
25
  "xml",
26
26
  "html",
27
27
  "entity",
28
+ "entities",
29
+ "stringify",
28
30
  "encode",
29
31
  "decode",
30
32
  "ncr",
31
33
  "security",
34
+ "safe",
32
35
  "performance"
33
36
  ],
34
37
  "author": "Amit Gupta (https://solothought.com)",
@@ -5,6 +5,30 @@
5
5
 
6
6
  import { XML as DEFAULT_XML_ENTITIES } from "./entities.js"
7
7
 
8
+ // ---------------------------------------------------------------------------
9
+ // Entity hook action constants
10
+ // ---------------------------------------------------------------------------
11
+
12
+ /**
13
+ * Action constants for `onExternalEntity` and `onInputEntity` hooks.
14
+ *
15
+ * Use these instead of raw strings to avoid typos:
16
+ *
17
+ * @example
18
+ * import EntityDecoder, { ENTITY_ACTION } from './EntityDecoder.js';
19
+ * const dec = new EntityDecoder({
20
+ * onInputEntity: (name, value) => ENTITY_ACTION.BLOCK,
21
+ * });
22
+ */
23
+ export const ENTITY_ACTION = Object.freeze({
24
+ /** Resolve and expand the entity normally. */
25
+ ALLOW: 'allow',
26
+ /** Silently skip this entity — it will not be registered. */
27
+ BLOCK: 'block',
28
+ /** Throw an error, aborting entity registration entirely. */
29
+ THROW: 'throw',
30
+ });
31
+
8
32
  // ---------------------------------------------------------------------------
9
33
  // Helpers
10
34
  // ---------------------------------------------------------------------------
@@ -169,6 +193,14 @@ export default class EntityDecoder {
169
193
  * the effective action is max(onNCR, rangeMinimum).
170
194
  * @param {'remove'|'throw'} [options.ncr.nullNCR='remove']
171
195
  * Action for U+0000 (null). 'allow' and 'leave' are clamped to 'remove' since null is never safe.
196
+ * @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} [options.onExternalEntity=null]
197
+ * Hook called when an external entity is registered via `setExternalEntities()` or
198
+ * `addExternalEntity()`. Return `ENTITY_ACTION.ALLOW` to accept the entity,
199
+ * `ENTITY_ACTION.BLOCK` to silently skip it, or `ENTITY_ACTION.THROW` to abort with an error.
200
+ * @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} [options.onInputEntity=null]
201
+ * Hook called when an input entity is registered via `addInputEntities()`. Return
202
+ * `ENTITY_ACTION.ALLOW` to accept, `ENTITY_ACTION.BLOCK` to silently skip, or
203
+ * `ENTITY_ACTION.THROW` to abort with an error.
172
204
  */
173
205
  constructor(options = {}) {
174
206
  this._limit = options.limit || {};
@@ -204,6 +236,43 @@ export default class EntityDecoder {
204
236
  this._ncrXmlVersion = ncrCfg.xmlVersion;
205
237
  this._ncrOnLevel = ncrCfg.onLevel;
206
238
  this._ncrNullLevel = ncrCfg.nullLevel;
239
+
240
+ // --- Registration hooks ---
241
+ /** @type {((name: string, value: string) => 'allow'|'block'|'throw')|null} */
242
+ this._onExternalEntity = typeof options.onExternalEntity === 'function'
243
+ ? options.onExternalEntity
244
+ : null;
245
+ /** @type {((name: string, value: string) => 'allow'|'block'|'throw')|null} */
246
+ this._onInputEntity = typeof options.onInputEntity === 'function'
247
+ ? options.onInputEntity
248
+ : null;
249
+ }
250
+
251
+ // -------------------------------------------------------------------------
252
+ // Private: registration hook dispatch
253
+ // -------------------------------------------------------------------------
254
+
255
+ /**
256
+ * Invoke a registration hook for a single entity name/value pair.
257
+ * Returns true when the entity should be accepted, false when it should be
258
+ * silently skipped (BLOCK), and throws when the hook returns THROW.
259
+ *
260
+ * @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} hook
261
+ * @param {string} name
262
+ * @param {string} value
263
+ * @param {string} context — used in error messages ('external' | 'input')
264
+ * @returns {boolean} true = accept, false = skip
265
+ */
266
+ _applyRegistrationHook(hook, name, value, context) {
267
+ if (!hook) return true; // no hook → always accept
268
+ const action = hook(name, value);
269
+ if (action === ENTITY_ACTION.BLOCK) return false;
270
+ if (action === ENTITY_ACTION.THROW) {
271
+ throw new Error(
272
+ `[EntityDecoder] Registration of ${context} entity "&${name};" was rejected by hook`
273
+ );
274
+ }
275
+ return true; // ALLOW or any unknown return value → accept
207
276
  }
208
277
 
209
278
  // -------------------------------------------------------------------------
@@ -213,6 +282,9 @@ export default class EntityDecoder {
213
282
  /**
214
283
  * Replace the full set of persistent external entities.
215
284
  * All keys are validated — throws on invalid characters.
285
+ * If `onExternalEntity` is set, it is called once per entry; entries that
286
+ * return `ENTITY_ACTION.BLOCK` are silently omitted, `ENTITY_ACTION.THROW`
287
+ * aborts the whole call.
216
288
  * @param {Record<string, string | { regex?: RegExp, val: string }>} map
217
289
  */
218
290
  setExternalEntities(map) {
@@ -221,18 +293,34 @@ export default class EntityDecoder {
221
293
  validateEntityName(key);
222
294
  }
223
295
  }
224
- this._externalMap = mergeEntityMaps(map);
296
+ if (!this._onExternalEntity) {
297
+ this._externalMap = mergeEntityMaps(map);
298
+ return;
299
+ }
300
+ // Hook present — resolve values first, then filter
301
+ const flat = mergeEntityMaps(map);
302
+ const filtered = Object.create(null);
303
+ for (const [name, value] of Object.entries(flat)) {
304
+ if (this._applyRegistrationHook(this._onExternalEntity, name, value, 'external')) {
305
+ filtered[name] = value;
306
+ }
307
+ }
308
+ this._externalMap = filtered;
225
309
  }
226
310
 
227
311
  /**
228
312
  * Add a single persistent external entity.
313
+ * If `onExternalEntity` is set it is called before the entity is stored;
314
+ * `ENTITY_ACTION.BLOCK` silently skips storage, `ENTITY_ACTION.THROW` raises.
229
315
  * @param {string} key
230
316
  * @param {string} value
231
317
  */
232
318
  addExternalEntity(key, value) {
233
319
  validateEntityName(key);
234
320
  if (typeof value === 'string' && value.indexOf('&') === -1) {
235
- this._externalMap[key] = value;
321
+ if (this._applyRegistrationHook(this._onExternalEntity, key, value, 'external')) {
322
+ this._externalMap[key] = value;
323
+ }
236
324
  }
237
325
  }
238
326
 
@@ -243,12 +331,25 @@ export default class EntityDecoder {
243
331
  /**
244
332
  * Inject DOCTYPE entities for the current document.
245
333
  * Also resets per-document expansion counters.
334
+ * If `onInputEntity` is set it is called once per entry; entries returning
335
+ * `ENTITY_ACTION.BLOCK` are silently omitted, `ENTITY_ACTION.THROW` aborts.
246
336
  * @param {Record<string, string | { regx?: RegExp, regex?: RegExp, val: string }>} map
247
337
  */
248
338
  addInputEntities(map) {
249
339
  this._totalExpansions = 0;
250
340
  this._expandedLength = 0;
251
- this._inputMap = mergeEntityMaps(map);
341
+ if (!this._onInputEntity) {
342
+ this._inputMap = mergeEntityMaps(map);
343
+ return;
344
+ }
345
+ const flat = mergeEntityMaps(map);
346
+ const filtered = Object.create(null);
347
+ for (const [name, value] of Object.entries(flat)) {
348
+ if (this._applyRegistrationHook(this._onInputEntity, name, value, 'input')) {
349
+ filtered[name] = value;
350
+ }
351
+ }
352
+ this._inputMap = filtered;
252
353
  }
253
354
 
254
355
  // -------------------------------------------------------------------------
@@ -5,6 +5,50 @@
5
5
  /** A function-based entity replacement value (used for numeric refs). */
6
6
  export type EntityValFn = (match: string, captured: string, ...rest: unknown[]) => string;
7
7
 
8
+ // ---------------------------------------------------------------------------
9
+ // Entity registration hook
10
+ // ---------------------------------------------------------------------------
11
+
12
+ /**
13
+ * Actions returned by `onExternalEntity` / `onInputEntity` hooks.
14
+ * Use the `ENTITY_ACTION` constant object instead of raw strings to avoid typos.
15
+ *
16
+ * - `'allow'` — register and expand the entity normally
17
+ * - `'block'` — silently skip the entity (not registered, treated as unknown)
18
+ * - `'throw'` — abort registration with an error
19
+ */
20
+ export type EntityHookAction = 'allow' | 'block' | 'throw';
21
+
22
+ /**
23
+ * Immutable constant bag for entity registration hook return values.
24
+ *
25
+ * @example
26
+ * import { ENTITY_ACTION } from '@nodable/entities';
27
+ * const dec = new EntityDecoder({
28
+ * onInputEntity: (_name, _value) => ENTITY_ACTION.BLOCK,
29
+ * });
30
+ */
31
+ export const ENTITY_ACTION: Readonly<{
32
+ /** Register and expand the entity normally. */
33
+ ALLOW: 'allow';
34
+ /** Silently skip this entity — it will not be registered. */
35
+ BLOCK: 'block';
36
+ /** Throw an error, aborting entity registration. */
37
+ THROW: 'throw';
38
+ }>;
39
+
40
+ /**
41
+ * Callback signature for `onExternalEntity` and `onInputEntity` hooks.
42
+ *
43
+ * Called once per entity **at registration time** (not at decode time).
44
+ * Return `ENTITY_ACTION.ALLOW` (or `'allow'`) to accept, `ENTITY_ACTION.BLOCK`
45
+ * to silently skip, or `ENTITY_ACTION.THROW` to raise an error.
46
+ *
47
+ * @param name — the entity name without `&` / `;`, e.g. `"brand"`
48
+ * @param value — the resolved string value after any `{regex,val}` unwrapping
49
+ */
50
+ export type EntityRegistrationHook = (name: string, value: string) => EntityHookAction;
51
+
8
52
  // ---------------------------------------------------------------------------
9
53
  // Encoder options
10
54
  // ---------------------------------------------------------------------------
@@ -191,6 +235,39 @@ export interface EntityDecoderOptions {
191
235
  * Numeric Character Reference (NCR) policy.
192
236
  */
193
237
  ncr?: EntityDecoderNCROptions;
238
+
239
+ /**
240
+ * Hook called once **at registration time** for each entity passed to
241
+ * `setExternalEntities()` or `addExternalEntity()`.
242
+ *
243
+ * - `'allow'` (or `ENTITY_ACTION.ALLOW`) — register the entity normally (default)
244
+ * - `'block'` (or `ENTITY_ACTION.BLOCK`) — silently skip; the entity is not stored
245
+ * - `'throw'` (or `ENTITY_ACTION.THROW`) — abort registration with an `Error`
246
+ *
247
+ * The hook receives the entity name (without `&`/`;`) and the resolved string
248
+ * value. It is **not** called during `decode()` — only when entities are added.
249
+ *
250
+ * @example
251
+ * const dec = new EntityDecoder({
252
+ * onExternalEntity: (name, value) =>
253
+ * DANGEROUS_NAMES.has(name) ? ENTITY_ACTION.BLOCK : ENTITY_ACTION.ALLOW,
254
+ * });
255
+ */
256
+ onExternalEntity?: EntityRegistrationHook | null;
257
+
258
+ /**
259
+ * Hook called once **at registration time** for each entity passed to
260
+ * `addInputEntities()`.
261
+ *
262
+ * Follows the same `'allow' | 'block' | 'throw'` contract as `onExternalEntity`.
263
+ *
264
+ * @example
265
+ * const dec = new EntityDecoder({
266
+ * // Block all input / DOCTYPE entities unconditionally
267
+ * onInputEntity: () => ENTITY_ACTION.BLOCK,
268
+ * });
269
+ */
270
+ onInputEntity?: EntityRegistrationHook | null;
194
271
  }
195
272
 
196
273
  // ---------------------------------------------------------------------------
@@ -6,7 +6,7 @@
6
6
 
7
7
  */
8
8
 
9
- export { default as EntityDecoder } from './EntityDecoder.js';
9
+ export { default as EntityDecoder, ENTITY_ACTION } from './EntityDecoder.js';
10
10
  export {
11
11
  COMMON_HTML,
12
12
  XML,
@@ -1,9 +1,9 @@
1
- 'use strict';
2
-
3
- var transport = require('@smithy/core/transport');
4
- var protocols = require('@smithy/core/protocols');
5
- var types = require('@smithy/types');
6
- var client = require('@smithy/core/client');
1
+ const { getSmithyContext } = require("@smithy/core/transport");
2
+ exports.getSmithyContext = getSmithyContext;
3
+ const { HttpRequest } = require("@smithy/core/protocols");
4
+ const { requestBuilder } = require("@smithy/core/protocols");
5
+ exports.requestBuilder = requestBuilder;
6
+ const { HttpApiKeyAuthLocation } = require("@smithy/types");
7
7
 
8
8
  const resolveAuthOptions = (candidateAuthOptions, authSchemePreference) => {
9
9
  if (!authSchemePreference || authSchemePreference.length === 0) {
@@ -38,7 +38,7 @@ const httpAuthSchemeMiddleware = (config, mwOptions) => (next, context) => async
38
38
  const authSchemePreference = config.authSchemePreference ? await config.authSchemePreference() : [];
39
39
  const resolvedOptions = resolveAuthOptions(options, authSchemePreference);
40
40
  const authSchemes = convertHttpAuthSchemesToMap(config.httpAuthSchemes);
41
- const smithyContext = client.getSmithyContext(context);
41
+ const smithyContext = getSmithyContext(context);
42
42
  const failureReasons = [];
43
43
  for (const option of resolvedOptions) {
44
44
  const scheme = authSchemes.get(option.schemeId);
@@ -106,10 +106,10 @@ const defaultErrorHandler = (signingProperties) => (error) => {
106
106
  };
107
107
  const defaultSuccessHandler = (httpResponse, signingProperties) => { };
108
108
  const httpSigningMiddleware = (config) => (next, context) => async (args) => {
109
- if (!protocols.HttpRequest.isInstance(args.request)) {
109
+ if (!HttpRequest.isInstance(args.request)) {
110
110
  return next(args);
111
111
  }
112
- const smithyContext = client.getSmithyContext(context);
112
+ const smithyContext = getSmithyContext(context);
113
113
  const scheme = smithyContext.selectedHttpAuthScheme;
114
114
  if (!scheme) {
115
115
  throw new Error(`No HttpAuthScheme was selected: unable to sign request`);
@@ -228,11 +228,11 @@ class HttpApiKeyAuthSigner {
228
228
  if (!identity.apiKey) {
229
229
  throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");
230
230
  }
231
- const clonedRequest = protocols.HttpRequest.clone(httpRequest);
232
- if (signingProperties.in === types.HttpApiKeyAuthLocation.QUERY) {
231
+ const clonedRequest = HttpRequest.clone(httpRequest);
232
+ if (signingProperties.in === HttpApiKeyAuthLocation.QUERY) {
233
233
  clonedRequest.query[signingProperties.name] = identity.apiKey;
234
234
  }
235
- else if (signingProperties.in === types.HttpApiKeyAuthLocation.HEADER) {
235
+ else if (signingProperties.in === HttpApiKeyAuthLocation.HEADER) {
236
236
  clonedRequest.headers[signingProperties.name] = signingProperties.scheme
237
237
  ? `${signingProperties.scheme} ${identity.apiKey}`
238
238
  : identity.apiKey;
@@ -249,7 +249,7 @@ class HttpApiKeyAuthSigner {
249
249
 
250
250
  class HttpBearerAuthSigner {
251
251
  async sign(httpRequest, identity, signingProperties) {
252
- const clonedRequest = protocols.HttpRequest.clone(httpRequest);
252
+ const clonedRequest = HttpRequest.clone(httpRequest);
253
253
  if (!identity.token) {
254
254
  throw new Error("request could not be signed with `token` since the `token` is not defined");
255
255
  }
@@ -320,8 +320,6 @@ const memoizeIdentityProvider = (provider, isExpired, requiresRefresh) => {
320
320
  };
321
321
  };
322
322
 
323
- exports.getSmithyContext = transport.getSmithyContext;
324
- exports.requestBuilder = protocols.requestBuilder;
325
323
  exports.DefaultIdentityProviderConfig = DefaultIdentityProviderConfig;
326
324
  exports.EXPIRATION_MS = EXPIRATION_MS;
327
325
  exports.HttpApiKeyAuthSigner = HttpApiKeyAuthSigner;