@mavogel/awscdk-rootmail 0.1.41 → 0.1.43

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 (122) hide show
  1. package/.jsii +9 -9
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/checksums/package.json +5 -5
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +1 -1
  6. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +8 -8
  7. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
  8. package/node_modules/@aws-sdk/client-route-53/package.json +9 -9
  9. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
  10. package/node_modules/@aws-sdk/client-s3/package.json +12 -12
  11. package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
  12. package/node_modules/@aws-sdk/client-ses/package.json +8 -8
  13. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
  14. package/node_modules/@aws-sdk/client-ssm/package.json +8 -8
  15. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +7 -2
  16. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +3 -0
  17. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +0 -2
  18. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +6 -0
  19. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +3 -0
  20. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +20 -0
  21. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +1 -0
  22. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +20 -0
  23. package/node_modules/@aws-sdk/core/package.json +7 -8
  24. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  25. package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
  26. package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
  27. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  28. package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
  29. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  30. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  31. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  32. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
  33. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +6 -6
  34. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  35. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  36. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  37. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  38. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  39. package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
  40. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
  41. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  42. package/node_modules/@aws-sdk/types/package.json +2 -2
  43. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  44. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +1 -0
  45. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +41 -13
  46. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +41 -13
  47. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +1 -0
  48. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +11 -5
  49. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +2 -2
  50. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/race.js +22 -0
  51. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/retries-2026-config.js +6 -6
  52. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/race.d.ts +3 -0
  53. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +16 -6
  54. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/race.d.ts +3 -0
  55. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +16 -6
  56. package/node_modules/@smithy/core/package.json +2 -2
  57. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +10 -4
  58. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +6 -2
  59. package/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +4 -2
  60. package/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +12 -1
  61. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +12 -1
  62. package/node_modules/@smithy/fetch-http-handler/package.json +3 -3
  63. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +31 -31
  64. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -4
  65. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +29 -27
  66. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +7 -3
  67. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +7 -3
  68. package/node_modules/@smithy/node-http-handler/package.json +3 -3
  69. package/node_modules/@smithy/types/dist-types/middleware.d.ts +6 -0
  70. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +6 -0
  71. package/node_modules/@smithy/types/package.json +1 -1
  72. package/node_modules/mailparser/CHANGELOG.md +7 -0
  73. package/node_modules/mailparser/package.json +3 -3
  74. package/node_modules/nodemailer/CHANGELOG.md +28 -0
  75. package/node_modules/nodemailer/README.md +21 -0
  76. package/node_modules/nodemailer/dist/cjs/addressparser/index.js +185 -2
  77. package/node_modules/nodemailer/dist/cjs/dkim/sign.js +2 -2
  78. package/node_modules/nodemailer/dist/cjs/errors.d.ts +2 -0
  79. package/node_modules/nodemailer/dist/cjs/errors.js +11 -1
  80. package/node_modules/nodemailer/dist/cjs/json-transport/index.js +2 -0
  81. package/node_modules/nodemailer/dist/cjs/mailer/index.d.ts +12 -2
  82. package/node_modules/nodemailer/dist/cjs/mailer/index.js +56 -4
  83. package/node_modules/nodemailer/dist/cjs/mailer/mail-message.d.ts +10 -0
  84. package/node_modules/nodemailer/dist/cjs/mime-funcs/index.d.ts +2 -1
  85. package/node_modules/nodemailer/dist/cjs/mime-funcs/index.js +72 -2
  86. package/node_modules/nodemailer/dist/cjs/mime-node/index.js +1 -73
  87. package/node_modules/nodemailer/dist/cjs/package-info.d.ts +1 -1
  88. package/node_modules/nodemailer/dist/cjs/package-info.js +1 -1
  89. package/node_modules/nodemailer/dist/cjs/shared/index.d.ts +23 -0
  90. package/node_modules/nodemailer/dist/cjs/shared/index.js +79 -0
  91. package/node_modules/nodemailer/dist/cjs/smtp-connection/index.js +6 -0
  92. package/node_modules/nodemailer/dist/cjs/smtp-pool/index.d.ts +10 -3
  93. package/node_modules/nodemailer/dist/cjs/smtp-pool/index.js +70 -12
  94. package/node_modules/nodemailer/dist/cjs/smtp-pool/pool-resource.js +26 -4
  95. package/node_modules/nodemailer/dist/cjs/smtp-transport/index.d.ts +1 -0
  96. package/node_modules/nodemailer/dist/cjs/smtp-transport/index.js +47 -35
  97. package/node_modules/nodemailer/dist/cjs/well-known/services.js +7 -0
  98. package/node_modules/nodemailer/dist/esm/addressparser/index.js +185 -2
  99. package/node_modules/nodemailer/dist/esm/dkim/sign.js +2 -2
  100. package/node_modules/nodemailer/dist/esm/errors.d.ts +2 -0
  101. package/node_modules/nodemailer/dist/esm/errors.js +9 -0
  102. package/node_modules/nodemailer/dist/esm/json-transport/index.js +2 -0
  103. package/node_modules/nodemailer/dist/esm/mailer/index.d.ts +12 -2
  104. package/node_modules/nodemailer/dist/esm/mailer/index.js +56 -4
  105. package/node_modules/nodemailer/dist/esm/mailer/mail-message.d.ts +10 -0
  106. package/node_modules/nodemailer/dist/esm/mime-funcs/index.d.ts +2 -1
  107. package/node_modules/nodemailer/dist/esm/mime-funcs/index.js +72 -2
  108. package/node_modules/nodemailer/dist/esm/mime-node/index.js +1 -73
  109. package/node_modules/nodemailer/dist/esm/package-info.d.ts +1 -1
  110. package/node_modules/nodemailer/dist/esm/package-info.js +1 -1
  111. package/node_modules/nodemailer/dist/esm/shared/index.d.ts +23 -0
  112. package/node_modules/nodemailer/dist/esm/shared/index.js +78 -0
  113. package/node_modules/nodemailer/dist/esm/smtp-connection/index.js +6 -0
  114. package/node_modules/nodemailer/dist/esm/smtp-pool/index.d.ts +10 -3
  115. package/node_modules/nodemailer/dist/esm/smtp-pool/index.js +70 -12
  116. package/node_modules/nodemailer/dist/esm/smtp-pool/pool-resource.js +26 -4
  117. package/node_modules/nodemailer/dist/esm/smtp-transport/index.d.ts +1 -0
  118. package/node_modules/nodemailer/dist/esm/smtp-transport/index.js +47 -35
  119. package/node_modules/nodemailer/dist/esm/well-known/services.js +7 -0
  120. package/node_modules/nodemailer/dist/well-known/services.json +8 -0
  121. package/node_modules/nodemailer/package.json +7 -7
  122. package/package.json +10 -10
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.84",
3
+ "version": "3.972.86",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "keywords": [
6
6
  "aws",
@@ -53,12 +53,12 @@
53
53
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
54
54
  },
