@psnext/slingcli 3.5.20261026-1 → 3.6.20261105-1

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 (476) hide show
  1. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +38 -13
  2. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +7 -7
  3. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +51 -1
  4. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -1
  5. package/node_modules/@aws-sdk/core/dist-es/submodules/client/getDefaultSocketTimeout.js +10 -0
  6. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.browser.js +1 -0
  7. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
  8. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.native.js +1 -0
  9. package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-host-header/hostHeaderMiddleware.js +4 -2
  10. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/parseArn.js +4 -2
  11. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.js +18 -9
  12. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +6 -3
  13. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
  14. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -0
  15. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.js +51 -0
  16. package/node_modules/@aws-sdk/core/dist-es/submodules/util/util-arn-parser/arn.js +2 -1
  17. package/node_modules/@aws-sdk/core/dist-types/submodules/client/getDefaultSocketTimeout.d.ts +11 -0
  18. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.browser.d.ts +1 -0
  19. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
  20. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.native.d.ts +1 -0
  21. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +3 -7
  22. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +1 -0
  23. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +25 -0
  24. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/getDefaultSocketTimeout.d.ts +4 -0
  25. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +1 -0
  26. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
  27. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +1 -0
  28. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  29. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +36 -0
  30. package/node_modules/@aws-sdk/core/package.json +4 -4
  31. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  32. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/LICENSE +201 -0
  33. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/README.md +9 -0
  34. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +914 -0
  35. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
  36. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
  37. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +13 -0
  38. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +51 -0
  39. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
  40. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +263 -0
  41. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +135 -0
  42. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +46 -0
  43. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +204 -0
  44. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
  45. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
  46. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/resolve-default-socket-timeout.js +4 -0
  47. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
  48. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
  49. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
  50. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +38 -0
  51. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  52. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +63 -0
  53. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
  54. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
  55. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
  56. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +46 -0
  57. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
  58. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +47 -0
  59. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +46 -0
  60. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +36 -0
  61. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +76 -0
  62. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
  63. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
  64. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/resolve-default-socket-timeout.d.ts +4 -0
  65. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  66. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
  67. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -0
  68. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +11 -0
  69. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +9 -0
  70. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
  71. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
  72. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
  73. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +46 -0
  74. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
  75. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +47 -0
  76. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +46 -0
  77. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +36 -0
  78. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +76 -0
  79. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +2 -0
  80. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +2 -0
  81. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/resolve-default-socket-timeout.d.ts +4 -0
  82. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
  83. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
  84. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
  85. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +11 -0
  86. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +9 -0
  87. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
  88. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +12 -0
  89. package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +56 -0
  90. package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
  91. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
  92. package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
  93. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  94. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  95. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +4 -4
  96. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  97. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  98. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +2 -2
  99. package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +4 -2
  100. package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js +2 -1
  101. package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js +2 -1
  102. package/node_modules/@aws-sdk/middleware-eventstream/package.json +2 -2
  103. package/node_modules/@aws-sdk/middleware-websocket/package.json +4 -4
  104. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +3 -2
  105. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +10 -2
  106. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +3 -2
  107. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +3 -2
  108. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +3 -2
  109. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -1
  110. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
  111. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -1
  112. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -1
  113. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
  114. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
  115. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
  116. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -2
  117. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +1 -2
  118. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -59
  119. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +5 -33
  120. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -2
  121. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +16 -9
  122. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +8 -39
  123. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +36 -48
  124. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -0
  125. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -0
  126. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  127. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
  128. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
  129. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +7 -0
  130. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +1 -0
  131. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +1 -0
  132. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  133. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -0
  134. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/LICENSE +201 -0
  135. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/README.md +9 -0
  136. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +914 -0
  137. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
  138. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
  139. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +13 -0
  140. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +51 -0
  141. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
  142. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +263 -0
  143. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +135 -0
  144. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +46 -0
  145. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +204 -0
  146. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
  147. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
  148. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/resolve-default-socket-timeout.js +4 -0
  149. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
  150. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
  151. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
  152. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +38 -0
  153. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  154. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +63 -0
  155. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
  156. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
  157. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
  158. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +46 -0
  159. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
  160. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +47 -0
  161. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +46 -0
  162. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +36 -0
  163. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +76 -0
  164. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
  165. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
  166. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/resolve-default-socket-timeout.d.ts +4 -0
  167. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  168. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
  169. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -0
  170. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +11 -0
  171. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +9 -0
  172. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
  173. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
  174. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
  175. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +46 -0
  176. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
  177. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +47 -0
  178. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +46 -0
  179. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +36 -0
  180. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +76 -0
  181. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +2 -0
  182. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +2 -0
  183. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/resolve-default-socket-timeout.d.ts +4 -0
  184. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
  185. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
  186. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
  187. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +11 -0
  188. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +9 -0
  189. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
  190. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +12 -0
  191. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +56 -0
  192. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  193. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  194. package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
  195. package/node_modules/@babel/runtime/helpers/asyncIterator.js +1 -1
  196. package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +1 -1
  197. package/node_modules/@babel/runtime/package.json +1 -1
  198. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/LICENSE +15 -0
  199. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/bin/semver.js +195 -0
  200. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/classes/comparator.js +143 -0
  201. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/classes/index.js +7 -0
  202. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/classes/range.js +577 -0
  203. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/classes/semver.js +350 -0
  204. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/clean.js +8 -0
  205. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/cmp.js +54 -0
  206. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/coerce.js +62 -0
  207. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/compare-build.js +9 -0
  208. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/compare-loose.js +5 -0
  209. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/compare.js +7 -0
  210. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/diff.js +60 -0
  211. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/eq.js +5 -0
  212. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/gt.js +5 -0
  213. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/gte.js +5 -0
  214. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/inc.js +21 -0
  215. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/lt.js +5 -0
  216. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/lte.js +5 -0
  217. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/major.js +5 -0
  218. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/minor.js +5 -0
  219. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/neq.js +5 -0
  220. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/parse.js +18 -0
  221. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/patch.js +5 -0
  222. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/prerelease.js +8 -0
  223. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/rcompare.js +5 -0
  224. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/rsort.js +5 -0
  225. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/satisfies.js +12 -0
  226. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/sort.js +5 -0
  227. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/truncate.js +48 -0
  228. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/valid.js +8 -0
  229. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/index.js +93 -0
  230. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/constants.js +37 -0
  231. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/debug.js +11 -0
  232. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/identifiers.js +29 -0
  233. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/lrucache.js +42 -0
  234. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/parse-options.js +17 -0
  235. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/re.js +223 -0
  236. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/package.json +78 -0
  237. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/preload.js +4 -0
  238. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/range.bnf +17 -0
  239. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/gtr.js +6 -0
  240. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/intersects.js +9 -0
  241. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/ltr.js +6 -0
  242. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/max-satisfying.js +27 -0
  243. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/min-satisfying.js +26 -0
  244. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/min-version.js +63 -0
  245. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/outside.js +82 -0
  246. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/simplify.js +49 -0
  247. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/subset.js +249 -0
  248. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/to-comparators.js +10 -0
  249. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/valid.js +13 -0
  250. package/node_modules/@hono/node-server/dist/index.cjs +31 -6
  251. package/node_modules/@hono/node-server/dist/index.mjs +31 -6
  252. package/node_modules/@hono/node-server/package.json +1 -1
  253. package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
  254. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +45 -53
  255. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +37 -17
  256. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
  257. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
  258. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
  259. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
  260. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +10 -5
  261. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +18 -9
  262. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +18 -9
  263. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +86 -53
  264. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +53 -15
  265. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +57 -17
  266. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +13 -4
  267. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +7 -1
  268. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +13 -4
  269. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
  270. package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  271. package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
  272. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +12 -37
  273. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
  274. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
  275. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
  276. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
  277. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -1
  278. package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
  279. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +1 -0
  280. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
  281. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +4 -2
  282. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
  283. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
  284. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
  285. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
  286. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
  287. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
  288. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
  289. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
  290. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
  291. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
  292. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
  293. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +2 -1
  294. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
  295. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
  296. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
  297. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
  298. package/node_modules/@smithy/core/dist-es/submodules/protocols/AbstractRpcV2Protocol.js +35 -0
  299. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
  300. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -2
  301. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -2
  302. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
  303. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +8 -31
  304. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +7 -5
  305. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +7 -5
  306. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +7 -5
  307. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +6 -3
  308. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
  309. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
  310. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
  311. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
  312. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +17 -8
  313. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
  314. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/race.js +22 -0
  315. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
  316. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  317. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
  318. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
  319. package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
  320. package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
  321. package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
  322. package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
  323. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
  324. package/node_modules/@smithy/core/dist-types/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
  325. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +12 -0
  326. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
  327. package/node_modules/@smithy/core/dist-types/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +5 -14
  328. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  329. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/race.d.ts +3 -0
  330. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
  331. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  332. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
  333. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
  334. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
  335. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +12 -0
  336. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  337. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +5 -14
  338. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  339. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/race.d.ts +3 -0
  340. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
  341. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  342. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
  343. package/node_modules/@smithy/core/package.json +2 -2
  344. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +10 -4
  345. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +6 -2
  346. package/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +4 -2
  347. package/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +12 -1
  348. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +12 -1
  349. package/node_modules/@smithy/fetch-http-handler/package.json +3 -3
  350. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +23 -11
  351. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -2
  352. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
  353. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +5 -1
  354. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +2 -1
  355. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +2 -1
  356. package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +6 -3
  357. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
  358. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -1
  359. package/node_modules/@smithy/signature-v4/package.json +2 -2
  360. package/node_modules/@smithy/types/dist-types/middleware.d.ts +6 -0
  361. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +6 -0
  362. package/node_modules/@smithy/types/package.json +1 -1
  363. package/node_modules/@types/node/README.md +1 -1
  364. package/node_modules/@types/node/package.json +2 -2
  365. package/node_modules/@types/node/zlib.d.ts +752 -0
  366. package/node_modules/bowser/README.md +26 -3
  367. package/node_modules/bowser/bowser.mjs +2225 -0
  368. package/node_modules/bowser/bundled.js +14 -1
  369. package/node_modules/bowser/es5.js +14 -1
  370. package/node_modules/bowser/index.d.mts +45 -0
  371. package/node_modules/bowser/package.json +90 -31
  372. package/node_modules/bowser/src/bowser.js +9 -1
  373. package/node_modules/bowser/src/constants.js +7 -0
  374. package/node_modules/bowser/src/parser-browsers.js +73 -7
  375. package/node_modules/bowser/src/parser-engines.js +12 -0
  376. package/node_modules/bowser/src/parser-os.js +3 -1
  377. package/node_modules/bowser/src/parser-platforms.js +3 -1
  378. package/node_modules/bowser/src/parser.js +22 -5
  379. package/node_modules/bowser/src/utils.js +16 -0
  380. package/node_modules/encodeurl/README.md +14 -0
  381. package/node_modules/encodeurl/index.js +5 -10
  382. package/node_modules/encodeurl/package.json +10 -6
  383. package/node_modules/express-rate-limit/dist/index.cjs +7 -3
  384. package/node_modules/express-rate-limit/dist/index.mjs +7 -3
  385. package/node_modules/express-rate-limit/package.json +10 -10
  386. package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +1 -1
  387. package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +1 -1
  388. package/node_modules/hono/dist/cjs/context.js +1 -1
  389. package/node_modules/hono/dist/cjs/helper/css/common.js +3 -5
  390. package/node_modules/hono/dist/cjs/hono-base.js +4 -10
  391. package/node_modules/hono/dist/cjs/hono.js +0 -1
  392. package/node_modules/hono/dist/cjs/middleware/basic-auth/index.js +1 -1
  393. package/node_modules/hono/dist/cjs/middleware/bearer-auth/index.js +1 -1
  394. package/node_modules/hono/dist/cjs/middleware/csrf/index.js +2 -2
  395. package/node_modules/hono/dist/cjs/middleware/jwk/jwk.js +2 -2
  396. package/node_modules/hono/dist/cjs/middleware/jwt/jwt.js +2 -2
  397. package/node_modules/hono/dist/cjs/middleware/mount/index.js +4 -4
  398. package/node_modules/hono/dist/cjs/router/reg-exp-router/node.js +13 -11
  399. package/node_modules/hono/dist/cjs/router/reg-exp-router/prepared-router.js +4 -4
  400. package/node_modules/hono/dist/cjs/router/reg-exp-router/router.js +39 -51
  401. package/node_modules/hono/dist/cjs/router/reg-exp-router/trie.js +15 -5
  402. package/node_modules/hono/dist/cjs/utils/jwt/jwt.js +2 -1
  403. package/node_modules/hono/dist/cjs/utils/mount.js +35 -0
  404. package/node_modules/hono/dist/cjs/utils/url.js +10 -0
  405. package/node_modules/hono/dist/cjs/validator/validator.js +1 -1
  406. package/node_modules/hono/dist/context.js +1 -1
  407. package/node_modules/hono/dist/helper/css/common.js +3 -5
  408. package/node_modules/hono/dist/hono-base.js +4 -10
  409. package/node_modules/hono/dist/hono.js +0 -1
  410. package/node_modules/hono/dist/middleware/basic-auth/index.js +1 -1
  411. package/node_modules/hono/dist/middleware/bearer-auth/index.js +1 -1
  412. package/node_modules/hono/dist/middleware/csrf/index.js +2 -2
  413. package/node_modules/hono/dist/middleware/jwk/jwk.js +2 -2
  414. package/node_modules/hono/dist/middleware/jwt/jwt.js +2 -2
  415. package/node_modules/hono/dist/middleware/language/language.js +1 -1
  416. package/node_modules/hono/dist/middleware/mount/index.js +4 -4
  417. package/node_modules/hono/dist/router/reg-exp-router/node.js +13 -11
  418. package/node_modules/hono/dist/router/reg-exp-router/prepared-router.js +5 -5
  419. package/node_modules/hono/dist/router/reg-exp-router/router.js +40 -52
  420. package/node_modules/hono/dist/router/reg-exp-router/trie.js +15 -5
  421. package/node_modules/hono/dist/types/middleware/mount/index.d.ts +1 -0
  422. package/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +3 -3
  423. package/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +1 -1
  424. package/node_modules/hono/dist/types/utils/mount.d.ts +4 -0
  425. package/node_modules/hono/dist/types/utils/url.d.ts +1 -0
  426. package/node_modules/hono/dist/utils/jwt/jwt.js +2 -1
  427. package/node_modules/hono/dist/utils/mount.js +34 -0
  428. package/node_modules/hono/dist/utils/url.js +10 -1
  429. package/node_modules/hono/dist/validator/validator.js +1 -1
  430. package/node_modules/hono/package.json +1 -1
  431. package/node_modules/ip-address/README.md +39 -39
  432. package/node_modules/ip-address/dist/ipv6.js +1 -1
  433. package/node_modules/ip-address/dist/ipv6.js.map +1 -1
  434. package/node_modules/ip-address/package.json +1 -1
  435. package/node_modules/jose/dist/types/jwt/decrypt.d.ts +3 -0
  436. package/node_modules/jose/dist/types/jwt/unsecured.d.ts +2 -0
  437. package/node_modules/jose/dist/types/jwt/verify.d.ts +3 -0
  438. package/node_modules/jose/dist/types/types.d.ts +8 -0
  439. package/node_modules/jose/dist/types/util/decode_jwt.d.ts +1 -0
  440. package/node_modules/jose/dist/webapi/jwks/remote.js +3 -1
  441. package/node_modules/jose/dist/webapi/lib/deflate.js +2 -1
  442. package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +2 -1
  443. package/node_modules/jose/package.json +1 -1
  444. package/node_modules/qs/.editorconfig +1 -1
  445. package/node_modules/qs/CHANGELOG.md +87 -22
  446. package/node_modules/qs/README.md +63 -10
  447. package/node_modules/qs/dist/qs.js +17 -17
  448. package/node_modules/qs/eslint.config.mjs +61 -50
  449. package/node_modules/qs/lib/formats.js +7 -2
  450. package/node_modules/qs/lib/parse.js +29 -10
  451. package/node_modules/qs/lib/stringify.js +5 -3
  452. package/node_modules/qs/lib/utils.js +28 -9
  453. package/node_modules/qs/package.json +6 -6
  454. package/node_modules/qs/test/parse.js +335 -2
  455. package/node_modules/qs/test/stringify.js +222 -0
  456. package/node_modules/qs/test/utils.js +61 -3
  457. package/node_modules/semver/classes/range.js +2 -2
  458. package/node_modules/semver/internal/constants.js +30 -0
  459. package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  460. package/node_modules/semver/package.json +1 -1
  461. package/node_modules/tslib/README.md +3 -8
  462. package/node_modules/tslib/package.json +1 -1
  463. package/node_modules/tslib/tslib.d.ts +4 -2
  464. package/node_modules/tslib/tslib.es6.js +10 -1
  465. package/node_modules/tslib/tslib.es6.mjs +10 -1
  466. package/node_modules/tslib/tslib.js +10 -1
  467. package/node_modules/ws/README.md +21 -29
  468. package/node_modules/ws/lib/buffer-util.js +13 -2
  469. package/node_modules/ws/lib/sender.js +4 -1
  470. package/node_modules/ws/lib/websocket.js +8 -3
  471. package/node_modules/ws/package.json +1 -1
  472. package/package.json +14 -14
  473. package/slingshot/index.js +2 -2
  474. /package/node_modules/@smithy/core/dist-es/submodules/{protocols → serde}/writeKey.js +0 -0
  475. /package/node_modules/@smithy/core/dist-types/submodules/{protocols → serde}/writeKey.d.ts +0 -0
  476. /package/node_modules/@smithy/core/dist-types/ts3.4/submodules/{protocols → serde}/writeKey.d.ts +0 -0
