@psnext/slingcli 3.5.20261019-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 (539) 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 +5 -5
  31. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  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 +5 -5
  91. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  92. package/node_modules/@aws-sdk/credential-provider-login/package.json +5 -5
  93. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
  94. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
  95. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +5 -5
  96. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
  97. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  98. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +3 -3
  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 +3 -3
  103. package/node_modules/@aws-sdk/middleware-websocket/package.json +5 -5
  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/CognitoIdentityClient.d.ts +2 -1
  116. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
  117. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -2
  118. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -3
  119. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -59
  120. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +5 -33
  121. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -2
  122. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +16 -9
  123. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +8 -39
  124. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +36 -48
  125. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -0
  126. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +2 -1
  127. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -0
  128. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -1
  129. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  130. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +2 -1
  131. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
  132. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
  133. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +7 -0
  134. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +1 -0
  135. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +1 -0
  136. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  137. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -0
  138. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/LICENSE +201 -0
  139. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/README.md +9 -0
  140. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +914 -0
  141. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
  142. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
  143. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +13 -0
  144. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +51 -0
  145. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
  146. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +263 -0
  147. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +135 -0
  148. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +46 -0
  149. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +204 -0
  150. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
  151. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
  152. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/resolve-default-socket-timeout.js +4 -0
  153. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
  154. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
  155. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
  156. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +38 -0
  157. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  158. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +63 -0
  159. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
  160. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
  161. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
  162. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +46 -0
  163. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
  164. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +47 -0
  165. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +46 -0
  166. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +36 -0
  167. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +76 -0
  168. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
  169. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
  170. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/resolve-default-socket-timeout.d.ts +4 -0
  171. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  172. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
  173. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -0
  174. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +11 -0
  175. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +9 -0
  176. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
  177. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
  178. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
  179. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +46 -0
  180. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
  181. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +47 -0
  182. 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
  183. 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
  184. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +76 -0
  185. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +2 -0
  186. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +2 -0
  187. 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
  188. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
  189. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
  190. 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
  191. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +11 -0
  192. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +9 -0
  193. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
  194. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +12 -0
  195. package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +56 -0
  196. package/node_modules/@aws-sdk/nested-clients/package.json +6 -6
  197. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
  198. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +3 -0
  199. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +3 -0
  200. package/node_modules/@aws-sdk/types/package.json +1 -1
  201. package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
  202. package/node_modules/@babel/runtime/helpers/asyncIterator.js +1 -1
  203. package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +1 -1
  204. package/node_modules/@babel/runtime/package.json +1 -1
  205. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/LICENSE +15 -0
  206. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/bin/semver.js +195 -0
  207. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/classes/comparator.js +143 -0
  208. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/classes/index.js +7 -0
  209. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/classes/range.js +577 -0
  210. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/classes/semver.js +350 -0
  211. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/clean.js +8 -0
  212. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/cmp.js +54 -0
  213. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/coerce.js +62 -0
  214. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/compare-build.js +9 -0
  215. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/compare-loose.js +5 -0
  216. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/compare.js +7 -0
  217. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/diff.js +60 -0
  218. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/eq.js +5 -0
  219. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/gt.js +5 -0
  220. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/gte.js +5 -0
  221. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/inc.js +21 -0
  222. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/lt.js +5 -0
  223. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/lte.js +5 -0
  224. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/major.js +5 -0
  225. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/minor.js +5 -0
  226. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/neq.js +5 -0
  227. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/parse.js +18 -0
  228. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/patch.js +5 -0
  229. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/prerelease.js +8 -0
  230. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/rcompare.js +5 -0
  231. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/rsort.js +5 -0
  232. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/satisfies.js +12 -0
  233. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/sort.js +5 -0
  234. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/truncate.js +48 -0
  235. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/valid.js +8 -0
  236. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/index.js +93 -0
  237. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/constants.js +37 -0
  238. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/debug.js +11 -0
  239. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/identifiers.js +29 -0
  240. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/lrucache.js +42 -0
  241. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/parse-options.js +17 -0
  242. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/re.js +223 -0
  243. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/package.json +78 -0
  244. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/preload.js +4 -0
  245. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/range.bnf +17 -0
  246. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/gtr.js +6 -0
  247. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/intersects.js +9 -0
  248. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/ltr.js +6 -0
  249. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/max-satisfying.js +27 -0
  250. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/min-satisfying.js +26 -0
  251. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/min-version.js +63 -0
  252. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/outside.js +82 -0
  253. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/simplify.js +49 -0
  254. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/subset.js +249 -0
  255. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/to-comparators.js +10 -0
  256. package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/valid.js +13 -0
  257. package/node_modules/@hono/node-server/dist/index.cjs +31 -6
  258. package/node_modules/@hono/node-server/dist/index.mjs +31 -6
  259. package/node_modules/@hono/node-server/package.json +1 -1
  260. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.d.ts.map +1 -1
  261. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js +10 -0
  262. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js.map +1 -1
  263. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts +8 -8
  264. package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts.map +1 -1
  265. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts.map +1 -1
  266. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js +10 -0
  267. package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js.map +1 -1
  268. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts +8 -8
  269. package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts.map +1 -1
  270. package/node_modules/@modelcontextprotocol/sdk/package.json +1 -1
  271. package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
  272. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +45 -53
  273. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +52 -19
  274. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
  275. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
  276. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
  277. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
  278. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +10 -5
  279. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +28 -9
  280. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +28 -9
  281. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +91 -58
  282. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +53 -15
  283. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +57 -17
  284. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +13 -4
  285. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +7 -1
  286. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +13 -4
  287. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
  288. package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  289. package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
  290. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +12 -37
  291. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
  292. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
  293. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
  294. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
  295. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -1
  296. package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
  297. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +17 -2
  298. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
  299. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +4 -2
  300. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
  301. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
  302. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
  303. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
  304. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
  305. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
  306. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
  307. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
  308. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
  309. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
  310. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
  311. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +12 -1
  312. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
  313. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
  314. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
  315. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
  316. package/node_modules/@smithy/core/dist-es/submodules/protocols/AbstractRpcV2Protocol.js +35 -0
  317. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
  318. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -2
  319. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -2
  320. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
  321. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +8 -31
  322. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +7 -5
  323. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +7 -5
  324. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +7 -5
  325. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +11 -8
  326. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
  327. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
  328. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
  329. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
  330. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +17 -8
  331. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
  332. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/race.js +22 -0
  333. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
  334. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  335. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
  336. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
  337. package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
  338. package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
  339. package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
  340. package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
  341. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
  342. package/node_modules/@smithy/core/dist-types/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
  343. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +12 -0
  344. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
  345. package/node_modules/@smithy/core/dist-types/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +5 -14
  346. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  347. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/race.d.ts +3 -0
  348. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
  349. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  350. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
  351. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
  352. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
  353. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +12 -0
  354. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  355. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +5 -14
  356. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  357. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/race.d.ts +3 -0
  358. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
  359. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  360. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
  361. package/node_modules/@smithy/core/package.json +2 -2
  362. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +10 -4
  363. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +6 -2
  364. package/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +4 -2
  365. package/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +12 -1
  366. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +12 -1
  367. package/node_modules/@smithy/fetch-http-handler/package.json +3 -3
  368. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +23 -11
  369. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -2
  370. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
  371. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +5 -1
  372. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +2 -1
  373. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +2 -1
  374. package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +6 -3
  375. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
  376. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -1
  377. package/node_modules/@smithy/signature-v4/package.json +2 -2
  378. package/node_modules/@smithy/types/dist-types/middleware.d.ts +6 -0
  379. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +6 -0
  380. package/node_modules/@smithy/types/package.json +1 -1
  381. package/node_modules/@types/node/README.md +1 -1
  382. package/node_modules/@types/node/package.json +2 -2
  383. package/node_modules/@types/node/zlib.d.ts +752 -0
  384. package/node_modules/body-parser/README.md +17 -13
  385. package/node_modules/body-parser/lib/read.js +74 -57
  386. package/node_modules/body-parser/lib/types/json.js +11 -11
  387. package/node_modules/body-parser/lib/types/urlencoded.js +5 -5
  388. package/node_modules/body-parser/lib/utils.js +0 -15
  389. package/node_modules/body-parser/package.json +7 -12
  390. package/node_modules/bowser/README.md +26 -3
  391. package/node_modules/bowser/bowser.mjs +2225 -0
  392. package/node_modules/bowser/bundled.js +14 -1
  393. package/node_modules/bowser/es5.js +14 -1
  394. package/node_modules/bowser/index.d.mts +45 -0
  395. package/node_modules/bowser/package.json +90 -31
  396. package/node_modules/bowser/src/bowser.js +9 -1
  397. package/node_modules/bowser/src/constants.js +7 -0
  398. package/node_modules/bowser/src/parser-browsers.js +73 -7
  399. package/node_modules/bowser/src/parser-engines.js +12 -0
  400. package/node_modules/bowser/src/parser-os.js +3 -1
  401. package/node_modules/bowser/src/parser-platforms.js +3 -1
  402. package/node_modules/bowser/src/parser.js +22 -5
  403. package/node_modules/bowser/src/utils.js +16 -0
  404. package/node_modules/encodeurl/README.md +14 -0
  405. package/node_modules/encodeurl/index.js +5 -10
  406. package/node_modules/encodeurl/package.json +10 -6
  407. package/node_modules/express-rate-limit/dist/index.cjs +7 -3
  408. package/node_modules/express-rate-limit/dist/index.mjs +7 -3
  409. package/node_modules/express-rate-limit/package.json +10 -10
  410. package/node_modules/hono/README.md +2 -3
  411. package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +1 -1
  412. package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +1 -1
  413. package/node_modules/hono/dist/cjs/context.js +1 -1
  414. package/node_modules/hono/dist/cjs/helper/css/common.js +11 -8
  415. package/node_modules/hono/dist/cjs/helper/css/index.js +1 -1
  416. package/node_modules/hono/dist/cjs/helper/route/index.js +3 -1
  417. package/node_modules/hono/dist/cjs/hono-base.js +4 -10
  418. package/node_modules/hono/dist/cjs/hono.js +0 -1
  419. package/node_modules/hono/dist/cjs/jsx/base.js +1 -1
  420. package/node_modules/hono/dist/cjs/middleware/basic-auth/index.js +1 -1
  421. package/node_modules/hono/dist/cjs/middleware/bearer-auth/index.js +9 -1
  422. package/node_modules/hono/dist/cjs/middleware/csrf/index.js +2 -2
  423. package/node_modules/hono/dist/cjs/middleware/jwk/jwk.js +2 -2
  424. package/node_modules/hono/dist/cjs/middleware/jwt/jwt.js +2 -2
  425. package/node_modules/hono/dist/cjs/middleware/mount/index.js +4 -4
  426. package/node_modules/hono/dist/cjs/middleware/serve-static/index.js +3 -1
  427. package/node_modules/hono/dist/cjs/router/reg-exp-router/node.js +13 -11
  428. package/node_modules/hono/dist/cjs/router/reg-exp-router/prepared-router.js +4 -4
  429. package/node_modules/hono/dist/cjs/router/reg-exp-router/router.js +39 -51
  430. package/node_modules/hono/dist/cjs/router/reg-exp-router/trie.js +15 -5
  431. package/node_modules/hono/dist/cjs/router/trie-router/node.js +2 -2
  432. package/node_modules/hono/dist/cjs/utils/jwt/jwt.js +2 -1
  433. package/node_modules/hono/dist/cjs/utils/mount.js +35 -0
  434. package/node_modules/hono/dist/cjs/utils/url.js +21 -6
  435. package/node_modules/hono/dist/cjs/validator/validator.js +1 -1
  436. package/node_modules/hono/dist/context.js +1 -1
  437. package/node_modules/hono/dist/helper/css/common.js +11 -8
  438. package/node_modules/hono/dist/helper/css/index.js +1 -1
  439. package/node_modules/hono/dist/helper/route/index.js +3 -1
  440. package/node_modules/hono/dist/hono-base.js +4 -10
  441. package/node_modules/hono/dist/hono.js +0 -1
  442. package/node_modules/hono/dist/jsx/base.js +1 -1
  443. package/node_modules/hono/dist/middleware/basic-auth/index.js +1 -1
  444. package/node_modules/hono/dist/middleware/bearer-auth/index.js +9 -1
  445. package/node_modules/hono/dist/middleware/csrf/index.js +2 -2
  446. package/node_modules/hono/dist/middleware/jwk/jwk.js +2 -2
  447. package/node_modules/hono/dist/middleware/jwt/jwt.js +2 -2
  448. package/node_modules/hono/dist/middleware/language/language.js +1 -1
  449. package/node_modules/hono/dist/middleware/mount/index.js +4 -4
  450. package/node_modules/hono/dist/middleware/serve-static/index.js +3 -1
  451. package/node_modules/hono/dist/router/reg-exp-router/node.js +13 -11
  452. package/node_modules/hono/dist/router/reg-exp-router/prepared-router.js +5 -5
  453. package/node_modules/hono/dist/router/reg-exp-router/router.js +40 -52
  454. package/node_modules/hono/dist/router/reg-exp-router/trie.js +15 -5
  455. package/node_modules/hono/dist/router/trie-router/node.js +2 -2
  456. package/node_modules/hono/dist/types/adapter/aws-lambda/conninfo.d.ts +1 -1
  457. package/node_modules/hono/dist/types/adapter/bun/conninfo.d.ts +1 -1
  458. package/node_modules/hono/dist/types/adapter/bun/ssg.d.ts +1 -1
  459. package/node_modules/hono/dist/types/adapter/cloudflare-pages/conninfo.d.ts +1 -1
  460. package/node_modules/hono/dist/types/adapter/cloudflare-workers/conninfo.d.ts +1 -1
  461. package/node_modules/hono/dist/types/adapter/deno/conninfo.d.ts +1 -1
  462. package/node_modules/hono/dist/types/adapter/deno/ssg.d.ts +1 -1
  463. package/node_modules/hono/dist/types/adapter/lambda-edge/conninfo.d.ts +1 -1
  464. package/node_modules/hono/dist/types/adapter/netlify/conninfo.d.ts +1 -1
  465. package/node_modules/hono/dist/types/adapter/vercel/conninfo.d.ts +1 -1
  466. package/node_modules/hono/dist/types/helper/testing/index.d.ts +2 -1
  467. package/node_modules/hono/dist/types/hono-base.d.ts +21 -9
  468. package/node_modules/hono/dist/types/index.d.ts +1 -1
  469. package/node_modules/hono/dist/types/jsx/components.d.ts +2 -2
  470. package/node_modules/hono/dist/types/jsx/context.d.ts +2 -2
  471. package/node_modules/hono/dist/types/jsx/dom/components.d.ts +2 -2
  472. package/node_modules/hono/dist/types/jsx/dom/css.d.ts +2 -2
  473. package/node_modules/hono/dist/types/jsx/streaming.d.ts +4 -3
  474. package/node_modules/hono/dist/types/middleware/bearer-auth/index.d.ts +2 -1
  475. package/node_modules/hono/dist/types/middleware/ip-restriction/index.d.ts +3 -3
  476. package/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +3 -3
  477. package/node_modules/hono/dist/types/middleware/mount/index.d.ts +1 -0
  478. package/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +3 -3
  479. package/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +1 -1
  480. package/node_modules/hono/dist/types/utils/ipaddr.d.ts +1 -1
  481. package/node_modules/hono/dist/types/utils/mount.d.ts +4 -0
  482. package/node_modules/hono/dist/types/utils/url.d.ts +1 -0
  483. package/node_modules/hono/dist/utils/jwt/jwt.js +2 -1
  484. package/node_modules/hono/dist/utils/mount.js +34 -0
  485. package/node_modules/hono/dist/utils/url.js +21 -7
  486. package/node_modules/hono/dist/validator/validator.js +1 -1
  487. package/node_modules/hono/package.json +1 -1
  488. package/node_modules/ip-address/README.md +39 -39
  489. package/node_modules/ip-address/dist/common.js +2 -2
  490. package/node_modules/ip-address/dist/common.js.map +1 -1
  491. package/node_modules/ip-address/dist/ipv6.js +1 -1
  492. package/node_modules/ip-address/dist/ipv6.js.map +1 -1
  493. package/node_modules/ip-address/package.json +2 -2
  494. package/node_modules/jose/dist/types/jwt/decrypt.d.ts +3 -0
  495. package/node_modules/jose/dist/types/jwt/unsecured.d.ts +2 -0
  496. package/node_modules/jose/dist/types/jwt/verify.d.ts +3 -0
  497. package/node_modules/jose/dist/types/types.d.ts +8 -0
  498. package/node_modules/jose/dist/types/util/decode_jwt.d.ts +1 -0
  499. package/node_modules/jose/dist/webapi/jwks/remote.js +3 -1
  500. package/node_modules/jose/dist/webapi/lib/deflate.js +2 -1
  501. package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +2 -1
  502. package/node_modules/jose/package.json +1 -1
  503. package/node_modules/on-finished/index.js +14 -2
  504. package/node_modules/on-finished/package.json +11 -7
  505. package/node_modules/qs/.editorconfig +1 -1
  506. package/node_modules/qs/CHANGELOG.md +87 -22
  507. package/node_modules/qs/README.md +63 -10
  508. package/node_modules/qs/dist/qs.js +17 -17
  509. package/node_modules/qs/eslint.config.mjs +61 -50
  510. package/node_modules/qs/lib/formats.js +7 -2
  511. package/node_modules/qs/lib/parse.js +29 -10
  512. package/node_modules/qs/lib/stringify.js +5 -3
  513. package/node_modules/qs/lib/utils.js +28 -9
  514. package/node_modules/qs/package.json +6 -6
  515. package/node_modules/qs/test/parse.js +335 -2
  516. package/node_modules/qs/test/stringify.js +222 -0
  517. package/node_modules/qs/test/utils.js +61 -3
  518. package/node_modules/semver/classes/range.js +2 -2
  519. package/node_modules/semver/internal/constants.js +30 -0
  520. package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
  521. package/node_modules/semver/package.json +1 -1
  522. package/node_modules/tslib/README.md +3 -8
  523. package/node_modules/tslib/package.json +1 -1
  524. package/node_modules/tslib/tslib.d.ts +4 -2
  525. package/node_modules/tslib/tslib.es6.js +10 -1
  526. package/node_modules/tslib/tslib.es6.mjs +10 -1
  527. package/node_modules/tslib/tslib.js +10 -1
  528. package/node_modules/ws/README.md +21 -29
  529. package/node_modules/ws/lib/buffer-util.js +13 -2
  530. package/node_modules/ws/lib/sender.js +4 -1
  531. package/node_modules/ws/lib/websocket.js +8 -3
  532. package/node_modules/ws/package.json +1 -1
  533. package/package.json +14 -14
  534. package/sling-default-packages.json +3 -2
  535. package/slingshot/index.js +2 -2
  536. package/node_modules/on-finished/HISTORY.md +0 -98
  537. /package/node_modules/@smithy/core/dist-es/submodules/{protocols → serde}/writeKey.js +0 -0
  538. /package/node_modules/@smithy/core/dist-types/submodules/{protocols → serde}/writeKey.d.ts +0 -0
  539. /package/node_modules/@smithy/core/dist-types/ts3.4/submodules/{protocols → serde}/writeKey.d.ts +0 -0