55
55
  "dependencies": {
56
- "@aws-sdk/core": "^3.980.1",
57
- "@aws-sdk/types": "^3.975.0",
58
- "@smithy/core": "^3.38.0",
59
- "@smithy/fetch-http-handler": "^5.8.0",
60
- "@smithy/node-http-handler": "^4.14.0",
61
- "@smithy/types": "^4.19.0",
56
+ "@aws-sdk/core": "^3.981.0",
57
+ "@aws-sdk/types": "^3.975.1",
58
+ "@smithy/core": "^3.40.0",
59
+ "@smithy/fetch-http-handler": "^5.8.1",
60
+ "@smithy/node-http-handler": "^4.14.2",
61
+ "@smithy/types": "^4.20.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.973.27",
3
+ "version": "3.973.29",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,18 +45,18 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.980.1",
49
- "@aws-sdk/credential-provider-env": "^3.972.82",
50
- "@aws-sdk/credential-provider-http": "^3.972.84",
51
- "@aws-sdk/credential-provider-login": "^3.972.89",
52
- "@aws-sdk/credential-provider-process": "^3.972.82",
53
- "@aws-sdk/credential-provider-sso": "^3.973.26",
54
- "@aws-sdk/credential-provider-web-identity": "^3.972.88",
55
- "@aws-sdk/nested-clients": "^3.998.1",
56
- "@aws-sdk/types": "^3.975.0",
57
- "@smithy/core": "^3.38.0",
48
+ "@aws-sdk/core": "^3.981.0",
49
+ "@aws-sdk/credential-provider-env": "^3.972.84",
50
+ "@aws-sdk/credential-provider-http": "^3.972.86",
51
+ "@aws-sdk/credential-provider-login": "^3.972.91",
52
+ "@aws-sdk/credential-provider-process": "^3.972.84",
53
+ "@aws-sdk/credential-provider-sso": "^3.973.28",
54
+ "@aws-sdk/credential-provider-web-identity": "^3.972.90",
55
+ "@aws-sdk/nested-clients": "^3.998.3",
56
+ "@aws-sdk/types": "^3.975.1",
57
+ "@smithy/core": "^3.40.0",
58
58
  "@smithy/credential-provider-imds": "^4.5.2",
59
- "@smithy/types": "^4.19.0",
59
+ "@smithy/types": "^4.20.0",
60
60
  "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.89",
3
+ "version": "3.972.91",
4
4
  "description": "AWS credential provider that sources credentials from aws login cached tokens",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,11 +45,11 @@
45
45
  "test:watch": "yarn g:vitest watch"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.980.1",
49
- "@aws-sdk/nested-clients": "^3.998.1",
50
- "@aws-sdk/types": "^3.975.0",
51
- "@smithy/core": "^3.38.0",
52
- "@smithy/types": "^4.19.0",
48
+ "@aws-sdk/core": "^3.981.0",
49
+ "@aws-sdk/nested-clients": "^3.998.3",
50
+ "@aws-sdk/types": "^3.975.1",
51
+ "@smithy/core": "^3.40.0",
52
+ "@smithy/types": "^4.20.0",
53
53
  "tslib": "^2.6.2"
54
54
  },