@@ -1,6 +1,7 @@
1
1
  const { NoOpLogger, normalizeProvider } = require("@smithy/core/client");
2
2
  const { HttpResponse, HttpRequest } = require("@smithy/core/protocols");
3
3
  const { parseRfc7231DateTime, v4 } = require("@smithy/core/serde");
4
+ const { SMITHY_CONTEXT_KEY } = require("@smithy/types");
4
5
  const { hasOwn } = require("@smithy/core/transport");
5
6
 
6
7
  const isStreamingPayload = (request) => request?.body instanceof ReadableStream;
@@ -80,6 +81,29 @@ function isNodeJsHttp2TransientError(error) {
80
81
  return error.code === "ERR_HTTP2_STREAM_ERROR" && error.message.includes("NGHTTP2_REFUSED_STREAM");
81
82
  }
82
83
 
84
+ const race = (promise, signal) => {
85
+ if (!signal) {
86
+ return promise;
87
+ }
88
+ let cleanup = () => { };
89
+ const aborted = new Promise((_, reject) => {
90
+ const handler = () => reject(createAbortError());
91
+ if (signal.aborted) {
92
+ handler();
93
+ }
94
+ else if (typeof signal.addEventListener === "function") {
95
+ signal.addEventListener("abort", handler, { once: true });
96
+ cleanup = () => signal.removeEventListener("abort", handler);
97
+ }
98
+ else {
99
+ signal.onabort = handler;
100
+ }
101
+ });
102
+ return Promise.race([promise, aborted]).finally(cleanup);
103
+ };
104
+ const createAbortError = () => Object.assign(new Error("Request aborted"), { name: "AbortError" });
105
+ const isAbortError = (error) => typeof error === "object" && error !== null && "name" in error && error.name === "AbortError";
106
+
83
107
  const DEFAULT_RETRY_DELAY_BASE = 100;
