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

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 (156) hide show
  1. package/.jsii +11 -11
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +1 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1 -1
  9. package/node_modules/@aws-sdk/client-cloudformation/package.json +9 -9
  10. package/node_modules/@aws-sdk/client-connect/README.md +11 -6
  11. package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +74 -47
  12. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +43 -16
  13. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +12 -7
  14. package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +12 -7
  15. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateVocabularyCommand.d.ts +2 -1
  16. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetMetricDataV2Command.d.ts +2 -1
  17. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactsCommand.d.ts +17 -0
  18. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
  19. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
  20. package/node_modules/@aws-sdk/client-connect/dist-types/index.d.ts +12 -7
  21. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +40 -37
  22. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +152 -59
  23. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +69 -63
  24. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +72 -16
  25. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +3 -0
  26. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +2 -4
  27. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +2 -4
  28. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
  29. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
  30. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +9 -10
  31. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +9 -10
  32. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +19 -15
  33. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +17 -1
  34. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  35. package/node_modules/@aws-sdk/client-connect/package.json +9 -9
  36. package/node_modules/@aws-sdk/client-glue/README.md +14 -0
  37. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +38 -0
  38. package/node_modules/@aws-sdk/client-glue/dist-cjs/models/errors.js +16 -1
  39. package/node_modules/@aws-sdk/client-glue/dist-cjs/schemas/schemas_0.js +91 -36
  40. package/node_modules/@aws-sdk/client-glue/dist-es/Glue.js +4 -0
  41. package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetDashboardUrlCommand.js +16 -0
  42. package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetSessionEndpointCommand.js +16 -0
  43. package/node_modules/@aws-sdk/client-glue/dist-es/commands/index.js +2 -0
  44. package/node_modules/@aws-sdk/client-glue/dist-es/models/enums.js +8 -0
  45. package/node_modules/@aws-sdk/client-glue/dist-es/models/errors.js +14 -0
  46. package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +66 -11
  47. package/node_modules/@aws-sdk/client-glue/dist-types/Glue.d.ts +14 -0
  48. package/node_modules/@aws-sdk/client-glue/dist-types/GlueClient.d.ts +4 -2
  49. package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateSessionCommand.d.ts +5 -0
  50. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDashboardUrlCommand.d.ts +93 -0
  51. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetMLTaskRunCommand.d.ts +1 -2
  52. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionCommand.d.ts +1 -0
  53. package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionEndpointCommand.d.ts +101 -0
  54. package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListSessionsCommand.d.ts +1 -0
  55. package/node_modules/@aws-sdk/client-glue/dist-types/commands/RunStatementCommand.d.ts +6 -0
  56. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
  57. package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDatabaseCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-glue/dist-types/commands/index.d.ts +2 -0
  59. package/node_modules/@aws-sdk/client-glue/dist-types/models/enums.d.ts +24 -0
  60. package/node_modules/@aws-sdk/client-glue/dist-types/models/errors.d.ts +17 -0
  61. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +41 -28
  62. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +70 -97
  63. package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +97 -2
  64. package/node_modules/@aws-sdk/client-glue/dist-types/schemas/schemas_0.d.ts +8 -0
  65. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/Glue.d.ts +34 -0
  66. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/GlueClient.d.ts +12 -0
  67. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDashboardUrlCommand.d.ts +52 -0
  68. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetMLTaskRunCommand.d.ts +1 -2
  69. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +53 -0
  70. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +1 -1
  72. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/index.d.ts +2 -0
  73. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/enums.d.ts +11 -0
  74. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/errors.d.ts +8 -0
  75. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +12 -7
  76. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +18 -22
  77. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_3.d.ts +21 -1
  78. package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  79. package/node_modules/@aws-sdk/client-glue/package.json +9 -9
  80. package/node_modules/@aws-sdk/client-lakeformation/package.json +9 -9
  81. package/node_modules/@aws-sdk/client-ram/package.json +9 -9
  82. package/node_modules/@aws-sdk/client-sts/package.json +11 -11
  83. package/node_modules/@aws-sdk/core/dist-cjs/index.js +12 -6
  84. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -6
  85. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -0
  86. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -6
  87. package/node_modules/@aws-sdk/core/package.json +7 -7
  88. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  89. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
  90. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  91. package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
  92. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  93. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  94. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  95. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  96. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +99 -106
  97. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +62 -120
  98. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +55 -86
  99. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +73 -104
  100. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +102 -185
  101. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +4 -5
  102. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +21 -57
  103. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +1 -2
  104. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -4
  105. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +73 -41
  106. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +4 -5
  107. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +20 -52
  108. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +1 -2
  109. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -4
  110. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +36 -59
  111. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +4 -5
  112. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +17 -45
  113. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +1 -2
  114. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -4
  115. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
  116. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +4 -5
  117. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +17 -45
  118. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +1 -2
  119. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -4
  120. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
  121. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
  122. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
  123. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +34 -96
  124. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +1 -2
  125. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +3 -6
  126. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +63 -80
  127. package/node_modules/@aws-sdk/nested-clients/package.json +9 -9
  128. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -5
  129. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  130. package/node_modules/@aws-sdk/types/package.json +3 -3
  131. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
  132. package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
  133. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
  134. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +2 -0
  135. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
  136. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +2 -0
  137. package/node_modules/@smithy/credential-provider-imds/package.json +1 -1
  138. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +6 -4
  139. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -6
  140. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +2 -1
  141. package/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
  142. package/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
  143. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
  144. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  145. package/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
  146. package/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
  147. package/node_modules/@smithy/node-http-handler/package.json +1 -1
  148. package/node_modules/@types/aws-lambda/README.md +1 -1
  149. package/node_modules/@types/aws-lambda/package.json +3 -3
  150. package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +2 -0
  151. package/node_modules/which-typed-array/CHANGELOG.md +7 -0
  152. package/node_modules/which-typed-array/eslint.config.mjs +1 -0
  153. package/node_modules/which-typed-array/index.d.ts +22 -31
  154. package/node_modules/which-typed-array/index.js +36 -23
  155. package/node_modules/which-typed-array/package.json +4 -7
  156. package/package.json +14 -14
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-locate-window",
3
- "version": "3.965.5",
3
+ "version": "3.965.6",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-locate-window",
@@ -15,7 +15,7 @@
15
15
  "sideEffects": false,