55
55
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.94",
3
+ "version": "3.972.96",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,16 +45,16 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/credential-provider-env": "^3.972.82",
49
- "@aws-sdk/credential-provider-http": "^3.972.84",
50
- "@aws-sdk/credential-provider-ini": "^3.973.27",
51
- "@aws-sdk/credential-provider-process": "^3.972.82",
52
- "@aws-sdk/credential-provider-sso": "^3.973.26",
53
- "@aws-sdk/credential-provider-web-identity": "^3.972.88",
54
- "@aws-sdk/types": "^3.975.0",
55
- "@smithy/core": "^3.38.0",
48
+ "@aws-sdk/credential-provider-env": "^3.972.84",
49
+ "@aws-sdk/credential-provider-http": "^3.972.86",
50
+ "@aws-sdk/credential-provider-ini": "^3.973.29",
51
+ "@aws-sdk/credential-provider-process": "^3.972.84",
52
+ "@aws-sdk/credential-provider-sso": "^3.973.28",
53
+ "@aws-sdk/credential-provider-web-identity": "^3.972.90",
54
+ "@aws-sdk/types": "^3.975.1",
55
+ "@smithy/core": "^3.40.0",
56
56
  "@smithy/credential-provider-imds": "^4.5.2",
57
- "@smithy/types": "^4.19.0",
57
+ "@smithy/types": "^4.20.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
60
60
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.82",
3
+ "version": "3.972.84",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "keywords": [
6
6
  "aws",
@@ -43,10 +43,10 @@
43
43
  "test:watch": "yarn g:vitest watch"
44
44
  },