84
108
  const MAXIMUM_RETRY_DELAY = 20 * 1000;
85
109
  const THROTTLING_RETRY_DELAY_BASE = 500;
@@ -95,8 +119,9 @@ function parseRetryAfterHeader(response, logger) {
95
119
  return;
96
120
  }
97
121
  for (const header in response.headers) {
98
- if (!hasOwn(response.headers, header))
122
+ if (!hasOwn(response.headers, header)) {
99
123
  continue;
124
+ }
100
125
  const h = header.toLowerCase();
101
126
  if (h === "retry-after") {
102
127
  const retryAfter = response.headers[header];
@@ -141,12 +166,15 @@ function getRetryAfterHint(response, logger) {
141
166
  }
142
167
 
143
168
  const asSdkError = (error) => {
144
- if (error instanceof Error)
169
+ if (error instanceof Error) {
145
170
  return error;
146
- if (error instanceof Object)
171
+ }
172
+ if (error instanceof Object) {
147
173
  return Object.assign(new Error(), error);
148
- if (typeof error === "string")
174
+ }
175
+ if (typeof error === "string") {
149
176
  return new Error(error);
177
+ }
150
178
  return new Error(`AWS SDK error wrapper for ${error}`);
151
179
  };
152
180
 
@@ -154,9 +182,11 @@ function bindRetryMiddleware(isStreamingPayload) {
154
182
  return (options) => (next, context) => async (args) => {
155
183
  let retryStrategy = await options.retryStrategy();
156
184
  const maxAttempts = await options.maxAttempts();
185
+ const abortSignal = context[SMITHY_CONTEXT_KEY]?.abortSignal;
157
186
  if (isRetryStrategyV2(retryStrategy)) {
158
187
  retryStrategy = retryStrategy;
159
- let retryToken = await retryStrategy.acquireInitialRetryToken((context["partition_id"] ?? "") + (context.__retryLongPoll ? ":longpoll" : ""));
188
+ const retryTokenScope = (context["partition_id"] ?? "") + (context.__retryLongPoll ? ":longpoll" : "");
189
+ let retryToken = await race(retryStrategy.acquireInitialRetryToken(retryTokenScope), abortSignal);
160
190
  let lastError = new Error();
161
191
  let attempts = 0;
162
192
  let totalRetryDelay = 0;
@@ -184,9 +214,12 @@ function bindRetryMiddleware(isStreamingPayload) {
184
214
  throw lastError;
185
215
  }
186
216
  try {
187
- retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo);
217
+ retryToken = await race(retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo), abortSignal);
188
218
  }
189
- catch (ignoredRefreshError) {
219
+ catch (refreshError) {
220
+ if (abortSignal?.aborted && isAbortError(refreshError)) {
221
+ throw refreshError;
222
+ }
190
223
  if (!lastError.$metadata) {
191
224
  lastError.$metadata = {};
192
225
  }
@@ -198,7 +231,7 @@ function bindRetryMiddleware(isStreamingPayload) {
198
231
  const delay = retryToken.getRetryDelay();
199
232
  totalRetryDelay += (retryToken?.$retryLog?.acquisitionDelay ?? 0) + delay;
200
233
  if (delay > 0) {
201
- await cooldown(delay);
234
+ await race(new Promise((resolve) => setTimeout(resolve, delay)), abortSignal);
202
235
  }
203
236
  }
204
237
  }
@@ -212,7 +245,6 @@ function bindRetryMiddleware(isStreamingPayload) {
212
245
  }
213
246
  };
214
247
  }
215
- const cooldown = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
216
248
  const isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" &&
217
249
  typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" &&
218
250
  typeof retryStrategy.recordSuccess !== "undefined";
@@ -228,12 +260,15 @@ const getRetryErrorInfo = (error, logger) => {
228
260
  return errorInfo;
229
261
  };
230
262
  const getRetryErrorType = (error) => {
231
- if (isThrottlingError(error))
263
+ if (isThrottlingError(error)) {
232
264
  return "THROTTLING";
233
- if (isTransientError(error))
265
+ }
266
+ if (isTransientError(error)) {
234
267
  return "TRANSIENT";
235
- if (isServerError(error))
268
+ }
269
+ if (isServerError(error)) {
236
270
  return "SERVER_ERROR";
271
+ }
237
272
  return "CLIENT_ERROR";
238
273
  };
239
274
  const retryMiddlewareOptions = {
@@ -685,15 +720,18 @@ class StandardRetryStrategy {
685
720
  }
686
721
  }
687
722
  const getDelayFromRetryAfterHeader = (response) => {
688
- if (!HttpResponse.isInstance(response))
723
+ if (!HttpResponse.isInstance(response)) {
689
724
  return;
725
+ }
690
726
  const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
691
- if (!retryAfterHeaderName)
727
+ if (!retryAfterHeaderName) {
692
728
  return;
729
+ }
693
730
  const retryAfter = response.headers[retryAfterHeaderName];
694
731
  const retryAfterSeconds = Number(retryAfter);
695
- if (!Number.isNaN(retryAfterSeconds))
732
+ if (!Number.isNaN(retryAfterSeconds)) {
696
733
  return Math.min(retryAfterSeconds * 1000, 20_000);
734
+ }
697
735
  const retryAfterDate = new Date(retryAfter);
698
736
  return Math.min(retryAfterDate.getTime() - Date.now(), 20_000);
699
737
  };
@@ -2,6 +2,7 @@ const { Readable } = require("node:stream");
2
2
  const { NoOpLogger, normalizeProvider } = require("@smithy/core/client");
3
3
  const { HttpResponse, HttpRequest } = require("@smithy/core/protocols");
4
4
  const { parseRfc7231DateTime, v4 } = require("@smithy/core/serde");
5
+ const { SMITHY_CONTEXT_KEY } = require("@smithy/types");
5
6
  const { hasOwn } = require("@smithy/core/transport");
6
7
 
7
8
  const isStreamingPayload = (request) => request?.body instanceof Readable ||
@@ -82,6 +83,29 @@ function isNodeJsHttp2TransientError(error) {
82
83
  return error.code === "ERR_HTTP2_STREAM_ERROR" && error.message.includes("NGHTTP2_REFUSED_STREAM");
83
84
  }
84
85
 
86
+ const race = (promise, signal) => {
87
+ if (!signal) {
88
+ return promise;
89
+ }
90
+ let cleanup = () => { };
91
+ const aborted = new Promise((_, reject) => {
92
+ const handler = () => reject(createAbortError());
93
+ if (signal.aborted) {
94
+ handler();
95
+ }
96
+ else if (typeof signal.addEventListener === "function") {
97
+ signal.addEventListener("abort", handler, { once: true });
98
+ cleanup = () => signal.removeEventListener("abort", handler);
99
+ }
100
+ else {
101
+ signal.onabort = handler;
102
+ }
103
+ });
104
+ return Promise.race([promise, aborted]).finally(cleanup);
105
+ };
106
+ const createAbortError = () => Object.assign(new Error("Request aborted"), { name: "AbortError" });
107
+ const isAbortError = (error) => typeof error === "object" && error !== null && "name" in error && error.name === "AbortError";
108
+
85
109
  const DEFAULT_RETRY_DELAY_BASE = 100;
86
110
  const MAXIMUM_RETRY_DELAY = 20 * 1000;
87
111
  const THROTTLING_RETRY_DELAY_BASE = 500;
@@ -97,8 +121,9 @@ function parseRetryAfterHeader(response, logger) {
97
121
  return;
98
122
  }
99
123
  for (const header in response.headers) {
100
- if (!hasOwn(response.headers, header))
124
+ if (!hasOwn(response.headers, header)) {
101
125
  continue;
126
+ }
102
127
  const h = header.toLowerCase();
103
128
  if (h === "retry-after") {
104
129
  const retryAfter = response.headers[header];
@@ -143,12 +168,15 @@ function getRetryAfterHint(response, logger) {
143
168
  }
144
169
 
145
170
  const asSdkError = (error) => {
146
- if (error instanceof Error)
171
+ if (error instanceof Error) {
147
172
  return error;
148
- if (error instanceof Object)
173
+ }
174
+ if (error instanceof Object) {
149
175
  return Object.assign(new Error(), error);
150
- if (typeof error === "string")
176
+ }
177
+ if (typeof error === "string") {
151
178
  return new Error(error);
179
+ }
152
180
  return new Error(`AWS SDK error wrapper for ${error}`);
153
181
  };
154
182
 
@@ -156,9 +184,11 @@ function bindRetryMiddleware(isStreamingPayload) {
156
184
  return (options) => (next, context) => async (args) => {
157
185
  let retryStrategy = await options.retryStrategy();
158
186
  const maxAttempts = await options.maxAttempts();
187
+ const abortSignal = context[SMITHY_CONTEXT_KEY]?.abortSignal;
159
188
  if (isRetryStrategyV2(retryStrategy)) {
160
189
  retryStrategy = retryStrategy;
161
- let retryToken = await retryStrategy.acquireInitialRetryToken((context["partition_id"] ?? "") + (context.__retryLongPoll ? ":longpoll" : ""));
190
+ const retryTokenScope = (context["partition_id"] ?? "") + (context.__retryLongPoll ? ":longpoll" : "");
191
+ let retryToken = await race(retryStrategy.acquireInitialRetryToken(retryTokenScope), abortSignal);
162
192
  let lastError = new Error();
163
193
  let attempts = 0;
164
194
  let totalRetryDelay = 0;
@@ -186,9 +216,12 @@ function bindRetryMiddleware(isStreamingPayload) {
186
216
  throw lastError;
187
217
  }
188
218
  try {
189
- retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo);
219
+ retryToken = await race(retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo), abortSignal);
190
220
  }
191
- catch (ignoredRefreshError) {
221
+ catch (refreshError) {
222
+ if (abortSignal?.aborted && isAbortError(refreshError)) {
223
+ throw refreshError;
224
+ }
192
225
  if (!lastError.$metadata) {
193
226
  lastError.$metadata = {};
194
227
  }
@@ -200,7 +233,7 @@ function bindRetryMiddleware(isStreamingPayload) {
200
233
  const delay = retryToken.getRetryDelay();
201
234
  totalRetryDelay += (retryToken?.$retryLog?.acquisitionDelay ?? 0) + delay;
202
235
  if (delay > 0) {
203
- await cooldown(delay);
236
+ await race(new Promise((resolve) => setTimeout(resolve, delay)), abortSignal);
204
237
  }
205
238
  }
206
239
  }
@@ -214,7 +247,6 @@ function bindRetryMiddleware(isStreamingPayload) {
214
247
  }
215
248
  };
216
249
  }
217
- const cooldown = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
218
250
  const isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" &&
219
251
  typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" &&
220
252
  typeof retryStrategy.recordSuccess !== "undefined";
@@ -230,12 +262,15 @@ const getRetryErrorInfo = (error, logger) => {
230
262
  return errorInfo;
231
263
  };
232
264
  const getRetryErrorType = (error) => {
233
- if (isThrottlingError(error))
265
+ if (isThrottlingError(error)) {
234
266
  return "THROTTLING";
235
- if (isTransientError(error))
267
+ }
268
+ if (isTransientError(error)) {
236
269
  return "TRANSIENT";
237
- if (isServerError(error))
270
+ }
271
+ if (isServerError(error)) {
238
272
  return "SERVER_ERROR";
273
+ }
239
274
  return "CLIENT_ERROR";
240
275
  };
241
276
  const retryMiddlewareOptions = {
@@ -687,15 +722,18 @@ class StandardRetryStrategy {
687
722
  }
688
723
  }
689
724
  const getDelayFromRetryAfterHeader = (response) => {
690
- if (!HttpResponse.isInstance(response))
725
+ if (!HttpResponse.isInstance(response)) {
691
726
  return;
727
+ }
692
728
  const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
693
- if (!retryAfterHeaderName)
729
+ if (!retryAfterHeaderName) {
694
730
  return;
731
+ }
695
732
  const retryAfter = response.headers[retryAfterHeaderName];
696
733
  const retryAfterSeconds = Number(retryAfter);
697
- if (!Number.isNaN(retryAfterSeconds))
734
+ if (!Number.isNaN(retryAfterSeconds)) {
698
735
  return Math.min(retryAfterSeconds * 1000, 20_000);
736
+ }
699
737
  const retryAfterDate = new Date(retryAfter);
700
738
  return Math.min(retryAfterDate.getTime() - Date.now(), 20_000);
701
739
  };
@@ -725,8 +763,9 @@ const CONFIG_MAX_ATTEMPTS = "max_attempts";
725
763
  const NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
726
764
  environmentVariableSelector: (env) => {
727
765
  const value = env[ENV_MAX_ATTEMPTS];
728
- if (!value)
766
+ if (!value) {
729
767
  return undefined;
768
+ }
730
769
  const maxAttempt = parseInt(value);
731
770
  if (Number.isNaN(maxAttempt)) {
732
771
  throw new Error(`Environment variable ${ENV_MAX_ATTEMPTS} mast be a number, got "${value}"`);
@@ -735,8 +774,9 @@ const NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
735
774
  },
736
775
  configFileSelector: (profile) => {
737
776
  const value = profile[CONFIG_MAX_ATTEMPTS];
738
- if (!value)
777
+ if (!value) {
739
778
  return undefined;
779
+ }
740
780
  const maxAttempt = parseInt(value);
741
781
  if (Number.isNaN(maxAttempt)) {
742
782
  throw new Error(`Shared config file entry ${CONFIG_MAX_ATTEMPTS} mast be a number, got "${value}"`);
@@ -292,8 +292,9 @@ const expectUnion = (value) => {
292
292
  const asObject = expectObject(value);
293
293
  const setKeys = [];
294
294
  for (const k in asObject) {
295
- if (!hasOwn(asObject, k))
295
+ if (!hasOwn(asObject, k)) {
296
296
  continue;
297
+ }
297
298
  if (asObject[k] != null) {
298
299
  setKeys.push(k);
299
300
  }
@@ -847,12 +848,15 @@ const calculateBodyLength = (body) => {
847
848
  let len = body.length;
848
849
  for (let i = len - 1; i >= 0; i--) {
849
850
  const code = body.charCodeAt(i);
850
- if (code > 0x7f && code <= 0x7ff)
851
+ if (code > 0x7f && code <= 0x7ff) {
851
852
  len++;
852
- else if (code > 0x7ff && code <= 0xffff)
853
+ }
854
+ else if (code > 0x7ff && code <= 0xffff) {
853
855
  len += 2;
854
- if (code >= 0xdc00 && code <= 0xdfff)
856
+ }
857
+ if (code >= 0xdc00 && code <= 0xdfff) {
855
858
  i--;
859
+ }
856
860
  }
857
861
  return len;
858
862
  }
@@ -1318,6 +1322,10 @@ async function splitStream(stream) {
1318
1322
  return readableStream.tee();
1319
1323
  }
1320
1324
 
1325
+ function writeKey(obj) {
1326
+ Object.defineProperty(obj, "__proto__", { value: undefined, writable: true, enumerable: true, configurable: true });
1327
+ }
1328
+
1321
1329
  const no = Symbol.for("node-only");
1322
1330
  const fromArrayBuffer = no;
1323
1331
  const fromString = no;
@@ -1400,3 +1408,4 @@ exports.toHex = toHex;
1400
1408
  exports.toUint8Array = toUint8Array;
1401
1409
  exports.toUtf8 = toUtf8;
1402
1410
  exports.v4 = v4;
1411
+ exports.writeKey = writeKey;
@@ -260,8 +260,9 @@ const expectUnion = (value) => {
260
260
  const asObject = expectObject(value);
261
261
  const setKeys = [];
262
262
  for (const k in asObject) {
263
- if (!hasOwn(asObject, k))
263
+ if (!hasOwn(asObject, k)) {
264
264
  continue;
265
+ }
265
266
  if (asObject[k] != null) {
266
267
  setKeys.push(k);
267
268
  }
@@ -1685,6 +1686,10 @@ async function splitStream(stream) {
1685
1686
  return [stream1, stream2];
1686
1687
  }
1687
1688
 
1689
+ function writeKey(obj) {
1690
+ Object.defineProperty(obj, "__proto__", { value: undefined, writable: true, enumerable: true, configurable: true });
1691
+ }
1692
+
1688
1693
  class Uint8ArrayBlobAdapter extends bindUint8ArrayBlobAdapter(toUtf8$1, fromUtf8$1, toBase64$1, fromBase64) {
1689
1694
  }
1690
1695
  const _getRandomValues = getRandomValues;
@@ -1763,3 +1768,4 @@ exports.toHex = toHex;
1763
1768
  exports.toUint8Array = toUint8Array;
1764
1769
  exports.toUtf8 = toUtf8$1;
1765
1770
  exports.v4 = v4;
1771
+ exports.writeKey = writeKey;
@@ -292,8 +292,9 @@ const expectUnion = (value) => {
292
292
  const asObject = expectObject(value);
293
293
  const setKeys = [];
294
294
  for (const k in asObject) {
295
- if (!hasOwn(asObject, k))
295
+ if (!hasOwn(asObject, k)) {
296
296
  continue;
297
+ }
297
298
  if (asObject[k] != null) {
298
299
  setKeys.push(k);
299
300
  }
@@ -847,12 +848,15 @@ const calculateBodyLength = (body) => {
847
848
  let len = body.length;
848
849
  for (let i = len - 1; i >= 0; i--) {
849
850
  const code = body.charCodeAt(i);
850
- if (code > 0x7f && code <= 0x7ff)
851
+ if (code > 0x7f && code <= 0x7ff) {
851
852
  len++;
852
- else if (code > 0x7ff && code <= 0xffff)
853
+ }
854
+ else if (code > 0x7ff && code <= 0xffff) {
853
855
  len += 2;
854
- if (code >= 0xdc00 && code <= 0xdfff)
856
+ }
857
+ if (code >= 0xdc00 && code <= 0xdfff) {
855
858
  i--;
859
+ }
856
860
  }
857
861
  return len;
858
862
  }
@@ -1318,6 +1322,10 @@ async function splitStream(stream) {
1318
1322
  return readableStream.tee();
1319
1323
  }
1320
1324
 
1325
+ function writeKey(obj) {
1326
+ Object.defineProperty(obj, "__proto__", { value: undefined, writable: true, enumerable: true, configurable: true });
1327
+ }
1328
+
1321
1329
  const no = Symbol.for("node-only");
1322
1330
  const fromArrayBuffer = no;
1323
1331
  const fromString = no;
@@ -1400,3 +1408,4 @@ exports.toHex = toHex;
1400
1408
  exports.toUint8Array = toUint8Array;
1401
1409
  exports.toUtf8 = toUtf8;
1402
1410
  exports.v4 = v4;
1411
+ exports.writeKey = writeKey;
@@ -83,8 +83,9 @@ class HttpResponse {
83
83
  this.body = options.body;
84
84
  }
85
85
  static isInstance(response) {
86
- if (!response)
86
+ if (!response) {
87
87
  return false;
88
+ }
88
89
  const resp = response;
89
90
  return typeof resp.statusCode === "number" && typeof resp.headers === "object";
90
91
  }
@@ -110,8 +111,9 @@ function isValidHostname(hostname) {
110
111
  }
111
112
 
112
113
  const normalizeProvider = (input) => {
113
- if (typeof input === "function")
114
+ if (typeof input === "function") {
114
115
  return input;
116
+ }
115
117
  const promisified = Promise.resolve(input);
116
118
  return () => promisified;
117
119
  };
@@ -165,8 +167,9 @@ const toEndpointV1 = (endpoint) => {
165
167
  if (endpoint.headers) {
166
168
  v1Endpoint.headers = {};
167
169
  for (const name in endpoint.headers) {
168
- if (!hasOwn(endpoint.headers, name))
170
+ if (!hasOwn(endpoint.headers, name)) {
169
171
  continue;
172
+ }
170
173
  v1Endpoint.headers[name.toLowerCase()] = endpoint.headers[name].join(", ");
171
174
  }
172
175
  }
@@ -3,8 +3,9 @@ export class DefaultIdentityProviderConfig {
3
3
  authSchemes = new Map();
4
4
  constructor(config) {
5
5
  for (const key in config) {
6
- if (!hasOwn(config, key))
6
+ if (!hasOwn(config, key)) {
7
7
  continue;
8
+ }
8
9
  const value = config[key];
9
10
  if (value !== undefined) {
10
11
  this.authSchemes.set(key, value);
@@ -1,6 +1,7 @@
1
1
  export const normalizeProvider = (input) => {
2
- if (typeof input === "function")
2
+ if (typeof input === "function") {
3
3
  return input;
4
+ }
4
5
  const promisified = Promise.resolve(input);
5
6
  return () => promisified;
6
7
  };
@@ -1,53 +1,28 @@
1
- import { RpcProtocol } from "@smithy/core/protocols";
2
- import { NormalizedSchema, TypeRegistry, deref } from "@smithy/core/schema";
3
- import { getSmithyContext } from "@smithy/core/transport";
1
+ import { AbstractRpcV2Protocol } from "@smithy/core/protocols";
2
+ import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
4
3
  import { CborCodec } from "./CborCodec";
5
4
  import { loadSmithyRpcV2CborErrorCode } from "./parseCborBody";
6
- export class SmithyRpcV2CborProtocol extends RpcProtocol {
5
+ export class SmithyRpcV2CborProtocol extends AbstractRpcV2Protocol {
7
6
  codec = new CborCodec();
8
7
  serializer = this.codec.createSerializer();
9
8
  deserializer = this.codec.createDeserializer();
10
- constructor({ defaultNamespace, errorTypeRegistries, }) {
11
- super({ defaultNamespace, errorTypeRegistries });
12
- }
13
9
  getShapeId() {
14
10
  return "smithy.protocols#rpcv2Cbor";
15
11
  }
16
12
  getPayloadCodec() {
17
13
  return this.codec;
18
14
  }
19
- async serializeRequest(operationSchema, input, context) {
20
- const request = await super.serializeRequest(operationSchema, input, context);
21
- Object.assign(request.headers, {
22
- "content-type": this.getDefaultContentType(),
23
- "smithy-protocol": "rpc-v2-cbor",
24
- accept: this.getDefaultContentType(),
25
- });
26
- if (deref(operationSchema.input) === "unit") {
27
- delete request.body;
28
- delete request.headers["content-type"];
29
- }
30
- else {
31
- if (!request.body) {
32
- this.serializer.write(15, {});
33
- request.body = this.serializer.flush();
34
- }
35
- if (request.body instanceof Uint8Array) {
36
- request.headers["content-length"] = String(request.body.byteLength);
37
- }
38
- }
39
- const { service, operation } = getSmithyContext(context);
40
- const path = `/service/${service}/operation/${operation}`;
41
- if (request.path.endsWith("/")) {
42
- request.path += path.slice(1);
15
+ getSmithyProtocolHeaderValue() {
16
+ return "rpc-v2-cbor";
17
+ }
18
+ applyEmptyBody(request) {
19
+ if (!request.body) {
20
+ this.serializer.write(15, {});
21
+ request.body = this.serializer.flush();
43
22
  }
44
- else {
45
- request.path += path;
23
+ if (request.body instanceof Uint8Array) {
24
+ request.headers["content-length"] = String(request.body.byteLength);
46
25
  }
47
- return request;
48
- }
49
- async deserializeResponse(operationSchema, context, response) {
50
- return super.deserializeResponse(operationSchema, context, response);
51
26
  }
52
27
  async handleError(operationSchema, context, response, dataObject, metadata) {
53
28
  const errorIdentifier = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
@@ -60,8 +60,9 @@ export class CborShapeDeserializer extends SerdeContext {
60
60
  if (ns.isMapSchema()) {
61
61
  const targetSchema = ns.getValueSchema();
62
62
  for (const key in value) {
63
- if (!hasOwn(value, key))
63
+ if (!hasOwn(value, key)) {
64
64
  continue;
65
+ }
65
66
  const itemValue = this.readValue(targetSchema, value[key]);
66
67
  newObject[key] = itemValue;
67
68
  }
@@ -72,8 +73,9 @@ export class CborShapeDeserializer extends SerdeContext {
72
73
  if (isUnion) {
73
74
  keys = new Set();
74
75
  for (const k in value) {
75
- if (!hasOwn(value, k))
76
+ if (!hasOwn(value, k)) {
76
77
  continue;
78
+ }
77
79
  if (k !== "__type") {
78
80
  keys.add(k);
79
81
  }
@@ -90,8 +92,9 @@ export class CborShapeDeserializer extends SerdeContext {
90
92
  if (isUnion && keys?.size === 1) {
91
93
  let newObjectEmpty = true;
92
94
  for (const _ in newObject) {
93
- if (!hasOwn(newObject, _))
95
+ if (!hasOwn(newObject, _)) {
94
96
  continue;
97
+ }
95
98
  newObjectEmpty = false;
96
99
  break;
97
100
  }
@@ -102,8 +105,9 @@ export class CborShapeDeserializer extends SerdeContext {
102
105
  }
103
106
  else if (typeof value.__type === "string") {
104
107
  for (const k in value) {
105
- if (!hasOwn(value, k))
108
+ if (!hasOwn(value, k)) {
106
109
  continue;
110
+ }
107
111
  if (!(k in newObject)) {
108
112
  newObject[k] = value[k];
109
113
  }
@@ -50,8 +50,9 @@ export class CborShapeSerializer extends SerdeContext {
50
50
  if (ns.isMapSchema()) {
51
51
  const sparse = !!ns.getMergedTraits().sparse;
52
52
  for (const key in sourceObject) {
53
- if (!hasOwn(sourceObject, key))
53
+ if (!hasOwn(sourceObject, key)) {
54
54
  continue;
55
+ }
55
56
  const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
56
57
  if (value != null || sparse) {
57
58
  newObject[key] = value;
@@ -72,8 +73,9 @@ export class CborShapeSerializer extends SerdeContext {
72
73
  }
73
74
  else if (typeof sourceObject.__type === "string") {
74
75
  for (const k in sourceObject) {
75
- if (!hasOwn(sourceObject, k))
76
+ if (!hasOwn(sourceObject, k)) {
76
77
  continue;
78
+ }
77
79
  if (!(k in newObject)) {
78
80
  newObject[k] = this.serialize(15, sourceObject[k]);
79
81
  }
@@ -90,8 +92,9 @@ export class CborShapeSerializer extends SerdeContext {
90
92
  return newArray;
91
93
  }
92
94
  for (const key in sourceObject) {
93
- if (!hasOwn(sourceObject, key))
95
+ if (!hasOwn(sourceObject, key)) {
94
96
  continue;
97
+ }
95
98
  newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);
96
99
  }
97
100
  }