16
16
  "author": {
17
17
  "name": "AWS SDK for JavaScript Team",
18
- "url": "https://aws.amazon.com/javascript/"
18
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
19
19
  },
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@aws-sdk/xml-builder",
3
- "version": "3.972.26",
3
+ "version": "3.972.28",
4
4
  "description": "XML utilities for the AWS SDK",
5
5
  "dependencies": {
6
- "@smithy/types": "^4.14.2",
6
+ "@smithy/types": "^4.14.3",
7
7
  "fast-xml-parser": "5.7.3",
8
8
  "tslib": "^2.6.2"
9
9
  },
@@ -21,7 +21,7 @@
21
21
  "sideEffects": false,
22
22
  "author": {
23
23
  "name": "AWS SDK for JavaScript Team",
24
- "url": "https://aws.amazon.com/javascript/"
24
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "main": "./dist-cjs/index.js",
@@ -1,8 +1,8 @@
1
- import { request } from "node:http";
2
1
  import { ProviderError } from "@smithy/core/config";
2
+ import { node_http } from "./node-http";
3
3
  export function httpRequest(options) {
4
4
  return new Promise((resolve, reject) => {
5
- const req = request({
5
+ const req = node_http.request({
6
6
  method: "GET",
7
7
  ...options,
8
8
  hostname: options.hostname?.replace(/^\[(.+)\]$/, "$1"),
@@ -0,0 +1,2 @@
1
+ import node_http from "node:http";
2
+ export { node_http };
@@ -1,4 +1,4 @@
1
- import { type RequestOptions } from "node:http";
1
+ import type { RequestOptions } from "node:http";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -0,0 +1,2 @@
1
+ import node_http from "node:http";
2
+ export { node_http };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/credential-provider-imds",
3
- "version": "4.3.7",
3
+ "version": "4.3.8",
4
4
  "description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var node_https = require('node:https');
4
3
  var protocols = require('@smithy/core/protocols');
4
+ var node_https = require('node:https');
5
5
  var node_stream = require('node:stream');
6
6
  var http2 = require('node:http2');
7
7
 
@@ -414,7 +414,8 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
414
414
  socketAcquisitionWarningTimeout,
415
415
  throwOnRequestTimeout,
416
416
  httpAgentProvider: async () => {
417
- const { Agent, request } = await import('node:http');
417
+ const node_http = await import('node:http');
418
+ const { Agent, request } = node_http.default ?? node_http;
418
419
  hRequest = request;
419
420
  hAgent = Agent;
420
421
  if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === "function") {
@@ -666,6 +667,7 @@ class NodeHttp2ConnectionManager {
666
667
  }
667
668
  }
668
669
 
670
+ const { constants } = http2;
669
671
  class NodeHttp2Handler {
670
672
  config;
671
673
  configProvider;
@@ -760,8 +762,8 @@ class NodeHttp2Handler {
760
762
  }
761
763
  const clientHttp2Stream = session.request({
762
764
  ...request.headers,
763
- [http2.constants.HTTP2_HEADER_PATH]: path,
764
- [http2.constants.HTTP2_HEADER_METHOD]: method,
765
+ [constants.HTTP2_HEADER_PATH]: path,
766
+ [constants.HTTP2_HEADER_METHOD]: method,
765
767
  });
766
768
  if (effectiveRequestTimeout) {
767
769
  clientHttp2Stream.setTimeout(effectiveRequestTimeout, () => {
@@ -1,8 +1,8 @@
1
- import { Agent as hsAgent, request as hsRequest } from "node:https";
2
1
  import { HttpResponse, buildQueryString } from "@smithy/core/protocols";
3
2
  import { buildAbortError } from "./build-abort-error";
4
3
  import { NODEJS_TIMEOUT_ERROR_CODES } from "./constants";
5
4
  import { getTransformedHeaders } from "./get-transformed-headers";
5
+ import { node_https } from "./node-https";
6
6
  import { setConnectionTimeout } from "./set-connection-timeout";
7
7
  import { setRequestTimeout } from "./set-request-timeout";
8
8
  import { setSocketKeepAlive } from "./set-socket-keep-alive";
@@ -107,7 +107,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
107
107
  const expectContinue = headers ? (headers.Expect ?? headers.expect) === "100-continue" : false;
108
108
  let agent = isSSL ? config.httpsAgent : config.httpAgent;
109
109
  if (expectContinue && !this.externalAgent) {
110
- agent = new (isSSL ? hsAgent : hAgent)({
110
+ agent = new (isSSL ? node_https.Agent : hAgent)({
111
111
  keepAlive: false,
112
112
  maxSockets: Infinity,
113
113
  });
@@ -145,7 +145,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
145
145
  agent,
146
146
  auth,
147
147
  };
148
- const requestFunc = isSSL ? hsRequest : hRequest;
148
+ const requestFunc = isSSL ? node_https.request : hRequest;
149
149
  const req = requestFunc(nodeHttpsOptions, (res) => {
150
150
  const httpResponse = new HttpResponse({
151
151
  statusCode: res.statusCode || -1,
@@ -218,7 +218,8 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
218
218
  socketAcquisitionWarningTimeout,
219
219
  throwOnRequestTimeout,
220
220
  httpAgentProvider: async () => {
221
- const { Agent, request } = await import("node:http");
221
+ const node_http = await import("node:http");
222
+ const { Agent, request } = node_http.default ?? node_http;
222
223
  hRequest = request;
223
224
  hAgent = Agent;
224
225
  if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === "function") {
@@ -228,11 +229,11 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
228
229
  return new hAgent({ keepAlive, maxSockets, ...httpAgent });
229
230
  },
230
231
  httpsAgent: (() => {
231
- if (httpsAgent instanceof hsAgent || typeof httpsAgent?.destroy === "function") {
232
+ if (httpsAgent instanceof node_https.Agent || typeof httpsAgent?.destroy === "function") {
232
233
  this.externalAgent = true;
233
234
  return httpsAgent;
234
235
  }
235
- return new hsAgent({ keepAlive, maxSockets, ...httpsAgent });
236
+ return new node_https.Agent({ keepAlive, maxSockets, ...httpsAgent });
236
237
  })(),
237
238
  logger,
238
239
  };
@@ -1,9 +1,10 @@
1
- import { constants } from "node:http2";
2
1
  import { HttpResponse, buildQueryString } from "@smithy/core/protocols";
3
2
  import { buildAbortError } from "./build-abort-error";
4
3
  import { getTransformedHeaders } from "./get-transformed-headers";
4
+ import { node_http2 } from "./node-http2";
5
5
  import { NodeHttp2ConnectionManager } from "./node-http2-connection-manager";
6
6
  import { writeRequestBody } from "./write-request-body";
7
+ const { constants } = node_http2;
7
8
  export class NodeHttp2Handler {
8
9
  config;
9
10
  configProvider;
@@ -0,0 +1,2 @@
1
+ import node_http2 from "node:http2";
2
+ export { node_http2 };
@@ -0,0 +1,2 @@
1
+ import node_https from "node:https";
2
+ export { node_https };
@@ -1,5 +1,5 @@
1
1
  import type { Agent as hAgentType } from "node:http";
2
- import { Agent as hsAgent } from "node:https";
2
+ import type { Agent as hsAgentType } from "node:https";
3
3
  import { HttpResponse, type HttpHandler, type HttpRequest } from "@smithy/core/protocols";
4
4
  import type { HttpHandlerOptions, Logger, NodeHttpHandlerOptions, Provider } from "@smithy/types";
5
5
  export { NodeHttpHandlerOptions };
@@ -35,7 +35,7 @@ export declare class NodeHttpHandler implements HttpHandler<NodeHttpHandlerOptio
35
35
  * @param logger - channel for the warning.
36
36
  * @returns timestamp of last emitted warning.
37
37
  */
38
- static checkSocketUsage(agent: hAgentType | hsAgent, socketWarningTimestamp: number, logger?: Logger): number;
38
+ static checkSocketUsage(agent: hAgentType | hsAgentType, socketWarningTimestamp: number, logger?: Logger): number;
39
39
  constructor(options?: NodeHttpHandlerOptions | Provider<NodeHttpHandlerOptions | void>);
40
40
  destroy(): void;
41
41
  handle(request: HttpRequest, { abortSignal, requestTimeout }?: HttpHandlerOptions): Promise<{
@@ -1,4 +1,4 @@
1
- import { type ClientSessionOptions, type SecureClientSessionOptions } from "node:http2";
1
+ import type { ClientSessionOptions, SecureClientSessionOptions } from "node:http2";
2
2
  import { HttpResponse, type HttpHandler, type HttpRequest } from "@smithy/core/protocols";
3
3
  import type { HttpHandlerOptions, Provider } from "@smithy/types";
4
4
  /**
@@ -0,0 +1,2 @@
1
+ import node_http2 from "node:http2";
2
+ export { node_http2 };
@@ -0,0 +1,2 @@
1
+ import node_https from "node:https";
2
+ export { node_https };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "4.7.6",
3
+ "version": "4.7.7",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
@@ -8,7 +8,7 @@ This package contains type definitions for aws-lambda (http://docs.aws.amazon.co
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 26 Feb 2026 18:14:19 GMT
11
+ * Last updated: Sat, 06 Jun 2026 12:54:36 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/aws-lambda",
3
- "version": "8.10.161",
3
+ "version": "8.10.162",
4
4
  "description": "TypeScript definitions for aws-lambda",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda",
6
6
  "license": "MIT",
@@ -221,6 +221,6 @@
221
221
  "scripts": {},
222
222
  "dependencies": {},
223
223
  "peerDependencies": {},
224
- "typesPublisherContentHash": "27d4cf93e028357fae8dbd0b56c5cc7cec355e3ba1da224c53e2b497600a4d81",
225
- "typeScriptVersion": "5.2"
224
+ "typesPublisherContentHash": "887084a96568d7a80f9cba501909ed52cecd243d2584c88b342d42e4ce9db97a",
225
+ "typeScriptVersion": "5.3"
226
226
  }
@@ -239,6 +239,8 @@ export interface APIGatewayProxyWebsocketEventV2WithRequestContext<TRequestConte
239
239
  body?: string;
240
240
  isBase64Encoded: boolean;
241
241
  stageVariables?: APIGatewayProxyEventStageVariables;
242
+ queryStringParameters?: APIGatewayProxyEventQueryStringParameters;
243
+ multiValueQueryStringParameters?: APIGatewayProxyEventMultiValueQueryStringParameters;
242
244
  }
243
245
 
244
246
  /**
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [v1.1.22](https://github.com/inspect-js/which-typed-array/compare/v1.1.21...v1.1.22) - 2026-06-05
9
+
10
+ ### Commits
11
+
12
+ - [types] improve typings [`5a60076`](https://github.com/inspect-js/which-typed-array/commit/5a60076ec334e32dcb41d38b1eb6c2c49d18d097)
13
+ - [Dev Deps] update `@arethetypeswrong/cli`, `auto-changelog`, `eslint` [`6fb45d2`](https://github.com/inspect-js/which-typed-array/commit/6fb45d27e29dc0384d142c3af95540dfe7409207)
14
+
8
15
  ## [v1.1.21](https://github.com/inspect-js/which-typed-array/compare/v1.1.20...v1.1.21) - 2026-05-26
9
16
 
10
17
  ### Commits
@@ -4,6 +4,7 @@ export default [
4
4
  ...ljharbConfig,
5
5
  {
6
6
  rules: {
7
+ 'func-style': ['error', 'declaration'],
7
8
  'max-statements-per-line': ['error', { max: 2 }],
8
9
  'no-extra-parens': 'off',
9
10
  },
@@ -4,41 +4,32 @@
4
4
  * @param {unknown} value The potential collection
5
5
  * @returns {TypedArrayName | false | null} 'Int8Array' | 'Uint8Array' | 'Uint8ClampedArray' | 'Int16Array' | 'Uint16Array' | 'Int32Array' | 'Uint32Array' | 'Float32Array' | 'Float64Array' | 'BigInt64Array' | 'BigUint64Array' | false | null
6
6
  */
7
- declare function whichTypedArray(value: Int8Array): 'Int8Array';
8
- declare function whichTypedArray(value: Uint8Array): 'Uint8Array';
9
- declare function whichTypedArray(value: Uint8ClampedArray): 'Uint8ClampedArray';
10
- declare function whichTypedArray(value: Int16Array): 'Int16Array';
11
- declare function whichTypedArray(value: Uint16Array): 'Uint16Array';
12
- declare function whichTypedArray(value: Int32Array): 'Int32Array';
13
- declare function whichTypedArray(value: Uint32Array): 'Uint32Array';
14
- declare function whichTypedArray(value: Float16Array): 'Float16Array';
15
- declare function whichTypedArray(value: Float32Array): 'Float32Array';
16
- declare function whichTypedArray(value: Float64Array): 'Float64Array';
17
- declare function whichTypedArray(value: Float16Array): 'Float16Array';
18
- declare function whichTypedArray(value: BigInt64Array): 'BigInt64Array';
19
- declare function whichTypedArray(value: BigUint64Array): 'BigUint64Array';
20
- declare function whichTypedArray(value: whichTypedArray.TypedArray): whichTypedArray.TypedArrayName;
21
- declare function whichTypedArray(value: unknown): false | null;
7
+ declare function whichTypedArray<T>(value: T): false | null | whichTypedArray.WhichTypedArray<T>;
8
+ declare function whichTypedArray(value: unknown): false | null | whichTypedArray.TypedArrayName;
9
+
10
+ import TAs from 'available-typed-arrays';
22
11
 
23
12
  declare namespace whichTypedArray {
24
- export type TypedArrayName = ReturnType<typeof import('available-typed-arrays')>[number];
13
+ export type TypedArrayName = ReturnType<typeof TAs>[number];
14
+
15
+ export type TypedArrayConstructor = typeof globalThis[TypedArrayName];
25
16
 
26
- export type TypedArray =
27
- | Int8Array
28
- | Uint8Array
29
- | Uint8ClampedArray
30
- | Int16Array
31
- | Uint16Array
32
- | Int32Array
33
- | Uint32Array
34
- | Float16Array
35
- | Float32Array
36
- | Float64Array
37
- | Float16Array
38
- | BigInt64Array
39
- | BigUint64Array;
17
+ export type TypedArray = TypedArrayConstructor['prototype'];
40
18
 
41
- export type TypedArrayConstructor = typeof globalThis[TypedArrayName];
19
+ /**
20
+ * Distributes over `T`, so a subset of typed arrays maps to the matching
21
+ * subset of names (`Int8Array | Uint8Array` -> `'Int8Array' | 'Uint8Array'`,
22
+ * never a float16 or bigint name). Any non-typed-array part adds `false | null`.
23
+ *
24
+ * Derived entirely from `TypedArrayName`, so a new entry in `available-typed-arrays` flows through with no other change here.
25
+ */
26
+ export type WhichTypedArray<T> =
27
+ | {
28
+ [Name in TypedArrayName]: T extends typeof globalThis[Name]['prototype']
29
+ ? Name
30
+ : never
31
+ }[TypedArrayName]
32
+ | ([T] extends [TypedArray] ? never : false | null);
42
33
  }
43
34
 
44
35
  export = whichTypedArray;
@@ -15,6 +15,9 @@ var typedArrays = availableTypedArrays();
15
15
 
16
16
  var $slice = callBound('String.prototype.slice');
17
17
 
18
+ /** @import { BoundSet, BoundSlice, Cache, Getter } from './types' */
19
+ /** @import { TypedArrayName } from '.' */
20
+
18
21
  /** @type {<T = unknown>(array: readonly T[], value: unknown) => number} */
19
22
  var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
20
23
  for (var i = 0; i < array.length; i += 1) {
@@ -25,8 +28,7 @@ var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(ar
25
28
  return -1;
26
29
  };
27
30
 
28
- /** @typedef {import('./types').Getter} Getter */
29
- /** @type {import('./types').Cache} */
31
+ /** @type {Cache} */
30
32
  var cache = { __proto__: null };
31
33
  if (hasToStringTag && gOPD && getProto) {
32
34
  forEach(typedArrays, function (typedArray) {
@@ -43,7 +45,8 @@ if (hasToStringTag && gOPD && getProto) {
43
45
  if (descriptor && descriptor.get) {
44
46
  var bound = callBind(descriptor.get);
45
47
  cache[
46
- /** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)
48
+ /** @type {`$${TypedArrayName}`} */
49
+ ('$' + typedArray)
47
50
  ] = bound;
48
51
  }
49
52
  }
@@ -53,62 +56,72 @@ if (hasToStringTag && gOPD && getProto) {
53
56
  var arr = new g[typedArray]();
54
57
  var fn = arr.slice || arr.set;
55
58
  if (fn) {
56
- var bound = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */ (
59
+ var bound = /** @type {BoundSlice | BoundSet} */ (
57
60
  // @ts-expect-error TODO FIXME
58
61
  callBind(fn)
59
62
  );
60
63
  cache[
61
- /** @type {`$${import('.').TypedArrayName}`} */ ('$' + typedArray)
64
+ /** @type {`$${TypedArrayName}`} */
65
+ ('$' + typedArray)
62
66
  ] = bound;
63
67
  }
64
68
  });
65
69
  }
66
70
 
67
- /** @type {(value: object) => false | import('.').TypedArrayName} */
68
- var tryTypedArrays = function tryAllTypedArrays(value) {
69
- /** @type {ReturnType<typeof tryAllTypedArrays>} */ var found = false;
71
+ /** @type {(value: object) => false | TypedArrayName} */
72
+ function tryTypedArrays(value) {
73
+ /** @type {ReturnType<typeof tryTypedArrays>} */ var found = false;
70
74
  forEach(
71
- /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */ (cache),
72
- /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
75
+ /** @type {Record<`$${TypedArrayName}`, Getter>} */ (cache),
76
+ /** @param {Getter} getter @param {`$${TypedArrayName}`} typedArray */
73
77
  function (getter, typedArray) {
74
78
  if (!found) {
75
79
  try {
76
80
  // @ts-expect-error a throw is fine here
77
81
  if ('$' + getter(value) === typedArray) {
78
- found = /** @type {import('.').TypedArrayName} */ ($slice(typedArray, 1));
82
+ found = /** @type {TypedArrayName} */ ($slice(typedArray, 1));
79
83
  }
80
84
  } catch (e) { /**/ }
81
85
  }
82
86
  }
83
87
  );
84
88
  return found;
85
- };
89
+ }
86
90
 
87
- /** @type {(value: object) => false | import('.').TypedArrayName} */
88
- var trySlices = function tryAllSlices(value) {
89
- /** @type {ReturnType<typeof tryAllSlices>} */ var found = false;
91
+ /** @type {(value: object) => false | TypedArrayName} */
92
+ function trySlices(value) {
93
+ /** @type {ReturnType<typeof trySlices>} */ var found = false;
90
94
  forEach(
91
- /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */(cache),
92
- /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */ function (getter, name) {
95
+ /** @type {Record<`$${TypedArrayName}`, Getter>} */(cache),
96
+ /** @param {Getter} getter @param {`$${TypedArrayName}`} name */ function (getter, name) {
93
97
  if (!found) {
94
98
  try {
95
99
  // @ts-expect-error a throw is fine here
96
100
  getter(value);
97
- found = /** @type {import('.').TypedArrayName} */ ($slice(name, 1));
101
+ found = /** @type {TypedArrayName} */ ($slice(name, 1));
98
102
  } catch (e) { /**/ }
99
103
  }
100
104
  }
101
105
  );
102
106
  return found;
103
- };
107
+ }
108
+
109
+ /** @type {(tag: unknown) => tag is typeof typedArrays[number]} */
110
+ function isTATag(tag) {
111
+ return $indexOf(typedArrays, tag) > -1;
112
+ }
104
113
 
105
- /** @type {import('.')} */
114
+ /**
115
+ * @type {import('.')}
116
+ * @param {unknown} value
117
+ */
106
118
  module.exports = function whichTypedArray(value) {
107
- if (!value || typeof value !== 'object') { return false; }
119
+ if (!value || typeof value !== 'object') {
120
+ return false;
121
+ }
108
122
  if (!hasToStringTag) {
109
- /** @type {string} */
110
123
  var tag = $slice($toString(value), 8, -1);
111
- if ($indexOf(typedArrays, tag) > -1) {
124
+ if (isTATag(tag)) {
112
125
  return tag;
113
126
  }
114
127
  if (tag !== 'Object') {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "which-typed-array",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "author": {
5
5
  "name": "Jordan Harband",
6
6
  "email": "ljharb@gmail.com",
@@ -69,7 +69,7 @@
69
69
  "has-tostringtag": "^1.0.2"
70
70
  },
71
71
  "devDependencies": {
72
- "@arethetypeswrong/cli": "^0.18.2",
72
+ "@arethetypeswrong/cli": "^0.18.3",
73
73
  "@ljharb/eslint-config": "^22.2.3",
74
74
  "@ljharb/tsconfig": "^0.3.2",
75
75
  "@types/call-bind": "^1.0.5",
@@ -79,8 +79,8 @@
79
79
  "@types/make-arrow-function": "^1.2.2",
80
80
  "@types/make-generator-function": "^2.0.3",
81
81
  "@types/tape": "^5.8.1",
82
- "auto-changelog": "^2.5.1",
83
- "eslint": "^10.4.0",
82
+ "auto-changelog": "^2.6.0",
83
+ "eslint": "^10.4.1",
84
84
  "in-publish": "^2.0.1",
85
85
  "is-callable": "^1.2.7",
86
86
  "jiti": "^0.0.0",
@@ -126,8 +126,5 @@
126
126
  ".github/workflows",
127
127
  "types.d.ts"
128
128
  ]
129
- },
130
- "overrides": {
131
- "fflate": "=0.8.2"
132
129
  }
133
130
  }
package/package.json CHANGED
@@ -56,16 +56,16 @@
56
56
  "constructs": "10.5.1",
57
57
  "eslint": "^9",
58
58
  "eslint-config-prettier": "^10.1.8",
59
- "eslint-import-resolver-typescript": "^4.4.4",
59
+ "eslint-import-resolver-typescript": "^4.4.5",
60
60
  "eslint-plugin-import": "^2.32.0",
61
- "eslint-plugin-prettier": "^5.5.5",
61
+ "eslint-plugin-prettier": "^5.5.6",
62
62
  "jest": "^30.4.2",
63
63
  "jest-junit": "^16",
64
64
  "jsii": "~5.9",
65
- "jsii-diff": "^1.132.0",
65
+ "jsii-diff": "^1.133.0",
66
66
  "jsii-docgen": "^10.5.0",
67
- "jsii-pacmak": "^1.132.0",
68
- "jsii-rosetta": "^5.9.47",
67
+ "jsii-pacmak": "^1.133.0",
68
+ "jsii-rosetta": "^5.9.49",
69
69
  "prettier": "^3.8.3",
70
70
  "projen": "^0.99.17",
71
71
  "ts-jest": "^29.4.11",
@@ -77,14 +77,14 @@
77
77
  "constructs": "^10.5.1"
78
78
  },
79
79
  "dependencies": {
80
- "@aws-sdk/client-cloudformation": "^3.1058.0",
81
- "@aws-sdk/client-connect": "^3.1058.0",
82
- "@aws-sdk/client-glue": "^3.1058.0",
83
- "@aws-sdk/client-lakeformation": "^3.1058.0",
84
- "@aws-sdk/client-ram": "^3.1058.0",
85
- "@aws-sdk/client-sts": "^3.1058.0",
86
- "@aws-sdk/types": "^3.973.9",
87
- "@types/aws-lambda": "^8.10.161",
80
+ "@aws-sdk/client-cloudformation": "^3.1063.0",
81
+ "@aws-sdk/client-connect": "^3.1063.0",
82
+ "@aws-sdk/client-glue": "^3.1063.0",
83
+ "@aws-sdk/client-lakeformation": "^3.1063.0",
84
+ "@aws-sdk/client-ram": "^3.1063.0",
85
+ "@aws-sdk/client-sts": "^3.1063.0",
86
+ "@aws-sdk/types": "^3.973.11",
87
+ "@types/aws-lambda": "^8.10.162",
88
88
  "aws-lambda": "^1.0.7"
89
89
  },
90
90
  "bundledDependencies": [
@@ -112,7 +112,7 @@
112
112
  "publishConfig": {
113
113
  "access": "public"
114
114
  },
115
- "version": "0.0.12",
115
+ "version": "0.0.13",
116
116
  "jest": {
117
117
  "coverageProvider": "v8",
118
118
  "moduleNameMapper": {