@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
@@ -121,8 +121,9 @@ function readStruct(ns, count, startPos) {
121
121
  if (isUnion) {
122
122
  let resultEmpty = true;
123
123
  for (const _ in result) {
124
- if (!hasOwn(result, _))
124
+ if (!hasOwn(result, _)) {
125
125
  continue;
126
+ }
126
127
  resultEmpty = false;
127
128
  break;
128
129
  }
@@ -291,8 +292,9 @@ function readMapIndefinite(ns) {
291
292
  if (isUnion) {
292
293
  let resultEmpty = true;
293
294
  for (const _ in result) {
294
- if (!hasOwn(result, _))
295
+ if (!hasOwn(result, _)) {
295
296
  continue;
297
+ }
296
298
  resultEmpty = false;
297
299
  break;
298
300
  }
@@ -597,8 +599,9 @@ function transformObject(ns, value) {
597
599
  if (ns.isMapSchema()) {
598
600
  const targetSchema = ns.getValueSchema();
599
601
  for (const key in value) {
600
- if (!hasOwn(value, key))
602
+ if (!hasOwn(value, key)) {
601
603
  continue;
604
+ }
602
605
  newObject[key] = transformObject(targetSchema, value[key]);
603
606
  }
604
607
  }
@@ -608,8 +611,9 @@ function transformObject(ns, value) {
608
611
  if (isUnion) {
609
612
  keys = new Set();
610
613
  for (const k in value) {
611
- if (!hasOwn(value, k))
614
+ if (!hasOwn(value, k)) {
612
615
  continue;
616
+ }
613
617
  if (k !== "__type") {
614
618
  keys.add(k);
615
619
  }
@@ -626,8 +630,9 @@ function transformObject(ns, value) {
626
630
  if (isUnion && keys?.size === 1) {
627
631
  let newObjectEmpty = true;
628
632
  for (const _ in newObject) {
629
- if (!hasOwn(newObject, _))
633
+ if (!hasOwn(newObject, _)) {
630
634
  continue;
635
+ }
631
636
  newObjectEmpty = false;
632
637
  break;
633
638
  }
@@ -638,8 +643,9 @@ function transformObject(ns, value) {
638
643
  }
639
644
  else if (typeof value.__type === "string") {
640
645
  for (const k in value) {
641
- if (!hasOwn(value, k))
646
+ if (!hasOwn(value, k)) {
642
647
  continue;
648
+ }
643
649
  if (!(k in newObject)) {
644
650
  newObject[k] = value[k];
645
651
  }
@@ -254,8 +254,9 @@ function writeStruct(ns, value, serdeContext) {
254
254
  }
255
255
  if (typeof value.__type === "string") {
256
256
  for (const k in value) {
257
- if (!hasOwn(value, k))
257
+ if (!hasOwn(value, k)) {
258
258
  continue;
259
+ }
259
260
  if (!memberNames.includes(k)) {
260
261
  writeString(k);
261
262
  writeUntypedValue(value[k]);
@@ -321,8 +322,9 @@ function writeMap(ns, value, isDocument, serdeContext) {
321
322
  const valueSchema = ns.getValueSchema();
322
323
  const keys = [];
323
324
  for (const k in value) {
324
- if (!hasOwn(value, k))
325
+ if (!hasOwn(value, k)) {
325
326
  continue;
327
+ }
326
328
  const v = value[k];
327
329
  if (isDocument ? v !== undefined : v != null || sparse) {
328
330
  keys.push(k);
@@ -71,8 +71,9 @@ export const buildHttpRpcRequest = async (context, headers, path, resolvedHostna
71
71
  }
72
72
  if (endpoint.headers) {
73
73
  for (const name in endpoint.headers) {
74
- if (!hasOwn(endpoint.headers, name))
74
+ if (!hasOwn(endpoint.headers, name)) {
75
75
  continue;
76
+ }
76
77
  contents.headers[name] = endpoint.headers[name];
77
78
  }
78
79
  }
@@ -149,8 +149,9 @@ export const constructStack = () => {
149
149
  const aliases = getAllAliases(name, _aliases);
150
150
  if (aliases.length > 0) {
151
151
  if (aliases.some((alias) => entriesNameSet.has(alias))) {
152
- if (!override)
152
+ if (!override) {
153
153
  throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
154
+ }
154
155
  for (const alias of aliases) {
155
156
  const toOverrideIndex = absoluteEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias));
156
157
  if (toOverrideIndex === -1) {
@@ -181,8 +182,9 @@ export const constructStack = () => {
181
182
  const aliases = getAllAliases(name, _aliases);
182
183
  if (aliases.length > 0) {
183
184
  if (aliases.some((alias) => entriesNameSet.has(alias))) {
184
- if (!override)
185
+ if (!override) {
185
186
  throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
187
+ }
186
188
  for (const alias of aliases) {
187
189
  const toOverrideIndex = relativeEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias));
188
190
  if (toOverrideIndex === -1) {
@@ -209,10 +211,12 @@ export const constructStack = () => {
209
211
  plugin.applyToStack(stack);
210
212
  },
211
213
  remove: (toRemove) => {
212
- if (typeof toRemove === "string")
214
+ if (typeof toRemove === "string") {
213
215
  return removeByName(toRemove);
214
- else
216
+ }
217
+ else {
215
218
  return removeByReference(toRemove);
219
+ }
216
220
  },
217
221
  removeByTag: (toRemove) => {
218
222
  let isRemoved = false;
@@ -249,8 +253,9 @@ export const constructStack = () => {
249
253
  });
250
254
  },
251
255
  identifyOnResolve(toggle) {
252
- if (typeof toggle === "boolean")
256
+ if (typeof toggle === "boolean") {
253
257
  identifyOnResolve = toggle;
258
+ }
254
259
  return identifyOnResolve;
255
260
  },
256
261
  resolve: (handler, context) => {
@@ -1,6 +1,8 @@
1
1
  import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
2
2
  import { constructStack } from "../middleware-stack/MiddlewareStack";
3
3
  import { schemaLogFilter } from "./schemaLogFilter";
4
+ import { NormalizedSchema } from "@smithy/core/schema";
5
+ const operationEventStreamMarker = Symbol.for("@smithy/op-event-stream");
4
6
  export class Command {
5
7
  middlewareStack = constructStack();
6
8
  schema;
@@ -26,6 +28,7 @@ export class Command {
26
28
  commandInstance: this,
27
29
  ...smithyContext,
28
30
  ...(options?.metricsRecorder === undefined ? {} : { metricsRecorder: options.metricsRecorder }),
31
+ ...(options?.abortSignal === undefined ? {} : { abortSignal: options.abortSignal }),
29
32
  },
30
33
  };
31
34
  const { requestHandler } = configuration;
@@ -34,9 +37,21 @@ export class Command {
34
37
  requestOptions = { ...requestOptions };
35
38
  delete requestOptions.metricsRecorder;
36
39
  }
37
- if (smithyContext.eventStream) {
40
+ let isEventStream;
41
+ const schema = this.schema;
42
+ const marker = schema?.[operationEventStreamMarker];
43
+ if (marker !== undefined) {
44
+ isEventStream = marker;
45
+ }
46
+ else if (schema) {
47
+ if (Array.isArray(schema) && schema[0] === 9) {
48
+ const [, , , , input$, output$] = schema;
49
+ isEventStream = schema[operationEventStreamMarker] = Boolean(NormalizedSchema.of(input$).getEventStreamMember() || NormalizedSchema.of(output$).getEventStreamMember());
50
+ }
51
+ }
52
+ if (isEventStream) {
38
53
  requestOptions = {
39
- isEventStream: true,
54
+ isEventStream,
40
55
  ...requestOptions,
41
56
  };
42
57
  }
@@ -6,8 +6,9 @@ export const createAggregatedClient = (commands, Client, options) => {
6
6
  this.send(command, optionsOrCb);
7
7
  }
8
8
  else if (typeof cb === "function") {
9
- if (typeof optionsOrCb !== "object")
9
+ if (typeof optionsOrCb !== "object") {
10
10
  throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
11
+ }
11
12
  this.send(command, optionsOrCb || {}, cb);
12
13
  }
13
14
  else {
@@ -12,8 +12,9 @@ export class ServiceException extends Error {
12
12
  this.$metadata = options.$metadata;
13
13
  }
14
14
  static isInstance(value) {
15
- if (!value)
15
+ if (!value) {
16
16
  return false;
17
+ }
17
18
  const candidate = value;
18
19
  return (ServiceException.prototype.isPrototypeOf(candidate) ||
19
20
  (Boolean(candidate.$fault) &&
@@ -21,8 +22,9 @@ export class ServiceException extends Error {
21
22
  (candidate.$fault === "client" || candidate.$fault === "server")));
22
23
  }
23
24
  static [Symbol.hasInstance](instance) {
24
- if (!instance)
25
+ if (!instance) {
25
26
  return false;
27
+ }
26
28
  const candidate = instance;
27
29
  if (this === ServiceException) {
28
30
  return ServiceException.isInstance(instance);
@@ -5,8 +5,9 @@ const knownAlgorithms = Object.values(AlgorithmId);
5
5
  export const getChecksumConfiguration = (runtimeConfig) => {
6
6
  const checksumAlgorithms = [];
7
7
  for (const id in AlgorithmId) {
8
- if (!hasOwn(AlgorithmId, id))
8
+ if (!hasOwn(AlgorithmId, id)) {
9
9
  continue;
10
+ }
10
11
  const algorithmId = AlgorithmId[id];
11
12
  if (runtimeConfig[algorithmId] === undefined) {
12
13
  continue;
@@ -2,8 +2,9 @@ import { hasOwn } from "@smithy/core/transport";
2
2
  export const getValueFromTextNode = (obj) => {
3
3
  const textNodeName = "#text";
4
4
  for (const key in obj) {
5
- if (!hasOwn(obj, key))
5
+ if (!hasOwn(obj, key)) {
6
6
  continue;
7
+ }
7
8
  if (obj[key][textNodeName] !== undefined) {
8
9
  obj[key] = obj[key][textNodeName];
9
10
  }
@@ -19,8 +19,9 @@ export function map(arg0, arg1, arg2) {
19
19
  }
20
20
  }
21
21
  for (const key in instructions) {
22
- if (!hasOwn(instructions, key))
22
+ if (!hasOwn(instructions, key)) {
23
23
  continue;
24
+ }
24
25
  if (!Array.isArray(instructions[key])) {
25
26
  target[key] = instructions[key];
26
27
  continue;
@@ -39,8 +40,9 @@ export const convertMap = (target) => {
39
40
  export const take = (source, instructions) => {
40
41
  const out = {};
41
42
  for (const key in instructions) {
42
- if (!hasOwn(instructions, key))
43
+ if (!hasOwn(instructions, key)) {
43
44
  continue;
45
+ }
44
46
  applyInstruction(out, source, instructions, key);
45
47
  }
46
48
  return out;
@@ -9,16 +9,22 @@ export function schemaLogFilter(schema, data) {
9
9
  return SENSITIVE_STRING;
10
10
  }
11
11
  if (ns.isListSchema()) {
12
- const isSensitive = !!ns.getValueSchema().getMergedTraits().sensitive;
13
- if (isSensitive) {
12
+ const valueSchema = ns.getValueSchema();
13
+ if (valueSchema.getMergedTraits().sensitive) {
14
14
  return SENSITIVE_STRING;
15
15
  }
16
+ if (Array.isArray(data)) {
17
+ return data.map((value) => schemaLogFilter(valueSchema, value));
18
+ }
16
19
  }
17
20
  else if (ns.isMapSchema()) {
18
- const isSensitive = !!ns.getKeySchema().getMergedTraits().sensitive || !!ns.getValueSchema().getMergedTraits().sensitive;
19
- if (isSensitive) {
21
+ const valueSchema = ns.getValueSchema();
22
+ if (ns.getKeySchema().getMergedTraits().sensitive || valueSchema.getMergedTraits().sensitive) {
20
23
  return SENSITIVE_STRING;
21
24
  }
25
+ if (typeof data === "object") {
26
+ return Object.fromEntries(Object.entries(data).map(([key, value]) => [key, schemaLogFilter(valueSchema, value)]));
27
+ }
22
28
  }
23
29
  else if (ns.isStructSchema() && typeof data === "object") {
24
30
  const object = data;
@@ -9,8 +9,9 @@ export const _json = (obj) => {
9
9
  if (typeof obj === "object") {
10
10
  const target = {};
11
11
  for (const key in obj) {
12
- if (!hasOwn(obj, key))
12
+ if (!hasOwn(obj, key)) {
13
13
  continue;
14
+ }
14
15
  if (obj[key] == null) {
15
16
  continue;
16
17
  }
@@ -9,14 +9,18 @@ const getHomeDirCacheKey = () => {
9
9
  };
10
10
  export const getHomeDir = () => {
11
11
  const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${sep}` } = process.env;
12
- if (HOME)
12
+ if (HOME) {
13
13
  return HOME;
14
- if (USERPROFILE)
14
+ }
15
+ if (USERPROFILE) {
15
16
  return USERPROFILE;
16
- if (HOMEPATH)
17
+ }
18
+ if (HOMEPATH) {
17
19
  return `${HOMEDRIVE}${HOMEPATH}`;
20
+ }
18
21
  const homeDirCacheKey = getHomeDirCacheKey();
19
- if (!homeDirCache[homeDirCacheKey])
22
+ if (!homeDirCache[homeDirCacheKey]) {
20
23
  homeDirCache[homeDirCacheKey] = homedir();
24
+ }
21
25
  return homeDirCache[homeDirCacheKey];
22
26
  };
@@ -1,9 +1,12 @@
1
1
  export const booleanSelector = (obj, key, type) => {
2
- if (!(key in obj))
2
+ if (!(key in obj)) {
3
3
  return undefined;
4
- if (obj[key] === "true")
4
+ }
5
+ if (obj[key] === "true") {
5
6
  return true;
6
- if (obj[key] === "false")
7
+ }
8
+ if (obj[key] === "false") {
7
9
  return false;
10
+ }
8
11
  throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
9
12
  };
@@ -1,6 +1,7 @@
1
1
  export const numberSelector = (obj, key, type) => {
2
- if (!(key in obj))
2
+ if (!(key in obj)) {
3
3
  return undefined;
4
+ }
4
5
  const numberValue = parseInt(obj[key], 10);
5
6
  if (Number.isNaN(numberValue)) {
6
7
  throw new TypeError(`Cannot load ${type} '${key}'. Expected number, got '${obj[key]}'.`);
@@ -5,11 +5,13 @@ export const getEndpointUrlConfig = (serviceId) => ({
5
5
  environmentVariableSelector: (env) => {
6
6
  const serviceSuffixParts = serviceId.split(" ").map((w) => w.toUpperCase());
7
7
  const serviceEndpointUrl = env[[ENV_ENDPOINT_URL, ...serviceSuffixParts].join("_")];
8
- if (serviceEndpointUrl)
8
+ if (serviceEndpointUrl) {
9
9
  return serviceEndpointUrl;
10
+ }
10
11
  const endpointUrl = env[ENV_ENDPOINT_URL];
11
- if (endpointUrl)
12
+ if (endpointUrl) {
12
13
  return endpointUrl;
14
+ }
13
15
  return undefined;
14
16
  },
15
17
  configFileSelector: (profile, config) => {
@@ -21,12 +23,14 @@ export const getEndpointUrlConfig = (serviceId) => ({
21
23
  const servicesSection = config[servicesSectionKey];
22
24
  const servicePrefixParts = serviceId.split(" ").map((w) => w.toLowerCase());
23
25
  const endpointUrl = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(CONFIG_PREFIX_SEPARATOR)];
24
- if (endpointUrl)
26
+ if (endpointUrl) {
25
27
  return endpointUrl;
28
+ }
26
29
  }
27
30
  const endpointUrl = profile[CONFIG_ENDPOINT_URL];
28
- if (endpointUrl)
31
+ if (endpointUrl) {
29
32
  return endpointUrl;
33
+ }
30
34
  return undefined;
31
35
  },
32
36
  default: undefined,
@@ -7,8 +7,9 @@ export const resolveEndpoint = (ruleSetObject, options) => {
7
7
  const { parameters, rules } = ruleSetObject;
8
8
  options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
9
9
  for (const paramKey in parameters) {
10
- if (!hasOwn(parameters, paramKey))
10
+ if (!hasOwn(parameters, paramKey)) {
11
11
  continue;
12
+ }
12
13
  const parameter = parameters[paramKey];
13
14
  const endpointParam = endpointParams[paramKey];
14
15
  if (endpointParam == null && parameter.default != null) {
@@ -53,8 +53,9 @@ export class EventStreamSerde {
53
53
  }
54
54
  let unionMember = "";
55
55
  for (const key in event) {
56
- if (!hasOwn(event, key))
56
+ if (!hasOwn(event, key)) {
57
57
  continue;
58
+ }
58
59
  if (key !== "__type") {
59
60
  unionMember = key;
60
61
  break;
@@ -82,8 +83,9 @@ export class EventStreamSerde {
82
83
  const asyncIterable = marshaller.deserialize(response.body, async (event) => {
83
84
  let unionMember = "";
84
85
  for (const key in event) {
85
- if (!hasOwn(event, key))
86
+ if (!hasOwn(event, key)) {
86
87
  continue;
88
+ }
87
89
  if (key !== "__type") {
88
90
  unionMember = key;
89
91
  break;
@@ -158,8 +160,9 @@ export class EventStreamSerde {
158
160
  throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
159
161
  }
160
162
  for (const key in firstEvent.value) {
161
- if (!hasOwn(firstEvent.value, key))
163
+ if (!hasOwn(firstEvent.value, key)) {
162
164
  continue;
165
+ }
163
166
  initialResponseContainer[key] = firstEvent.value[key];
164
167
  }
165
168
  }
@@ -11,9 +11,13 @@ export class HeaderMarshaller {
11
11
  format(headers) {
12
12
  const chunks = [];
13
13
  for (const headerName in headers) {
14
- if (!hasOwn(headers, headerName))
14
+ if (!hasOwn(headers, headerName)) {
15
15
  continue;
16
+ }
16
17
  const bytes = this.fromUtf8(headerName);
18
+ if (bytes.byteLength > 255) {
19
+ throw new Error(`@smithy/core/event-streams - header name exceeds 255 bytes: ${bytes.byteLength}`);
20
+ }
17
21
  chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
18
22
  }
19
23
  const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
@@ -46,6 +50,9 @@ export class HeaderMarshaller {
46
50
  longBytes.set(header.value.bytes, 1);
47
51
  return longBytes;
48
52
  case "binary":
53
+ if (header.value.byteLength > MAX_HEADER_VALUE_BYTES) {
54
+ throw new Error(`@smithy/core/event-streams - header value (binary) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${header.value.byteLength}`);
55
+ }
49
56
  const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
50
57
  binView.setUint8(0, 6);
51
58
  binView.setUint16(1, header.value.byteLength, false);
@@ -54,6 +61,9 @@ export class HeaderMarshaller {
54
61
  return binBytes;
55
62
  case "string":
56
63
  const utf8Bytes = this.fromUtf8(header.value);
64
+ if (utf8Bytes.byteLength > MAX_HEADER_VALUE_BYTES) {
65
+ throw new Error(`@smithy/core/event-streams - header value (string) exceeds ${MAX_HEADER_VALUE_BYTES} bytes: ${utf8Bytes.byteLength}`);
66
+ }
57
67
  const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
58
68
  strView.setUint8(0, 7);
59
69
  strView.setUint16(1, utf8Bytes.byteLength, false);
@@ -185,3 +195,4 @@ const STRING_TAG = "string";
185
195
  const TIMESTAMP_TAG = "timestamp";
186
196
  const UUID_TAG = "uuid";
187
197
  const UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
198
+ const MAX_HEADER_VALUE_BYTES = 32767;
@@ -38,7 +38,8 @@ function negate(bytes) {
38
38
  }
39
39
  for (let i = 7; i > -1; i--) {
40
40
  bytes[i]++;
41
- if (bytes[i] !== 0)
41
+ if (bytes[i] !== 0) {
42
42
  break;
43
+ }
43
44
  }
44
45
  }
@@ -9,8 +9,9 @@ export class SmithyMessageDecoderStream {
9
9
  async *asyncIterator() {
10
10
  for await (const message of this.options.messageStream) {
11
11
  const deserialized = await this.options.deserializer(message);
12
- if (deserialized === undefined)
12
+ if (deserialized === undefined) {
13
13
  continue;
14
+ }
14
15
  yield deserialized;
15
16
  }
16
17
  }
@@ -4,8 +4,9 @@ export const readableStreamToIterable = (readableStream) => ({
4
4
  try {
5
5
  while (true) {
6
6
  const { done, value } = await reader.read();
7
- if (done)
7
+ if (done) {
8
8
  return;
9
+ }
9
10
  yield value;
10
11
  }
11
12
  }
@@ -5,8 +5,9 @@ export function getUnmarshalledStream(source, options) {
5
5
  for await (const chunk of source) {
6
6
  const message = options.eventStreamCodec.decode(chunk);
7
7
  const type = await messageUnmarshaller(message);
8
- if (type === undefined)
8
+ if (type === undefined) {
9
9
  continue;
10
+ }
10
11
  yield type;
11
12
  }
12
13
  },
@@ -36,8 +37,9 @@ export function getMessageUnmarshaller(deserializer, toUtf8) {
36
37
  [message.headers[":event-type"].value]: message,
37
38
  };
38
39
  const deserialized = await deserializer(event);
39
- if (deserialized.$unknown)
40
+ if (deserialized.$unknown) {
40
41
  return;
42
+ }
41
43
  return deserialized;
42
44
  }
43
45
  else {
@@ -0,0 +1,35 @@
1
+ import { deref } from "@smithy/core/schema";
2
+ import { getSmithyContext } from "@smithy/core/transport";
3
+ import { RpcProtocol } from "./RpcProtocol";
4
+ export class AbstractRpcV2Protocol extends RpcProtocol {
5
+ constructor({ defaultNamespace, errorTypeRegistries, }) {
6
+ super({ defaultNamespace, errorTypeRegistries });
7
+ }
8
+ async serializeRequest(operationSchema, input, context) {
9
+ const request = await super.serializeRequest(operationSchema, input, context);
10
+ Object.assign(request.headers, {
11
+ "content-type": this.getDefaultContentType(),
12
+ "smithy-protocol": this.getSmithyProtocolHeaderValue(),
13
+ accept: this.getDefaultContentType(),
14
+ });
15
+ if (deref(operationSchema.input) === "unit") {
16
+ delete request.body;
17
+ delete request.headers["content-type"];
18
+ }
19
+ else {
20
+ this.applyEmptyBody(request);
21
+ }
22
+ const { service, operation } = getSmithyContext(context);
23
+ const path = `/service/${service}/operation/${operation}`;
24
+ if (request.path.endsWith("/")) {
25
+ request.path += path.slice(1);
26
+ }
27
+ else {
28
+ request.path += path;
29
+ }
30
+ return request;
31
+ }
32
+ isErrorResponse(statusCode) {
33
+ return statusCode !== 200;
34
+ }
35
+ }
@@ -94,8 +94,9 @@ export class HttpBindingProtocol extends HttpProtocol {
94
94
  }
95
95
  else if (typeof memberTraits.httpPrefixHeaders === "string") {
96
96
  for (const key in inputMemberValue) {
97
- if (!hasOwn(inputMemberValue, key))
97
+ if (!hasOwn(inputMemberValue, key)) {
98
98
  continue;
99
+ }
99
100
  const val = inputMemberValue[key];
100
101
  const amalgam = memberTraits.httpPrefixHeaders + key;
101
102
  serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
@@ -142,8 +143,9 @@ export class HttpBindingProtocol extends HttpProtocol {
142
143
  const traits = ns.getMergedTraits();
143
144
  if (traits.httpQueryParams) {
144
145
  for (const key in data) {
145
- if (!hasOwn(data, key))
146
+ if (!hasOwn(data, key)) {
146
147
  continue;
148
+ }
147
149
  if (!(key in query)) {
148
150
  const val = data[key];
149
151
  const valueSchema = ns.getValueSchema();
@@ -187,8 +189,9 @@ export class HttpBindingProtocol extends HttpProtocol {
187
189
  throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.");
188
190
  }
189
191
  for (const header in response.headers) {
190
- if (!hasOwn(response.headers, header))
192
+ if (!hasOwn(response.headers, header)) {
191
193
  continue;
194
+ }
192
195
  const value = response.headers[header];
193
196
  delete response.headers[header];
194
197
  response.headers[header.toLowerCase()] = value;
@@ -276,8 +279,9 @@ export class HttpBindingProtocol extends HttpProtocol {
276
279
  else if (memberTraits.httpPrefixHeaders !== undefined) {
277
280
  dataObject[memberName] = {};
278
281
  for (const header in response.headers) {
279
- if (!hasOwn(response.headers, header))
282
+ if (!hasOwn(response.headers, header)) {
280
283
  continue;
284
+ }
281
285
  if (header.startsWith(memberTraits.httpPrefixHeaders)) {
282
286
  const value = response.headers[header];
283
287
  const valueSchema = memberSchema.getValueSchema();
@@ -44,8 +44,9 @@ export class HttpProtocol extends SerdeContext {
44
44
  }
45
45
  if (endpoint.headers) {
46
46
  for (const name in endpoint.headers) {
47
- if (!hasOwn(endpoint.headers, name))
47
+ if (!hasOwn(endpoint.headers, name)) {
48
48
  continue;
49
+ }
49
50
  request.headers[name] = endpoint.headers[name].join(", ");
50
51
  }
51
52
  }
@@ -61,8 +62,9 @@ export class HttpProtocol extends SerdeContext {
61
62
  };
62
63
  if (endpoint.headers) {
63
64
  for (const name in endpoint.headers) {
64
- if (!hasOwn(endpoint.headers, name))
65
+ if (!hasOwn(endpoint.headers, name)) {
65
66
  continue;
67
+ }
66
68
  request.headers[name] = endpoint.headers[name];
67
69
  }
68
70
  }