@cdk8s/awscdk-resolver 0.0.594 → 0.0.596

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 (35) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +3 -3
  4. package/node_modules/@aws-sdk/core/dist-cjs/index.js +47 -2297
  5. package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
  6. package/node_modules/@aws-sdk/core/dist-types/index.d.ts +5 -5
  7. package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +5 -5
  8. package/node_modules/@aws-sdk/core/package.json +1 -1
  9. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  10. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  11. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  12. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  13. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  14. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  15. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +4 -1
  16. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +4 -1
  17. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -5
  18. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  19. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  20. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  21. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  22. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  23. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  24. package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
  25. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  26. package/node_modules/anynum/LICENSE +21 -0
  27. package/node_modules/anynum/README.md +142 -0
  28. package/node_modules/anynum/anynum.js +135 -0
  29. package/node_modules/anynum/digitTable.js +116 -0
  30. package/node_modules/anynum/package.json +42 -0
  31. package/node_modules/strnum/CHANGELOG.md +8 -0
  32. package/node_modules/strnum/README.md +9 -0
  33. package/node_modules/strnum/package.json +4 -1
  34. package/node_modules/strnum/strnum.js +9 -1
  35. package/package.json +4 -4
@@ -1,3 +1,3 @@
1
- export { emitWarningIfUnsupportedVersion, getLongPollPlugin, setCredentialFeature, setFeature, setTokenFeature, state, } from "./submodules/client/index";
2
- export { AwsSdkSigV4ASigner, AwsSdkSigV4Signer, AwsSdkSigV4Signer as AWSSDKSigV4Signer, getBearerTokenEnvKey, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS, resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, resolveAwsSdkSigV4Config as resolveAWSSDKSigV4Config, validateSigningProperties, } from "./submodules/httpAuthSchemes/index";
3
- export { _toBool, _toNum, _toStr, awsExpectUnion, AwsEc2QueryProtocol, AwsJson1_0Protocol, AwsJson1_1Protocol, AwsJsonRpcProtocol, AwsQueryProtocol, AwsRestJsonProtocol, AwsRestXmlProtocol, AwsSmithyRpcV2CborProtocol, JsonCodec, JsonShapeDeserializer, JsonShapeSerializer, loadJsonRpcErrorCode, loadRestJsonErrorCode, loadRestXmlErrorCode, parseJsonBody, parseJsonErrorBody, parseXmlBody, parseXmlErrorBody, QueryShapeSerializer, XmlCodec, XmlShapeDeserializer, XmlShapeSerializer, } from "./submodules/protocols/index";
1
+ export { emitWarningIfUnsupportedVersion, getLongPollPlugin, setCredentialFeature, setFeature, setTokenFeature, state, } from "@aws-sdk/core/client";
2
+ export { AwsSdkSigV4ASigner, AwsSdkSigV4Signer, AwsSdkSigV4Signer as AWSSDKSigV4Signer, getBearerTokenEnvKey, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS, resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, resolveAwsSdkSigV4Config as resolveAWSSDKSigV4Config, validateSigningProperties, } from "@aws-sdk/core/httpAuthSchemes";
3
+ export { _toBool, _toNum, _toStr, awsExpectUnion, AwsEc2QueryProtocol, AwsJson1_0Protocol, AwsJson1_1Protocol, AwsJsonRpcProtocol, AwsQueryProtocol, AwsRestJsonProtocol, AwsRestXmlProtocol, AwsSmithyRpcV2CborProtocol, JsonCodec, JsonShapeDeserializer, JsonShapeSerializer, loadJsonRpcErrorCode, loadRestJsonErrorCode, loadRestXmlErrorCode, parseJsonBody, parseJsonErrorBody, parseXmlBody, parseXmlErrorBody, QueryShapeSerializer, XmlCodec, XmlShapeDeserializer, XmlShapeSerializer, } from "@aws-sdk/core/protocols";
@@ -10,11 +10,11 @@
10
10
  *
11
11
  * No additional exports are allowed.
12
12
  */