45
45
  "dependencies": {
46
- "@aws-sdk/core": "^3.980.1",
47
- "@aws-sdk/types": "^3.975.0",
48
- "@smithy/core": "^3.38.0",
49
- "@smithy/types": "^4.19.0",
46
+ "@aws-sdk/core": "^3.981.0",
47
+ "@aws-sdk/types": "^3.975.1",
48
+ "@smithy/core": "^3.40.0",
49
+ "@smithy/types": "^4.20.0",
50
50
  "tslib": "^2.6.2"
51
51
  },
52
52
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.973.26",
3
+ "version": "3.973.28",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,12 +45,12 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.980.1",
49
- "@aws-sdk/nested-clients": "^3.998.1",
50
- "@aws-sdk/token-providers": "3.1164.0",
51
- "@aws-sdk/types": "^3.975.0",
52
- "@smithy/core": "^3.38.0",
53
- "@smithy/types": "^4.19.0",
48
+ "@aws-sdk/core": "^3.981.0",
49
+ "@aws-sdk/nested-clients": "^3.998.3",
50
+ "@aws-sdk/token-providers": "3.1166.0",
51
+ "@aws-sdk/types": "^3.975.1",
52
+ "@smithy/core": "^3.40.0",
53
+ "@smithy/types": "^4.20.0",
54
54
  "tslib": "^2.6.2"
55
55
  },
56
56
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.88",
3
+ "version": "3.972.90",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "keywords": [
6
6
  "aws",
@@ -50,11 +50,11 @@
50
50
  "test:watch": "yarn g:vitest watch"
51
51
  },
52
52
  "dependencies": {
53
- "@aws-sdk/core": "^3.980.1",
54
- "@aws-sdk/nested-clients": "^3.998.1",
55
- "@aws-sdk/types": "^3.975.0",
56
- "@smithy/core": "^3.38.0",
57
- "@smithy/types": "^4.19.0",
53
+ "@aws-sdk/core": "^3.981.0",
54
+ "@aws-sdk/nested-clients": "^3.998.3",
55
+ "@aws-sdk/types": "^3.975.1",
56
+ "@smithy/core": "^3.40.0",
57
+ "@smithy/types": "^4.20.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
60
60
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-route53",
3
- "version": "3.972.28",
3
+ "version": "3.972.29",
4
4
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-sdk-route53",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -42,8 +42,8 @@
42
42
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts"
43
43
  },
44
44
  "dependencies": {
45
- "@aws-sdk/types": "^3.975.0",
46
- "@smithy/types": "^4.19.0",
45
+ "@aws-sdk/types": "^3.975.1",
46
+ "@smithy/types": "^4.20.0",
47
47
  "tslib": "^2.6.2"
48
48
  },
49
49
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-s3",
3
- "version": "3.972.87",
3
+ "version": "3.972.89",
4
4
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-sdk-s3",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -94,11 +94,11 @@
94
94
  "test:types": "tsc -p tsconfig.test.json"
95
95
  },
96
96
  "dependencies": {
97
- "@aws-sdk/core": "^3.980.1",
98
- "@aws-sdk/signature-v4-multi-region": "^3.996.51",
99
- "@aws-sdk/types": "^3.975.0",
100
- "@smithy/core": "^3.38.0",
101
- "@smithy/types": "^4.19.0",
97
+ "@aws-sdk/core": "^3.981.0",
98
+ "@aws-sdk/signature-v4-multi-region": "^3.996.52",
99
+ "@aws-sdk/types": "^3.975.1",
100
+ "@smithy/core": "^3.40.0",
101
+ "@smithy/types": "^4.20.0",
102
102
  "tslib": "^2.6.2"
103
103
  },