@@ -11,11 +11,13 @@ const getEndpointUrlConfig = (serviceId) => ({
11
11
  environmentVariableSelector: (env) => {
12
12
  const serviceSuffixParts = serviceId.split(" ").map((w) => w.toUpperCase());
13
13
  const serviceEndpointUrl = env[[ENV_ENDPOINT_URL, ...serviceSuffixParts].join("_")];
14
- if (serviceEndpointUrl)
14
+ if (serviceEndpointUrl) {
15
15
  return serviceEndpointUrl;
16
+ }
16
17
  const endpointUrl = env[ENV_ENDPOINT_URL];
17
- if (endpointUrl)
18
+ if (endpointUrl) {
18
19
  return endpointUrl;
20
+ }
19
21
  return undefined;
20
22
  },
21
23
  configFileSelector: (profile, config) => {
@@ -27,12 +29,14 @@ const getEndpointUrlConfig = (serviceId) => ({
27
29
  const servicesSection = config[servicesSectionKey];
28
30
  const servicePrefixParts = serviceId.split(" ").map((w) => w.toLowerCase());
29
31
  const endpointUrl = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(CONFIG_PREFIX_SEPARATOR)];
30
- if (endpointUrl)
32
+ if (endpointUrl) {
31
33
  return endpointUrl;
34
+ }
32
35
  }
33
36
  const endpointUrl = profile[CONFIG_ENDPOINT_URL];
34
- if (endpointUrl)
37
+ if (endpointUrl) {
35
38
  return endpointUrl;
39
+ }
36
40
  return undefined;
37
41
  },
38
42
  default: undefined,
@@ -831,8 +835,9 @@ const resolveEndpoint = (ruleSetObject, options) => {
831
835
  const { parameters, rules } = ruleSetObject;
832
836
  options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
833
837
  for (const paramKey in parameters) {
834
- if (!hasOwn(parameters, paramKey))
838
+ if (!hasOwn(parameters, paramKey)) {
835
839
  continue;
840
+ }
836
841
  const parameter = parameters[paramKey];
837
842
  const endpointParam = endpointParams[paramKey];
838
843
  if (endpointParam == null && parameter.default != null) {
@@ -42,8 +42,9 @@ function negate(bytes) {
42
42
  }
43
43
  for (let i = 7; i > -1; i--) {
44
44
  bytes[i]++;
45
- if (bytes[i] !== 0)
45
+ if (bytes[i] !== 0) {
46
46
  break;
47
+ }
47
48
  }
48
49
  }
49
50
 
@@ -57,9 +58,13 @@ class HeaderMarshaller {
57
58
  format(headers) {
58
59
  const chunks = [];
59
60
  for (const headerName in headers) {
60
- if (!hasOwn(headers, headerName))
61
+ if (!hasOwn(headers, headerName)) {
61
62
  continue;
63
+ }
62
64
  const bytes = this.fromUtf8(headerName);
65
+ if (bytes.byteLength > 255) {
66
+ throw new Error(`@smithy/core/event-streams - header name exceeds 255 bytes: ${bytes.byteLength}`);
67
+ }
63
68
  chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
64
69
  }
65
70
  const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
@@ -92,6 +97,9 @@ class HeaderMarshaller {
92
97
  longBytes.set(header.value.bytes, 1);
93
98
  return longBytes;
94
99
  case "binary":
100
+ if (header.value.byteLength > MAX_HEADER_VALUE_BYTES) {
101
+ throw new Error(`@smithy/core/event-streams - header value (binary) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${header.value.byteLength}`);
102
+ }
95
103
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
96
104
  binView.setUint8(0, 6);
97
105
  binView.setUint16(1, header.value.byteLength, false);
@@ -100,6 +108,9 @@ class HeaderMarshaller {
100
108
  return binBytes;
101
109
  case "string":
102
110
  const utf8Bytes = this.fromUtf8(header.value);
111
+ if (utf8Bytes.byteLength > MAX_HEADER_VALUE_BYTES) {
112
+ throw new Error(`@smithy/core/event-streams - header value (string) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${utf8Bytes.byteLength}`);
113
+ }
103
114
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
104
115
  strView.setUint8(0, 7);
105
116
  strView.setUint16(1, utf8Bytes.byteLength, false);
@@ -231,6 +242,7 @@ const STRING_TAG = "string";
231
242
  const TIMESTAMP_TAG = "timestamp";
232
243
  const UUID_TAG = "uuid";
233
244
  const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
245
+ const MAX_HEADER_VALUE_BYTES = 32767;
234
246
 
235
247
  const PRELUDE_MEMBER_LENGTH = 4;
236
248
  const PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
@@ -374,8 +386,9 @@ class SmithyMessageDecoderStream {
374
386
  async *asyncIterator() {
375
387
  for await (const message of this.options.messageStream) {
376
388
  const deserialized = await this.options.deserializer(message);
377
- if (deserialized === undefined)
389
+ if (deserialized === undefined) {
378
390
  continue;
391
+ }
379
392
  yield deserialized;
380
393
  }
381
394
  }
@@ -471,8 +484,9 @@ function getUnmarshalledStream(source, options) {
471
484
  for await (const chunk of source) {
472
485
  const message = options.eventStreamCodec.decode(chunk);
473
486
  const type = await messageUnmarshaller(message);
474
- if (type === undefined)
487
+ if (type === undefined) {
475
488
  continue;
489
+ }
476
490
  yield type;
477
491
  }
478
492
  },
@@ -502,8 +516,9 @@ function getMessageUnmarshaller(deserializer, toUtf8) {
502
516
  [message.headers[":event-type"].value]: message,
503
517
  };
504
518
  const deserialized = await deserializer(event);
505
- if (deserialized.$unknown)
519
+ if (deserialized.$unknown) {
506
520
  return;
521
+ }
507
522
  return deserialized;
508
523
  }
509
524
  else {
@@ -542,8 +557,9 @@ const readableStreamToIterable = (readableStream) => ({
542
557
  try {
543
558
  while (true) {
544
559
  const { done, value } = await reader.read();
545
- if (done)
560
+ if (done) {
546
561
  return;
562
+ }
547
563
  yield value;
548
564
  }
549
565
  }
@@ -641,8 +657,9 @@ class EventStreamSerde {
641
657
  }
642
658
  let unionMember = "";
643
659
  for (const key in event) {
644
- if (!hasOwn(event, key))
660
+ if (!hasOwn(event, key)) {
645
661
  continue;
662
+ }
646
663
  if (key !== "__type") {
647
664
  unionMember = key;
648
665
  break;
@@ -670,8 +687,9 @@ class EventStreamSerde {
670
687
  const asyncIterable = marshaller.deserialize(response.body, async (event) => {
671
688
  let unionMember = "";
672
689
  for (const key in event) {
673
- if (!hasOwn(event, key))
690
+ if (!hasOwn(event, key)) {
674
691
  continue;
692
+ }
675
693
  if (key !== "__type") {
676
694
  unionMember = key;
677
695
  break;
@@ -746,8 +764,9 @@ class EventStreamSerde {
746
764
  throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
747
765
  }
748
766
  for (const key in firstEvent.value) {
749
- if (!hasOwn(firstEvent.value, key))
767
+ if (!hasOwn(firstEvent.value, key)) {
750
768
  continue;
769
+ }
751
770
  initialResponseContainer[key] = firstEvent.value[key];
752
771
  }
753
772
  }
@@ -43,8 +43,9 @@ function negate(bytes) {
43
43
  }
44
44
  for (let i = 7; i > -1; i--) {
45
45
  bytes[i]++;
46
- if (bytes[i] !== 0)
46
+ if (bytes[i] !== 0) {
47
47
  break;
48
+ }
48
49
  }
49
50
  }
50
51
 
@@ -58,9 +59,13 @@ class HeaderMarshaller {
58
59
  format(headers) {
59
60
  const chunks = [];
60
61
  for (const headerName in headers) {
61
- if (!hasOwn(headers, headerName))
62
+ if (!hasOwn(headers, headerName)) {
62
63
  continue;
64
+ }
63
65
  const bytes = this.fromUtf8(headerName);
66
+ if (bytes.byteLength > 255) {
67
+ throw new Error(`@smithy/core/event-streams - header name exceeds 255 bytes: ${bytes.byteLength}`);
68
+ }
64
69
  chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
65
70
  }
66
71
  const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
@@ -93,6 +98,9 @@ class HeaderMarshaller {
93
98
  longBytes.set(header.value.bytes, 1);
94
99
  return longBytes;
95
100
  case "binary":
101
+ if (header.value.byteLength > MAX_HEADER_VALUE_BYTES) {
102
+ throw new Error(`@smithy/core/event-streams - header value (binary) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${header.value.byteLength}`);
103
+ }
96
104
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
97
105
  binView.setUint8(0, 6);
98
106
  binView.setUint16(1, header.value.byteLength, false);
@@ -101,6 +109,9 @@ class HeaderMarshaller {
101
109
  return binBytes;
102
110
  case "string":
103
111
  const utf8Bytes = this.fromUtf8(header.value);
112
+ if (utf8Bytes.byteLength > MAX_HEADER_VALUE_BYTES) {
113
+ throw new Error(`@smithy/core/event-streams - header value (string) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${utf8Bytes.byteLength}`);
114
+ }
104
115
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
105
116
  strView.setUint8(0, 7);
106
117
  strView.setUint16(1, utf8Bytes.byteLength, false);
@@ -232,6 +243,7 @@ const STRING_TAG = "string";
232
243
  const TIMESTAMP_TAG = "timestamp";
233
244
  const UUID_TAG = "uuid";
234
245
  const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
246
+ const MAX_HEADER_VALUE_BYTES = 32767;
235
247
 
236
248
  const PRELUDE_MEMBER_LENGTH = 4;
237
249
  const PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
@@ -375,8 +387,9 @@ class SmithyMessageDecoderStream {
375
387
  async *asyncIterator() {
376
388
  for await (const message of this.options.messageStream) {
377
389
  const deserialized = await this.options.deserializer(message);
378
- if (deserialized === undefined)
390
+ if (deserialized === undefined) {
379
391
  continue;
392
+ }
380
393
  yield deserialized;
381
394
  }
382
395
  }
@@ -472,8 +485,9 @@ function getUnmarshalledStream(source, options) {
472
485
  for await (const chunk of source) {
473
486
  const message = options.eventStreamCodec.decode(chunk);
474
487
  const type = await messageUnmarshaller(message);
475
- if (type === undefined)
488
+ if (type === undefined) {
476
489
  continue;
490
+ }
477
491
  yield type;
478
492
  }
479
493
  },
@@ -503,8 +517,9 @@ function getMessageUnmarshaller(deserializer, toUtf8) {
503
517
  [message.headers[":event-type"].value]: message,
504
518
  };
505
519
  const deserialized = await deserializer(event);
506
- if (deserialized.$unknown)
520
+ if (deserialized.$unknown) {
507
521
  return;
522
+ }
508
523
  return deserialized;
509
524
  }
510
525
  else {
@@ -587,8 +602,9 @@ const readableStreamToIterable = (readableStream) => ({
587
602
  try {
588
603
  while (true) {
589
604
  const { done, value } = await reader.read();
590
- if (done)
605
+ if (done) {
591
606
  return;
607
+ }
592
608
  yield value;
593
609
  }
594
610
  }
@@ -666,8 +682,9 @@ class EventStreamSerde {
666
682
  }
667
683
  let unionMember = "";
668
684
  for (const key in event) {
669
- if (!hasOwn(event, key))
685
+ if (!hasOwn(event, key)) {
670
686
  continue;
687
+ }
671
688
  if (key !== "__type") {
672
689
  unionMember = key;
673
690
  break;
@@ -695,8 +712,9 @@ class EventStreamSerde {
695
712
  const asyncIterable = marshaller.deserialize(response.body, async (event) => {
696
713
  let unionMember = "";
697
714
  for (const key in event) {
698
- if (!hasOwn(event, key))
715
+ if (!hasOwn(event, key)) {
699
716
  continue;
717
+ }
700
718
  if (key !== "__type") {
701
719
  unionMember = key;
702
720
  break;
@@ -771,8 +789,9 @@ class EventStreamSerde {
771
789
  throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
772
790
  }
773
791
  for (const key in firstEvent.value) {
774
- if (!hasOwn(firstEvent.value, key))
792
+ if (!hasOwn(firstEvent.value, key)) {
775
793
  continue;
794
+ }
776
795
  initialResponseContainer[key] = firstEvent.value[key];
777
796
  }
778
797
  }
@@ -1,4 +1,4 @@
1
- const { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader, parseEpochTimestamp, parseRfc7231DateTime, parseRfc3339DateTimeWithOffset } = require("@smithy/core/serde");
1
+ const { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader, writeKey, parseEpochTimestamp, parseRfc7231DateTime, parseRfc3339DateTimeWithOffset } = require("@smithy/core/serde");
2
2
  const { HttpRequest, HttpResponse, hasOwn, isValidHostname, getSmithyContext } = require("@smithy/core/transport");
3
3
  const { parseQueryString, parseUrl } = require("@smithy/core/transport");
4
4
  exports.HttpRequest = HttpRequest;
@@ -75,8 +75,9 @@ class HttpProtocol extends SerdeContext {
75
75
  }
76
76
  if (endpoint.headers) {
77
77
  for (const name in endpoint.headers) {
78
- if (!hasOwn(endpoint.headers, name))
78
+ if (!hasOwn(endpoint.headers, name)) {
79
79
  continue;
80
+ }
80
81
  request.headers[name] = endpoint.headers[name].join(", ");
81
82
  }
82
83
  }
@@ -92,8 +93,9 @@ class HttpProtocol extends SerdeContext {
92
93
  };
93
94
  if (endpoint.headers) {
94
95
  for (const name in endpoint.headers) {
95
- if (!hasOwn(endpoint.headers, name))
96
+ if (!hasOwn(endpoint.headers, name)) {
96
97
  continue;
98
+ }
97
99
  request.headers[name] = endpoint.headers[name];
98
100
  }
99
101
  }
@@ -314,8 +316,9 @@ class HttpBindingProtocol extends HttpProtocol {
314
316
  }
315
317
  else if (typeof memberTraits.httpPrefixHeaders === "string") {
316
318
  for (const key in inputMemberValue) {
317
- if (!hasOwn(inputMemberValue, key))
319
+ if (!hasOwn(inputMemberValue, key)) {
318
320
  continue;
321
+ }
319
322
  const val = inputMemberValue[key];
320
323
  const amalgam = memberTraits.httpPrefixHeaders + key;
321
324
  serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
@@ -362,8 +365,9 @@ class HttpBindingProtocol extends HttpProtocol {
362
365
  const traits = ns.getMergedTraits();
363
366
  if (traits.httpQueryParams) {
364
367
  for (const key in data) {
365
- if (!hasOwn(data, key))
368
+ if (!hasOwn(data, key)) {
366
369
  continue;
370
+ }
367
371
  if (!(key in query)) {
368
372
  const val = data[key];
369
373
  const valueSchema = ns.getValueSchema();
@@ -407,8 +411,9 @@ class HttpBindingProtocol extends HttpProtocol {
407
411
  throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.");
408
412
  }
409
413
  for (const header in response.headers) {
410
- if (!hasOwn(response.headers, header))
414
+ if (!hasOwn(response.headers, header)) {
411
415
  continue;
416
+ }
412
417
  const value = response.headers[header];
413
418
  delete response.headers[header];
414
419
  response.headers[header.toLowerCase()] = value;
@@ -496,8 +501,9 @@ class HttpBindingProtocol extends HttpProtocol {
496
501
  else if (memberTraits.httpPrefixHeaders !== undefined) {
497
502
  dataObject[memberName] = {};
498
503
  for (const header in response.headers) {
499
- if (!hasOwn(response.headers, header))
504
+ if (!hasOwn(response.headers, header)) {
500
505
  continue;
506
+ }
501
507
  if (header.startsWith(memberTraits.httpPrefixHeaders)) {
502
508
  const value = response.headers[header];
503
509
  const valueSchema = memberSchema.getValueSchema();
@@ -574,7 +580,7 @@ class RpcProtocol extends HttpProtocol {
574
580
  const deserializer = this.deserializer;
575
581
  const ns = NormalizedSchema.of(operationSchema.output);
576
582
  const dataObject = {};
577
- if (response.statusCode >= 300) {
583
+ if (this.isErrorResponse(response.statusCode)) {
578
584
  const bytes = await collectBody(response.body, context);
579
585
  if (bytes.byteLength > 0) {
580
586
  Object.assign(dataObject, await deserializer.read(15, bytes));
@@ -583,8 +589,9 @@ class RpcProtocol extends HttpProtocol {
583
589
  throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.");
584
590
  }
585
591
  for (const header in response.headers) {
586
- if (!hasOwn(response.headers, header))
592
+ if (!hasOwn(response.headers, header)) {
587
593
  continue;
594
+ }
588
595
  const value = response.headers[header];
589
596
  delete response.headers[header];
590
597
  response.headers[header.toLowerCase()] = value;
@@ -606,6 +613,42 @@ class RpcProtocol extends HttpProtocol {
606
613
  dataObject.$metadata = this.deserializeMetadata(response);
607
614
  return dataObject;
608
615
  }
616
+ isErrorResponse(statusCode) {
617
+ return statusCode >= 300;
618
+ }
619
+ }
620
+
621
+ class AbstractRpcV2Protocol extends RpcProtocol {
622
+ constructor({ defaultNamespace, errorTypeRegistries, }) {
623
+ super({ defaultNamespace, errorTypeRegistries });
624
+ }
625
+ async serializeRequest(operationSchema, input, context) {
626
+ const request = await super.serializeRequest(operationSchema, input, context);
627
+ Object.assign(request.headers, {
628
+ "content-type": this.getDefaultContentType(),
629
+ "smithy-protocol": this.getSmithyProtocolHeaderValue(),
630
+ accept: this.getDefaultContentType(),
631
+ });
632
+ if (deref(operationSchema.input) === "unit") {
633
+ delete request.body;
634
+ delete request.headers["content-type"];
635
+ }
636
+ else {
637
+ this.applyEmptyBody(request);
638
+ }
639
+ const { service, operation } = getSmithyContext(context);
640
+ const path = `/service/${service}/operation/${operation}`;
641
+ if (request.path.endsWith("/")) {
642
+ request.path += path.slice(1);
643
+ }
644
+ else {
645
+ request.path += path;
646
+ }
647
+ return request;
648
+ }
649
+ isErrorResponse(statusCode) {
650
+ return statusCode !== 200;
651
+ }
609
652
  }
610
653
 
611
654
  const resolvedPath = (resolvedPath, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
@@ -985,6 +1028,9 @@ const getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
985
1028
  if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== "NoOpLogger") {
986
1029
  runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"), runtimeConfig.logger);
987
1030
  }
1031
+ if (runtimeConfig.defaultSocketTimeout) {
1032
+ runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("@smithy/defaultSocketTimeout"), runtimeConfig.defaultSocketTimeout);
1033
+ }
988
1034
  return {
989
1035
  setHttpHandler(handler) {
990
1036
  runtimeConfig.requestHandler = handler;
@@ -1390,10 +1436,6 @@ const loadErrorCode = ({ headers }, data, order) => {
1390
1436
  }
1391
1437
  };
1392
1438
 
1393
- function writeKey(obj) {
1394
- Object.defineProperty(obj, "__proto__", { value: undefined, writable: true, enumerable: true, configurable: true });
1395
- }
1396
-
1397
1439
  class JsonShapeDeserializer2 extends SerdeContextConfig {
1398
1440
  settings;
1399
1441
  constructor(settings) {
@@ -1445,8 +1487,9 @@ class JsonShapeDeserializer2 extends SerdeContextConfig {
1445
1487
  const map = value;
1446
1488
  if (this.needsTransform(mapMember)) {
1447
1489
  for (const k in map) {
1448
- if (!hasOwn(map, k))
1490
+ if (!hasOwn(map, k)) {
1449
1491
  continue;
1492
+ }
1450
1493
  if (k === "__proto__") {
1451
1494
  writeKey(map);
1452
1495
  }
@@ -1518,8 +1561,9 @@ class JsonShapeDeserializer2 extends SerdeContextConfig {
1518
1561
  else {
1519
1562
  const doc = value;
1520
1563
  for (const k in doc) {
1521
- if (!hasOwn(doc, k))
1564
+ if (!hasOwn(doc, k)) {
1522
1565
  continue;
1566
+ }
1523
1567
  if (k === "__proto__") {
1524
1568
  writeKey(doc);
1525
1569
  }
@@ -1566,8 +1610,9 @@ class JsonShapeDeserializer2 extends SerdeContextConfig {
1566
1610
  }
1567
1611
  else if (hasType) {
1568
1612
  for (const k in record) {
1569
- if (!hasOwn(record, k))
1613
+ if (!hasOwn(record, k)) {
1570
1614
  continue;
1615
+ }
1571
1616
  const v = record[k];
1572
1617
  const t = jsonName ? (nameMap[k] ?? k) : k;
1573
1618
  if (!(t in out)) {
@@ -1812,9 +1857,9 @@ class JsonShapeSerializer2 extends SerdeContextConfig {
1812
1857
  this.i = i;
1813
1858
  }
1814
1859
  writeJsonString(s) {
1815
- this.ensure(s.length * 3 + 2);
1816
- this.json[this.i++] = QUOTE;
1817
1860
  const z = s.length;
1861
+ this.ensure(z * 3 + 2);
1862
+ this.json[this.i++] = QUOTE;
1818
1863
  for (let j = 0; j < z; ++j) {
1819
1864
  const c = s.charCodeAt(j);
1820
1865
  if (c > 0x22 && c < 0x5c) {
@@ -1823,7 +1868,7 @@ class JsonShapeSerializer2 extends SerdeContextConfig {
1823
1868
  else if (c < 0x80) {
1824
1869
  const esc = ESCAPE_TABLE[c];
1825
1870
  if (esc !== null) {
1826
- this.ensure(esc.length + 1);
1871
+ this.ensure(esc.length + 1 + (z - j - 1) * 3 + 1);
1827
1872
  this.json[this.i++] = BACKSLASH;
1828
1873
  for (let k = 0; k < esc.length; k++) {
1829
1874
  this.json[this.i++] = esc.charCodeAt(k);
@@ -1842,12 +1887,12 @@ class JsonShapeSerializer2 extends SerdeContextConfig {
1842
1887
  ++j;
1843
1888
  }
1844
1889
  else {
1845
- this.ensure(6);
1890
+ this.ensure(6 + (z - j - 1) * 3 + 1);
1846
1891
  this.writeUnicodeEscape(c);
1847
1892
  }
1848
1893
  }
1849
1894
  else if (c >= 0xdc00 && c <= 0xdfff) {
1850
- this.ensure(6);
1895
+ this.ensure(6 + (z - j - 1) * 3 + 1);
1851
1896
  this.writeUnicodeEscape(c);
1852
1897
  }
1853
1898
  else {
@@ -2111,8 +2156,9 @@ class JsonShapeSerializer2 extends SerdeContextConfig {
2111
2156
  const out = [];
2112
2157
  for (let i = 0; i < value.length; ++i) {
2113
2158
  const v = value[i];
2114
- if (v == null && !sparse)
2159
+ if (v == null && !sparse) {
2115
2160
  continue;
2161
+ }
2116
2162
  if (Number.isNaN(v) || v === Infinity || v === -Infinity) {
2117
2163
  out.push(String(v));
2118
2164
  }
@@ -2152,8 +2198,9 @@ class JsonShapeSerializer2 extends SerdeContextConfig {
2152
2198
  if (valueSchema.isStringSchema() || valueSchema.isNumericSchema() || valueSchema.isBooleanSchema()) {
2153
2199
  let modifications;
2154
2200
  for (const k in value) {
2155
- if (!hasOwn(value, k))
2201
+ if (!hasOwn(value, k)) {
2156
2202
  continue;
2203
+ }
2157
2204
  const v = value[k];
2158
2205
  if (Number.isNaN(v) || v === Infinity || v === -Infinity) {
2159
2206
  (modifications ??= {})[k] = v;
@@ -2177,8 +2224,9 @@ class JsonShapeSerializer2 extends SerdeContextConfig {
2177
2224
  this.json[this.i++] = OPEN_BRACE;
2178
2225
  let first = true;
2179
2226
  for (const k in value) {
2180
- if (!hasOwn(value, k))
2227
+ if (!hasOwn(value, k)) {
2181
2228
  continue;
2229
+ }
2182
2230
  const v = value[k];
2183
2231
  if (isDocument ? v === undefined : v == null && !sparse) {
2184
2232
  continue;
@@ -2240,7 +2288,7 @@ class JsonCodec2 extends SerdeContextConfig {
2240
2288
  }
2241
2289
  }
2242
2290
 
2243
- class SmithyRpcV2JsonProtocol extends RpcProtocol {
2291
+ class SmithyRpcV2JsonProtocol extends AbstractRpcV2Protocol {
2244
2292
  codec = new JsonCodec2({
2245
2293
  timestampFormat: {
2246
2294
  useTrait: false,
@@ -2251,41 +2299,19 @@ class SmithyRpcV2JsonProtocol extends RpcProtocol {
2251
2299
  });
2252
2300
  serializer = this.codec.createSerializer();
2253
2301
  deserializer = this.codec.createDeserializer();
2254
- constructor({ defaultNamespace, errorTypeRegistries, }) {
2255
- super({ defaultNamespace, errorTypeRegistries });
2256
- }
2257
2302
  getShapeId() {
2258
2303
  return "smithy.protocols#rpcv2Json";
2259
2304
  }
2260
2305
  getPayloadCodec() {
2261
2306
  return this.codec;
2262
2307
  }
2263
- async serializeRequest(operationSchema, input, context) {
2264
- const request = await super.serializeRequest(operationSchema, input, context);
2265
- Object.assign(request.headers, {
2266
- "content-type": this.getDefaultContentType(),
2267
- "smithy-protocol": "rpc-v2-json",
2268
- accept: this.getDefaultContentType(),
2269
- });
2270
- if (deref(operationSchema.input) === "unit") {
2271
- delete request.body;
2272
- delete request.headers["content-type"];
2273
- }
2274
- else if (!request.body) {
2308
+ getSmithyProtocolHeaderValue() {
2309
+ return "rpc-v2-json";
2310
+ }
2311
+ applyEmptyBody(request) {
2312
+ if (!request.body) {
2275
2313
  request.body = "{}";
2276
2314
  }
2277
- const { service, operation } = getSmithyContext(context);
2278
- const path = `/service/${service}/operation/${operation}`;
2279
- if (request.path.endsWith("/")) {
2280
- request.path += path.slice(1);
2281
- }
2282
- else {
2283
- request.path += path;
2284
- }
2285
- return request;
2286
- }
2287
- async deserializeResponse(operationSchema, context, response) {
2288
- return super.deserializeResponse(operationSchema, context, response);
2289
2315
  }
2290
2316
  async handleError(operationSchema, context, response, dataObject, metadata) {
2291
2317
  const errorName = loadSmithyRpcV2JsonErrorCode(response, dataObject) ?? "Unknown";
@@ -2386,8 +2412,9 @@ class JsonShapeDeserializer extends SerdeContextConfig {
2386
2412
  }
2387
2413
  else if (typeof record.__type === "string") {
2388
2414
  for (const k in record) {
2389
- if (!hasOwn(record, k))
2415
+ if (!hasOwn(record, k)) {
2390
2416
  continue;
2417
+ }
2391
2418
  const v = record[k];
2392
2419
  const t = jsonName ? (nameMap[k] ?? k) : k;
2393
2420
  if (!(t in out)) {
@@ -2409,8 +2436,9 @@ class JsonShapeDeserializer extends SerdeContextConfig {
2409
2436
  const mapMember = ns.getValueSchema();
2410
2437
  const out = {};
2411
2438
  for (const _k in value) {
2412
- if (!hasOwn(value, _k))
2439
+ if (!hasOwn(value, _k)) {
2413
2440
  continue;
2441
+ }
2414
2442
  if (_k === "__proto__") {
2415
2443
  writeKey(out);
2416
2444
  }
@@ -2472,8 +2500,9 @@ class JsonShapeDeserializer extends SerdeContextConfig {
2472
2500
  if (isObject) {
2473
2501
  const out = Array.isArray(value) ? [] : {};
2474
2502
  for (const k in value) {
2475
- if (!hasOwn(value, k))
2503
+ if (!hasOwn(value, k)) {
2476
2504
  continue;
2505
+ }
2477
2506
  if (k === "__proto__") {
2478
2507
  writeKey(out);
2479
2508
  }
@@ -2610,8 +2639,9 @@ class JsonShapeSerializer extends SerdeContextConfig {
2610
2639
  }
2611
2640
  else if (typeof record.__type === "string") {
2612
2641
  for (const k in record) {
2613
- if (!hasOwn(record, k))
2642
+ if (!hasOwn(record, k)) {
2614
2643
  continue;
2644
+ }
2615
2645
  const v = record[k];
2616
2646
  const targetKey = jsonName ? (nameMap[k] ?? k) : k;
2617
2647
  if (!(targetKey in out)) {
@@ -2637,8 +2667,9 @@ class JsonShapeSerializer extends SerdeContextConfig {
2637
2667
  const out = {};
2638
2668
  const sparse = !!ns.getMergedTraits().sparse;
2639
2669
  for (const _k in value) {
2640
- if (!hasOwn(value, _k))
2670
+ if (!hasOwn(value, _k)) {
2641
2671
  continue;
2672
+ }
2642
2673
  const _v = value[_k];
2643
2674
  if (sparse || _v != null) {
2644
2675
  if (_k === "__proto__") {
@@ -2711,8 +2742,9 @@ class JsonShapeSerializer extends SerdeContextConfig {
2711
2742
  }
2712
2743
  const out = Array.isArray(value) ? [] : {};
2713
2744
  for (const k in value) {
2714
- if (!hasOwn(value, k))
2745
+ if (!hasOwn(value, k)) {
2715
2746
  continue;
2747
+ }
2716
2748
  const v = value[k];
2717
2749
  if (k === "__proto__") {
2718
2750
  writeKey(out);
@@ -2753,6 +2785,7 @@ class JsonCodec extends SerdeContextConfig {
2753
2785
  }
2754
2786
  }
2755
2787
 
2788
+ exports.AbstractRpcV2Protocol = AbstractRpcV2Protocol;
2756
2789
  exports.Field = Field;
2757
2790
  exports.Fields = Fields;
2758
2791
  exports.FromStringShapeDeserializer = FromStringShapeDeserializer;