13
- export { emitWarningIfUnsupportedVersion, getLongPollPlugin, setCredentialFeature, setFeature, setTokenFeature, state, } from "./submodules/client/index";
14
- export { AwsSdkSigV4ASigner, AwsSdkSigV4Signer, AwsSdkSigV4Signer as AWSSDKSigV4Signer, getBearerTokenEnvKey, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS, resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, resolveAwsSdkSigV4Config as resolveAWSSDKSigV4Config, validateSigningProperties, } from "./submodules/httpAuthSchemes/index";
15
- export type { AwsSdkSigV4AAuthInputConfig, AwsSdkSigV4AAuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig as AwsSdkSigV4APreviouslyResolved, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthInputConfig as AWSSDKSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AuthResolvedConfig as AWSSDKSigV4AuthResolvedConfig, AwsSdkSigV4Memoized, AwsSdkSigV4AuthResolvedConfig as AwsSdkSigV4PreviouslyResolved, AwsSdkSigV4AuthResolvedConfig as AWSSDKSigV4PreviouslyResolved, } from "./submodules/httpAuthSchemes/index";
16
- export { _toBool, _toNum, _toStr, awsExpectUnion, AwsEc2QueryProtocol, AwsJson1_0Protocol, AwsJson1_1Protocol, AwsJsonRpcProtocol, AwsQueryProtocol, AwsRestJsonProtocol, AwsRestXmlProtocol, AwsSmithyRpcV2CborProtocol, JsonCodec, JsonShapeDeserializer, JsonShapeSerializer, loadJsonRpcErrorCode, loadRestJsonErrorCode, loadRestXmlErrorCode, parseJsonBody, parseJsonErrorBody, parseXmlBody, parseXmlErrorBody, QueryShapeSerializer, XmlCodec, XmlShapeDeserializer, XmlShapeSerializer, } from "./submodules/protocols/index";
17
- export type { JsonSettings, QuerySerializerSettings, XmlSettings } from "./submodules/protocols/index";
13
+ export { emitWarningIfUnsupportedVersion, getLongPollPlugin, setCredentialFeature, setFeature, setTokenFeature, state, } from "@aws-sdk/core/client";
14
+ export { AwsSdkSigV4ASigner, AwsSdkSigV4Signer, AwsSdkSigV4Signer as AWSSDKSigV4Signer, getBearerTokenEnvKey, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS, resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, resolveAwsSdkSigV4Config as resolveAWSSDKSigV4Config, validateSigningProperties, } from "@aws-sdk/core/httpAuthSchemes";
15
+ export type { AwsSdkSigV4AAuthInputConfig, AwsSdkSigV4AAuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig as AwsSdkSigV4APreviouslyResolved, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthInputConfig as AWSSDKSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AuthResolvedConfig as AWSSDKSigV4AuthResolvedConfig, AwsSdkSigV4Memoized, AwsSdkSigV4AuthResolvedConfig as AwsSdkSigV4PreviouslyResolved, AwsSdkSigV4AuthResolvedConfig as AWSSDKSigV4PreviouslyResolved, } from "@aws-sdk/core/httpAuthSchemes";
16
+ export { _toBool, _toNum, _toStr, awsExpectUnion, AwsEc2QueryProtocol, AwsJson1_0Protocol, AwsJson1_1Protocol, AwsJsonRpcProtocol, AwsQueryProtocol, AwsRestJsonProtocol, AwsRestXmlProtocol, AwsSmithyRpcV2CborProtocol, JsonCodec, JsonShapeDeserializer, JsonShapeSerializer, loadJsonRpcErrorCode, loadRestJsonErrorCode, loadRestXmlErrorCode, parseJsonBody, parseJsonErrorBody, parseXmlBody, parseXmlErrorBody, QueryShapeSerializer, XmlCodec, XmlShapeDeserializer, XmlShapeSerializer, } from "@aws-sdk/core/protocols";
17
+ export type { JsonSettings, QuerySerializerSettings, XmlSettings } from "@aws-sdk/core/protocols";
18
18
  /**
19
19
  * WARNING: do not export any additional submodules from the root of this package. See readme.md for
20
20
  * guide on developing submodules.
@@ -5,7 +5,7 @@ export {
5
5
  setFeature,
6
6
  setTokenFeature,
7
7
  state,
8
- } from "./submodules/client/index";
8
+ } from "@aws-sdk/core/client";
9
9
  export {
10
10
  AwsSdkSigV4ASigner,
11
11
  AwsSdkSigV4Signer,
@@ -17,7 +17,7 @@ export {
17
17
  resolveAwsSdkSigV4Config,
18
18
  resolveAwsSdkSigV4Config as resolveAWSSDKSigV4Config,
19
19
  validateSigningProperties,
20
- } from "./submodules/httpAuthSchemes/index";
20
+ } from "@aws-sdk/core/httpAuthSchemes";
21
21
  export {
22
22
  AwsSdkSigV4AAuthInputConfig,
23
23
  AwsSdkSigV4AAuthResolvedConfig,
@@ -29,7 +29,7 @@ export {
29
29
  AwsSdkSigV4Memoized,
30
30
  AwsSdkSigV4AuthResolvedConfig as AwsSdkSigV4PreviouslyResolved,
31
31
  AwsSdkSigV4AuthResolvedConfig as AWSSDKSigV4PreviouslyResolved,
32
- } from "./submodules/httpAuthSchemes/index";
32
+ } from "@aws-sdk/core/httpAuthSchemes";
33
33
  export {
34
34
  _toBool,
35
35
  _toNum,
@@ -57,9 +57,9 @@ export {
57
57
  XmlCodec,
58
58
  XmlShapeDeserializer,
59
59
  XmlShapeSerializer,
60
- } from "./submodules/protocols/index";
60
+ } from "@aws-sdk/core/protocols";
61
61
  export {
62
62
  JsonSettings,
63
63
  QuerySerializerSettings,
64
64
  XmlSettings,
65
- } from "./submodules/protocols/index";
65
+ } from "@aws-sdk/core/protocols";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.974.19",
3
+ "version": "3.974.20",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn prebuild && yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.45",
3
+ "version": "3.972.46",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.19",
29
+ "@aws-sdk/core": "^3.974.20",
30
30
  "@aws-sdk/types": "^3.973.12",
31
31
  "@smithy/core": "^3.24.6",
32
32
  "@smithy/types": "^4.14.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.47",
3
+ "version": "3.972.48",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "license": "Apache-2.0",
40
40
  "dependencies": {
41
- "@aws-sdk/core": "^3.974.19",
41
+ "@aws-sdk/core": "^3.974.20",
42
42
  "@aws-sdk/types": "^3.973.12",
43
43
  "@smithy/core": "^3.24.6",
44
44
  "@smithy/fetch-http-handler": "^5.4.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.972.51",
3
+ "version": "3.972.52",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,14 +28,14 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.19",
32
- "@aws-sdk/credential-provider-env": "^3.972.45",
33
- "@aws-sdk/credential-provider-http": "^3.972.47",
34
- "@aws-sdk/credential-provider-login": "^3.972.50",
35
- "@aws-sdk/credential-provider-process": "^3.972.45",
36
- "@aws-sdk/credential-provider-sso": "^3.972.50",
37
- "@aws-sdk/credential-provider-web-identity": "^3.972.50",
38
- "@aws-sdk/nested-clients": "^3.997.18",
31
+ "@aws-sdk/core": "^3.974.20",
32
+ "@aws-sdk/credential-provider-env": "^3.972.46",
33
+ "@aws-sdk/credential-provider-http": "^3.972.48",
34
+ "@aws-sdk/credential-provider-login": "^3.972.51",
35
+ "@aws-sdk/credential-provider-process": "^3.972.46",
36
+ "@aws-sdk/credential-provider-sso": "^3.972.51",
37
+ "@aws-sdk/credential-provider-web-identity": "^3.972.51",
38
+ "@aws-sdk/nested-clients": "^3.997.19",
39
39
  "@aws-sdk/types": "^3.973.12",
40
40
  "@smithy/core": "^3.24.6",
41
41
  "@smithy/credential-provider-imds": "^4.3.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.50",
3
+ "version": "3.972.51",
4
4
  "description": "AWS credential provider that sources credentials from aws login cached tokens",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.19",
32
- "@aws-sdk/nested-clients": "^3.997.18",
31
+ "@aws-sdk/core": "^3.974.20",
32
+ "@aws-sdk/nested-clients": "^3.997.19",
33
33
  "@aws-sdk/types": "^3.973.12",
34
34
  "@smithy/core": "^3.24.6",
35
35
  "@smithy/types": "^4.14.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.53",
3
+ "version": "3.972.54",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=20.0.0"
@@ -31,12 +31,12 @@
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "dependencies": {
34
- "@aws-sdk/credential-provider-env": "^3.972.45",
35
- "@aws-sdk/credential-provider-http": "^3.972.47",
36
- "@aws-sdk/credential-provider-ini": "^3.972.51",
37
- "@aws-sdk/credential-provider-process": "^3.972.45",
38
- "@aws-sdk/credential-provider-sso": "^3.972.50",
39
- "@aws-sdk/credential-provider-web-identity": "^3.972.50",
34
+ "@aws-sdk/credential-provider-env": "^3.972.46",
35
+ "@aws-sdk/credential-provider-http": "^3.972.48",
36
+ "@aws-sdk/credential-provider-ini": "^3.972.52",
37
+ "@aws-sdk/credential-provider-process": "^3.972.46",
38
+ "@aws-sdk/credential-provider-sso": "^3.972.51",
39
+ "@aws-sdk/credential-provider-web-identity": "^3.972.51",
40
40
  "@aws-sdk/types": "^3.973.12",
41
41
  "@smithy/core": "^3.24.6",
42
42
  "@smithy/credential-provider-imds": "^4.3.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.45",
3
+ "version": "3.972.46",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.19",
29
+ "@aws-sdk/core": "^3.974.20",
30
30
  "@aws-sdk/types": "^3.973.12",
31
31
  "@smithy/core": "^3.24.6",
32
32
  "@smithy/types": "^4.14.3",
@@ -22,7 +22,10 @@ const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ss
22
22
  filepath,
23
23
  configFilepath,
24
24
  ignoreCache,
25
- })();
25
+ clientConfig,
26
+ parentClientConfig,
27
+ logger,
28
+ })({ callerClientConfig });
26
29
  token = {
27
30
  accessToken: _token.token,
28
31
  expiresAt: new Date(_token.expiration).toISOString(),
@@ -12,7 +12,10 @@ export const resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccoun
12
12
  filepath,
13
13
  configFilepath,
14
14
  ignoreCache,
15
- })();
15
+ clientConfig,
16
+ parentClientConfig,
17
+ logger,
18
+ })({ callerClientConfig });
16
19
  token = {
17
20
  accessToken: _token.token,
18
21
  expiresAt: new Date(_token.expiration).toISOString(),
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.972.50",
3
+ "version": "3.972.51",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -13,7 +13,9 @@
13
13
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
14
14
  "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
15
15
  "test": "yarn g:vitest run",
16
- "test:watch": "yarn g:vitest watch"
16
+ "test:watch": "yarn g:vitest watch",
17
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
18
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
17
19
  },
18
20
  "keywords": [
19
21
  "aws",
@@ -26,9 +28,9 @@
26
28
  },
27
29
  "license": "Apache-2.0",
28
30
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.19",
30
- "@aws-sdk/nested-clients": "^3.997.18",
31
- "@aws-sdk/token-providers": "3.1064.0",
31
+ "@aws-sdk/core": "^3.974.20",
32
+ "@aws-sdk/nested-clients": "^3.997.19",
33
+ "@aws-sdk/token-providers": "3.1065.0",
32
34
  "@aws-sdk/types": "^3.973.12",
33
35
  "@smithy/core": "^3.24.6",
34
36
  "@smithy/types": "^4.14.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.50",
3
+ "version": "3.972.51",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "license": "Apache-2.0",
36
36
  "dependencies": {
37
- "@aws-sdk/core": "^3.974.19",
38
- "@aws-sdk/nested-clients": "^3.997.18",
37
+ "@aws-sdk/core": "^3.974.20",
38
+ "@aws-sdk/nested-clients": "^3.997.19",
39
39
  "@aws-sdk/types": "^3.973.12",
40
40
  "@smithy/core": "^3.24.6",
41
41
  "@smithy/types": "^4.14.3",
@@ -79,7 +79,7 @@ const commonParams = {
79
79
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
80
80
  };
81
81
 
82
- var version = "3.997.17";
82
+ var version = "3.997.18";
83
83
  var packageInfo = {
84
84
  version: version};
85
85
 
@@ -75,7 +75,7 @@ const commonParams = {
75
75
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
76
  };
77
77
 
78
- var version = "3.997.17";
78
+ var version = "3.997.18";
79
79
  var packageInfo = {
80
80
  version: version};
81
81
 
@@ -75,7 +75,7 @@ const commonParams = {
75
75
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
76
  };
77
77
 
78
- var version = "3.997.17";
78
+ var version = "3.997.18";
79
79
  var packageInfo = {
80
80
  version: version};
81
81
 
@@ -75,7 +75,7 @@ const commonParams = {
75
75
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
76
  };
77
77
 
78
- var version = "3.997.17";
78
+ var version = "3.997.18";
79
79
  var packageInfo = {
80
80
  version: version};
81
81
 
@@ -256,7 +256,7 @@ const commonParams = {
256
256
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
257
257
  };
258
258
 
259
- var version = "3.997.17";
259
+ var version = "3.997.18";
260
260
  var packageInfo = {
261
261
  version: version};
262
262
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.997.18",
3
+ "version": "3.997.19",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "@aws-crypto/sha256-browser": "5.2.0",
31
31
  "@aws-crypto/sha256-js": "5.2.0",
32
- "@aws-sdk/core": "^3.974.19",
32
+ "@aws-sdk/core": "^3.974.20",
33
33
  "@aws-sdk/signature-v4-multi-region": "^3.996.33",
34
34
  "@aws-sdk/types": "^3.973.12",
35
35
  "@smithy/core": "^3.24.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1064.0",
3
+ "version": "3.1065.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "^3.974.19",
33
- "@aws-sdk/nested-clients": "^3.997.18",
32
+ "@aws-sdk/core": "^3.974.20",
33
+ "@aws-sdk/nested-clients": "^3.997.19",
34
34
  "@aws-sdk/types": "^3.973.12",
35
35
  "@smithy/core": "^3.24.6",
36
36
  "@smithy/types": "^4.14.3",
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Natural Intelligence
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,142 @@
1
+ # anynum
2
+
3
+ Normalize Unicode decimal digits and minus signs to ASCII.
4
+
5
+ Converts digits from any script — Devanagari, Arabic-Indic, Thai, Bengali, Fullwidth, and [50+ others](#supported-scripts) — to their ASCII equivalents (`0`–`9`). Also normalizes Unicode minus variants (`−`, `-`, `﹣`) to ASCII `-`.
6
+
7
+ Pairs naturally with [`strnum`](https://github.com/nicolo-ribaudo/strnum) — use `anynum` to normalize first, then `strnum` to detect the numeric type.
8
+
9
+ ```js
10
+ import anynum from 'anynum';
11
+
12
+ anynum('१२.३४') // → '12.34' (Devanagari)
13
+ anynum('٣٫١٤') // → '3.14' (Arabic-Indic)
14
+ anynum('−४२') // → '-42' (Unicode minus + Devanagari)
15
+ anynum('-99.5') // → '-99.5' (Fullwidth minus + Fullwidth digits)
16
+ anynum('hello') // → 'hello' (no digits — zero allocation)
17
+ anynum('100') // → '100' (already ASCII — zero allocation)
18
+ ```
19
+
20
+ ---
21
+
22
+ ## Install
23
+
24
+ ```bash
25
+ npm install anynum
26
+ ```
27
+
28
+ ---
29
+
30
+ ## Usage
31
+
32
+ ```js
33
+ // ESM
34
+ import anynum from 'anynum';
35
+ import { anynum } from 'anynum';
36
+
37
+ ```
38
+
39
+ ### API
40
+
41
+ ```ts
42
+ anynum(str: string): string
43
+ ```
44
+
45
+ - Accepts a `string`, returns a `string`.
46
+ - Non-string values are returned as-is (no throw).
47
+ - Non-digit characters pass through unchanged.
48
+ - If no conversion is needed, the **original string is returned** (zero allocation).
49
+
50
+ ---
51
+
52
+ ## What gets converted
53
+
54
+ ### Decimal digits
55
+
56
+ Any Unicode character in category `Nd` (decimal digit) is mapped to its ASCII equivalent. This covers all positional decimal digit scripts — every script whose digits represent `0`–`9` by position.
57
+
58
+ ```js
59
+ anynum('๑๒๓') // Thai → '123'
60
+ anynum('੧੨੩') // Gurmukhi → '123'
61
+ anynum('᠑᠒᠓') // Mongolian → '123'
62
+ anynum('𝟏𝟐𝟑') // Math Bold → '123'
63
+ ```
64
+
65
+ ### Unicode minus variants
66
+
67
+ Three Unicode characters are normalized to ASCII `-` (`U+002D`):
68
+
69
+ | Code point | Character | Name |
70
+ |---|---|---|
71
+ | `U+2212` | `−` | MINUS SIGN (mathematical) |
72
+ | `U+FF0D` | `-` | FULLWIDTH HYPHEN-MINUS |
73
+ | `U+FE63` | `﹣` | SMALL HYPHEN-MINUS |
74
+
75
+ Dashes used for punctuation — EN DASH (`–`), EM DASH (`—`), HYPHEN (`‐`) — are intentionally **not** converted.
76
+
77
+ ```js
78
+ anynum('−42') // U+2212 MINUS SIGN → '-42'
79
+ anynum('-42') // U+FF0D FULLWIDTH → '-42'
80
+ anynum('–42') // U+2013 EN DASH → '–42' (unchanged)
81
+ ```
82
+
83
+ ---
84
+
85
+ ## Use with strnum
86
+
87
+ `anynum` and `strnum` compose cleanly:
88
+
89
+ ```js
90
+ import anynum from 'anynum';
91
+ import strnum from 'strnum';
92
+
93
+ strnum(anynum('१२.३४')) // → 12.34 (number, float)
94
+ strnum(anynum('−४२')) // → '-42' (string; strnum handles sign detection)
95
+ strnum(anynum('hello')) // → 'hello'
96
+ ```
97
+
98
+ ---
99
+
100
+
101
+ ## Supported scripts
102
+
103
+ 50+ decimal digit scripts from Unicode `Nd` category, including:
104
+
105
+ | Script | Zero | Sample |
106
+ |---|---|---|
107
+ | Devanagari (Hindi/Marathi/Nepali) | `U+0966` | `०१२३४५६७८९` |
108
+ | Arabic-Indic | `U+0660` | `٠١٢٣٤٥٦٧٨٩` |
109
+ | Extended Arabic-Indic (Urdu/Persian) | `U+06F0` | `۰۱۲۳۴۵۶۷۸۹` |
110
+ | Bengali | `U+09E6` | `০১২৩৪৫৬৭৮৯` |
111
+ | Gurmukhi | `U+0A66` | `੦੧੨੩੪੫੬੭੮੯` |
112
+ | Gujarati | `U+0AE6` | `૦૧૨૩૪૫૬૭૮૯` |
113
+ | Odia | `U+0B66` | `୦୧୨୩୪୫୬୭୮୯` |
114
+ | Tamil | `U+0BE6` | `௦௧௨௩௪௫௬௭௮௯` |
115
+ | Telugu | `U+0C66` | `౦౧౨౩౪౫౬౭౮౯` |
116
+ | Kannada | `U+0CE6` | `೦೧೨೩೪೫೬೭೮೯` |
117
+ | Malayalam | `U+0D66` | `൦൧൨൩൪൫൬൭൮൯` |
118
+ | Thai | `U+0E50` | `๐๑๒๓๔๕๖๗๘๙` |
119
+ | Lao | `U+0ED0` | `໐໑໒໓໔໕໖໗໘໙` |
120
+ | Tibetan | `U+0F20` | `༠༡༢༣༤༥༦༧༨༩` |
121
+ | Myanmar | `U+1040` | `၀၁၂၃၄၅၆၇၈၉` |
122
+ | Khmer | `U+17E0` | `០១២៣៤៥៦៧៨៩` |
123
+ | Mongolian | `U+1810` | `᠐᠑᠒᠓᠔᠕᠖᠗᠘᠙` |
124
+ | Fullwidth (CJK context) | `U+FF10` | `0123456789` |
125
+ | Mathematical Bold | `U+1D7CE` | `𝟎𝟏𝟐𝟑𝟒𝟓𝟔𝟕𝟖𝟗` |
126
+ | Adlam | `U+1E950` | `𞥐𞥑𞥒𞥓𞥔𞥕𞥖𞥗𞥘𞥙` |
127
+ | … and 30+ more | | |
128
+
129
+ ---
130
+
131
+ ## What it does NOT convert
132
+
133
+ - **Kanji/Chinese numeral words** (`三`, `百`, `万`) — these are ideographic numerals, not decimal digits. Each language has its own positional system requiring separate parsing logic.
134
+ - **Roman numerals** (`Ⅳ`, `Ⅻ`) — not decimal digits.
135
+ - **Punctuation dashes** (`–` EN, `—` EM, `‐` HYPHEN) — not numeric signs.
136
+ - **Decimal separators** — commas, periods, Arabic decimal comma (`٫`) are passed through as-is. Separator normalization is the caller's responsibility.
137
+
138
+ ---
139
+
140
+ ## License
141
+
142
+ MIT