104
104
  "devDependencies": {
@@ -83,7 +83,7 @@ const commonParams = {
83
83
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
84
84
  };
85
85
 
86
- var version = "3.998.0";
86
+ var version = "3.998.2";
87
87
  var packageInfo = {
88
88
  version: version};
89
89
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.998.0";
81
+ var version = "3.998.2";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.998.0";
81
+ var version = "3.998.2";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.998.0";
81
+ var version = "3.998.2";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -258,7 +258,7 @@ const commonParams = {
258
258
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
259
259
  };
260
260
 
261
- var version = "3.998.0";
261
+ var version = "3.998.2";
262
262
  var packageInfo = {
263
263
  version: version};
264
264
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.998.1",
3
+ "version": "3.998.3",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
6
6
  "license": "Apache-2.0",
@@ -100,13 +100,13 @@
100
100
  "test:watch": "yarn g:vitest watch"
101
101
  },
102
102
  "dependencies": {
103
- "@aws-sdk/core": "^3.980.1",
104
- "@aws-sdk/signature-v4-multi-region": "^3.996.51",
105
- "@aws-sdk/types": "^3.975.0",
106
- "@smithy/core": "^3.38.0",
107
- "@smithy/fetch-http-handler": "^5.8.0",
108
- "@smithy/node-http-handler": "^4.14.0",
109
- "@smithy/types": "^4.19.0",
103
+ "@aws-sdk/core": "^3.981.0",
104
+ "@aws-sdk/signature-v4-multi-region": "^3.996.52",
105
+ "@aws-sdk/types": "^3.975.1",
106
+ "@smithy/core": "^3.40.0",
107
+ "@smithy/fetch-http-handler": "^5.8.1",
108
+ "@smithy/node-http-handler": "^4.14.2",
109
+ "@smithy/types": "^4.20.0",
110
110
  "tslib": "^2.6.2"
111
111
  },
112
112
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4-multi-region",
3
- "version": "3.996.51",
3
+ "version": "3.996.52",
4
4
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -42,9 +42,9 @@
42
42
  "test:browser": "yarn build:browser && yarn g:vitest run -c vitest.config.browser.mts"
43
43
  },
44
44
  "dependencies": {
45
- "@aws-sdk/types": "^3.975.0",
45
+ "@aws-sdk/types": "^3.975.1",
46
46
  "@smithy/signature-v4": "^5.7.5",
47
- "@smithy/types": "^4.19.0",
47
+ "@smithy/types": "^4.20.0",
48
48
  "tslib": "^2.6.2"
49
49
  },
50
50
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1164.0",
3
+ "version": "3.1166.0",
4
4
  "description": "A collection of token providers",
5
5
  "keywords": [
6
6
  "aws",
@@ -48,11 +48,11 @@
48
48
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.980.1",
52
- "@aws-sdk/nested-clients": "^3.998.1",
53
- "@aws-sdk/types": "^3.975.0",
54
- "@smithy/core": "^3.38.0",
55
- "@smithy/types": "^4.19.0",
51
+ "@aws-sdk/core": "^3.981.0",
52
+ "@aws-sdk/nested-clients": "^3.998.3",
53
+ "@aws-sdk/types": "^3.975.1",
54
+ "@smithy/core": "^3.40.0",
55
+ "@smithy/types": "^4.20.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.975.0",
3
+ "version": "3.975.1",
4
4
  "description": "Types for the AWS SDK",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/types",
6
6
  "license": "Apache-2.0",
@@ -41,7 +41,7 @@
41
41
  "test": "tsc -p tsconfig.test.json"
42
42
  },
43
43
  "dependencies": {
44
- "@smithy/types": "^4.19.0",
44
+ "@smithy/types": "^4.20.0",
45
45
  "tslib": "^2.6.2"
46
46
  },
47
47
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/xml-builder",
3
- "version": "3.972.42",
3
+ "version": "3.972.43",
4
4
  "description": "XML utilities for the AWS SDK",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/xml-builder",
6
6
  "license": "Apache-2.0",
@@ -47,7 +47,7 @@
47
47
  "test:fuzz": "jazzer tests/xml-parser.fuzz.js corpus --sync -i xml-parser -- -max_total_time=300"
48
48
  },
49
49
  "dependencies": {
50
- "@smithy/types": "^4.19.0",
50
+ "@smithy/types": "^4.20.0",
51
51
  "tslib": "^2.6.2"
52
52
  },
53
53
  "devDependencies": {
@@ -615,6 +615,7 @@ class Command {
615
615
  commandInstance: this,
616
616
  ...smithyContext,
617
617
  ...(options?.metricsRecorder === undefined ? {} : { metricsRecorder: options.metricsRecorder }),
618
+ ...(options?.abortSignal === undefined ? {} : { abortSignal: options.abortSignal }),
618
619
  },
619
620
  };
620
621
  const { requestHandler } = configuration;
@@ -1,6 +1,7 @@
1
1
  const { NoOpLogger, normalizeProvider } = require("@smithy/core/client");
2
2
  const { HttpResponse, HttpRequest } = require("@smithy/core/protocols");
3
3
  const { parseRfc7231DateTime, v4 } = require("@smithy/core/serde");
4
+ const { SMITHY_CONTEXT_KEY } = require("@smithy/types");
4
5
  const { hasOwn } = require("@smithy/core/transport");
5
6
 
6
7
  const isStreamingPayload = (request) => request?.body instanceof ReadableStream;
@@ -80,6 +81,29 @@ function isNodeJsHttp2TransientError(error) {
80
81
  return error.code === "ERR_HTTP2_STREAM_ERROR" && error.message.includes("NGHTTP2_REFUSED_STREAM");
81
82
  }
82
83
 
84
+ const race = (promise, signal) => {
85
+ if (!signal) {
86
+ return promise;
87
+ }
88
+ let cleanup = () => { };
89
+ const aborted = new Promise((_, reject) => {
90
+ const handler = () => reject(createAbortError());
91
+ if (signal.aborted) {
92
+ handler();
93
+ }
94
+ else if (typeof signal.addEventListener === "function") {
95
+ signal.addEventListener("abort", handler, { once: true });
96
+ cleanup = () => signal.removeEventListener("abort", handler);
97
+ }
98
+ else {
99
+ signal.onabort = handler;
100
+ }
101
+ });
102
+ return Promise.race([promise, aborted]).finally(cleanup);
103
+ };
104
+ const createAbortError = () => Object.assign(new Error("Request aborted"), { name: "AbortError" });
105
+ const isAbortError = (error) => typeof error === "object" && error !== null && "name" in error && error.name === "AbortError";
106
+
83
107
  const DEFAULT_RETRY_DELAY_BASE = 100;
84
108
  const MAXIMUM_RETRY_DELAY = 20 * 1000;
85
109
  const THROTTLING_RETRY_DELAY_BASE = 500;
@@ -158,9 +182,11 @@ function bindRetryMiddleware(isStreamingPayload) {
158
182
  return (options) => (next, context) => async (args) => {
159
183
  let retryStrategy = await options.retryStrategy();
160
184
  const maxAttempts = await options.maxAttempts();
185
+ const abortSignal = context[SMITHY_CONTEXT_KEY]?.abortSignal;
161
186
  if (isRetryStrategyV2(retryStrategy)) {
162
187
  retryStrategy = retryStrategy;
163
- let retryToken = await retryStrategy.acquireInitialRetryToken((context["partition_id"] ?? "") + (context.__retryLongPoll ? ":longpoll" : ""));
188
+ const retryTokenScope = (context["partition_id"] ?? "") + (context.__retryLongPoll ? ":longpoll" : "");
189
+ let retryToken = await race(retryStrategy.acquireInitialRetryToken(retryTokenScope), abortSignal);
164
190
  let lastError = new Error();
165
191
  let attempts = 0;
166
192
  let totalRetryDelay = 0;
@@ -188,9 +214,12 @@ function bindRetryMiddleware(isStreamingPayload) {
188
214
  throw lastError;
189
215
  }
190
216
  try {
191
- retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo);
217
+ retryToken = await race(retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo), abortSignal);
192
218
  }
193
- catch (ignoredRefreshError) {
219
+ catch (refreshError) {
220
+ if (abortSignal?.aborted && isAbortError(refreshError)) {
221
+ throw refreshError;
222
+ }
194
223
  if (!lastError.$metadata) {
195
224
  lastError.$metadata = {};
196
225
  }
@@ -202,7 +231,7 @@ function bindRetryMiddleware(isStreamingPayload) {
202
231
  const delay = retryToken.getRetryDelay();
203
232
  totalRetryDelay += (retryToken?.$retryLog?.acquisitionDelay ?? 0) + delay;
204
233
  if (delay > 0) {
205
- await cooldown(delay);
234
+ await race(new Promise((resolve) => setTimeout(resolve, delay)), abortSignal);
206
235
  }
207
236
  }
208
237
  }
@@ -216,7 +245,6 @@ function bindRetryMiddleware(isStreamingPayload) {
216
245
  }
217
246
  };
218
247
  }
219
- const cooldown = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
220
248
  const isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" &&
221
249
  typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" &&
222
250
  typeof retryStrategy.recordSuccess !== "undefined";
@@ -371,21 +399,21 @@ class DefaultRateLimiter {
371
399
  }
372
400
 
373
401
  class Retry {
374
- static v2026 = typeof process !== "undefined" && process.env?.SMITHY_NEW_RETRIES_2026 === "true";
402
+ static v2026 = true;
375
403
  static delay() {
376
- return Retry.v2026 ? 50 : 100;
404
+ return 50;
377
405
  }
378
406
  static throttlingDelay() {
379
- return Retry.v2026 ? 1_000 : 500;
407
+ return 1_000;
380
408
  }
381
409
  static cost() {
382
- return Retry.v2026 ? 14 : 5;
410
+ return 14;
383
411
  }
384
412
  static throttlingCost() {
385
- return Retry.v2026 ? 5 : 10;
413
+ return 5;
386
414
  }
387
415
  static modifiedCostType() {
388
- return Retry.v2026 ? "THROTTLING" : "TRANSIENT";
416
+ return "THROTTLING";
389
417
  }
390
418
  }
391
419
 
@@ -466,7 +494,7 @@ let StandardRetryStrategy$1 = class StandardRetryStrategy {
466
494
  this.retryBackoffStrategy ??= new DefaultRetryBackoffStrategy();
467
495
  }
468
496
  async acquireInitialRetryToken(retryTokenScope) {
469
- return new DefaultRetryToken(Retry.delay(), 0, undefined, Retry.v2026 && retryTokenScope.includes(":longpoll"));
497
+ return new DefaultRetryToken(Retry.delay(), 0, undefined, retryTokenScope.includes(":longpoll"));
470
498
  }
471
499
  async refreshRetryTokenForRetry(token, errorInfo) {
472
500
  const maxAttempts = await this.getMaxAttempts();
@@ -482,7 +510,7 @@ let StandardRetryStrategy$1 = class StandardRetryStrategy {
482
510
  retryDelay = Math.max(delayFromErrorType, Math.min(errorInfo.retryAfterHint.getTime() - Date.now(), delayFromErrorType + 5_000));
483
511
  }
484
512
  if (!shouldRetry) {
485
- const longPollBackoff = Retry.v2026 && retryCode === refusal.capacity && isLongPoll ? retryDelay : 0;
513
+ const longPollBackoff = retryCode === refusal.capacity && isLongPoll ? retryDelay : 0;
486
514
  if (longPollBackoff > 0) {
487
515
  await new Promise((r) => setTimeout(r, longPollBackoff));
488
516
  }