@jjrawlins/cdk-iam-policy-builder-helper 0.0.164 → 0.0.166

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 (96) hide show
  1. package/.jsii +4 -4
  2. package/cdkiampolicybuilderhelper/go.mod +1 -1
  3. package/cdkiampolicybuilderhelper/jsii/jsii.go +2 -2
  4. package/cdkiampolicybuilderhelper/version +1 -1
  5. package/node_modules/@aws-sdk/client-iam/package.json +14 -14
  6. package/node_modules/@aws-sdk/core/package.json +4 -4
  7. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  8. package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
  9. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  10. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  11. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  12. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  13. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  14. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  15. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  16. package/node_modules/@aws-sdk/nested-clients/package.json +12 -12
  17. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  18. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +36 -19
  19. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js +9 -0
  20. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptPackageJsonPaths.js +17 -0
  21. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +17 -12
  22. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts +8 -0
  23. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptPackageJsonPaths.d.ts +10 -0
  24. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts +3 -0
  25. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptPackageJsonPaths.d.ts +3 -0
  26. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  27. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +1 -0
  28. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +1 -0
  29. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +23 -0
  30. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  31. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
  32. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  33. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +15 -1
  34. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  35. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  36. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  37. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  38. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
  39. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
  40. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +3 -2
  41. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +16 -0
  42. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +1 -1
  43. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +1 -26
  44. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +87 -87
  45. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +10 -10
  46. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +23 -23
  47. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +29 -29
  48. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +39 -39
  49. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +17 -17
  50. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +22 -22
  51. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +85 -85
  52. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +34 -34
  53. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -284
  54. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +1 -1
  55. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +2 -0
  56. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +27 -5
  57. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -21
  58. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +38 -34
  59. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +10 -10
  60. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  61. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -8
  62. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +2 -8
  63. package/node_modules/@smithy/core/package.json +2 -2
  64. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +18 -4
  65. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +18 -4
  66. package/node_modules/@smithy/fetch-http-handler/package.json +1 -1
  67. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  68. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  69. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +21 -8
  70. package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +16 -0
  71. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -4
  72. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +3 -4
  73. package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +9 -0
  74. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +9 -0
  75. package/node_modules/@smithy/node-http-handler/package.json +1 -1
  76. package/node_modules/@smithy/smithy-client/package.json +4 -4
  77. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  78. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  79. package/node_modules/@smithy/util-stream/package.json +3 -3
  80. package/node_modules/fast-xml-builder/LICENSE +21 -0
  81. package/node_modules/fast-xml-builder/README.md +23 -0
  82. package/node_modules/fast-xml-builder/lib/builder.cjs +1 -0
  83. package/node_modules/fast-xml-builder/lib/builder.min.js +2 -0
  84. package/node_modules/fast-xml-builder/lib/builder.min.js.map +1 -0
  85. package/node_modules/fast-xml-builder/lib/fxb.d.cts +167 -0
  86. package/node_modules/fast-xml-builder/package.json +78 -0
  87. package/node_modules/fast-xml-builder/src/fxb.d.ts +156 -0
  88. package/node_modules/fast-xml-builder/src/fxb.js +285 -0
  89. package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
  90. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/orderedJs2Xml.js +14 -3
  91. package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
  92. package/package.json +2 -2
  93. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptPackageJsonPath.js +0 -14
  94. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptPackageJsonPath.d.ts +0 -9
  95. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptPackageJsonPath.d.ts +0 -1
  96. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/prettifyJs2Xml.js → fast-xml-builder/CHANGELOG.md} +0 -0
package/.jsii CHANGED
@@ -7,7 +7,7 @@
7
7
  ]
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-iam": "^3.1000.0",
10
+ "@aws-sdk/client-iam": "^3.1001.0",
11
11
  "axios": "^1.8.2",
12
12
  "jsonc-parser": "^3.3.1"
13
13
  },
@@ -3483,7 +3483,7 @@
3483
3483
  "stability": "stable"
3484
3484
  },
3485
3485
  "homepage": "https://github.com/JaysonRawlins/cdk-iam-policy-builder-helper.git",
3486
- "jsiiVersion": "5.9.30 (build 832a54a)",
3486
+ "jsiiVersion": "5.9.31 (build 550e607)",
3487
3487
  "keywords": [
3488
3488
  "aws",
3489
3489
  "cdk",
@@ -3526,6 +3526,6 @@
3526
3526
  }
3527
3527
  },
3528
3528
  "types": {},
3529
- "version": "0.0.164",
3530
- "fingerprint": "/dRBIQGZeUylOS66O/KRQdHhJTSiQNCYahVgTqyJob8="
3529
+ "version": "0.0.166",
3530
+ "fingerprint": "BIHC5I0iGecAVBAG78XnhZFgonL0nYEn0AYQJbQDjw0="
3531
3531
  }
@@ -6,7 +6,7 @@ require (
6
6
  github.com/aws/jsii-runtime-go v1.127.0
7
7
  github.com/aws/aws-cdk-go/awscdk/v2 v2.85.0
8
8
  github.com/aws/constructs-go/constructs/v10 v10.0.5
9
- github.com/cdklabs/awscdk-asset-awscli-go/awscliv1/v2 v2.2.267 // indirect
9
+ github.com/cdklabs/awscdk-asset-awscli-go/awscliv1/v2 v2.2.268 // indirect
10
10
  github.com/cdklabs/awscdk-asset-kubectl-go/kubectlv20/v2 v2.1.4 // indirect
11
11
  github.com/cdklabs/awscdk-asset-node-proxy-agent-go/nodeproxyagentv5/v2 v2.0.166 // indirect
12
12
  )
@@ -13,7 +13,7 @@ import (
13
13
  constructs "github.com/aws/constructs-go/constructs/v10/jsii"
14
14
  )
15
15
 
16
- //go:embed jjrawlins-cdk-iam-policy-builder-helper-0.0.163.tgz
16
+ //go:embed jjrawlins-cdk-iam-policy-builder-helper-0.0.165.tgz
17
17
  var tarball []byte
18
18
 
19
19
  // Initialize loads the necessary packages in the @jsii/kernel to support the enclosing module.
@@ -24,5 +24,5 @@ func Initialize() {
24
24
  constructs.Initialize()
25
25
 
26
26
  // Load this library into the kernel
27
- _jsii_.Load("@jjrawlins/cdk-iam-policy-builder-helper", "0.0.163", tarball)
27
+ _jsii_.Load("@jjrawlins/cdk-iam-policy-builder-helper", "0.0.165", tarball)
28
28
  }
@@ -1 +1 @@
1
- 0.0.163
1
+ 0.0.165
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
3
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
4
- "version": "3.1000.0",
4
+ "version": "3.1001.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iam",
@@ -27,38 +27,38 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "5.2.0",
29
29
  "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/core": "^3.973.15",
31
- "@aws-sdk/credential-provider-node": "^3.972.14",
30
+ "@aws-sdk/core": "^3.973.16",
31
+ "@aws-sdk/credential-provider-node": "^3.972.15",
32
32
  "@aws-sdk/middleware-host-header": "^3.972.6",
33
33
  "@aws-sdk/middleware-logger": "^3.972.6",
34
34
  "@aws-sdk/middleware-recursion-detection": "^3.972.6",
35
- "@aws-sdk/middleware-user-agent": "^3.972.15",
35
+ "@aws-sdk/middleware-user-agent": "^3.972.16",
36
36
  "@aws-sdk/region-config-resolver": "^3.972.6",
37
37
  "@aws-sdk/types": "^3.973.4",
38
38
  "@aws-sdk/util-endpoints": "^3.996.3",
39
39
  "@aws-sdk/util-user-agent-browser": "^3.972.6",
40
- "@aws-sdk/util-user-agent-node": "^3.973.0",
40
+ "@aws-sdk/util-user-agent-node": "^3.973.1",
41
41
  "@smithy/config-resolver": "^4.4.9",
42
- "@smithy/core": "^3.23.6",
43
- "@smithy/fetch-http-handler": "^5.3.11",
42
+ "@smithy/core": "^3.23.7",
43
+ "@smithy/fetch-http-handler": "^5.3.12",
44
44
  "@smithy/hash-node": "^4.2.10",
45
45
  "@smithy/invalid-dependency": "^4.2.10",
46
46
  "@smithy/middleware-content-length": "^4.2.10",
47
- "@smithy/middleware-endpoint": "^4.4.20",
48
- "@smithy/middleware-retry": "^4.4.37",
47
+ "@smithy/middleware-endpoint": "^4.4.21",
48
+ "@smithy/middleware-retry": "^4.4.38",
49
49
  "@smithy/middleware-serde": "^4.2.11",
50
50
  "@smithy/middleware-stack": "^4.2.10",
51
51
  "@smithy/node-config-provider": "^4.3.10",
52
- "@smithy/node-http-handler": "^4.4.12",
52
+ "@smithy/node-http-handler": "^4.4.13",
53
53
  "@smithy/protocol-http": "^5.3.10",
54
- "@smithy/smithy-client": "^4.12.0",
54
+ "@smithy/smithy-client": "^4.12.1",
55
55
  "@smithy/types": "^4.13.0",
56
56
  "@smithy/url-parser": "^4.2.10",
57
57
  "@smithy/util-base64": "^4.3.1",
58
58
  "@smithy/util-body-length-browser": "^4.2.1",
59
59
  "@smithy/util-body-length-node": "^4.2.2",
60
- "@smithy/util-defaults-mode-browser": "^4.3.36",
61
- "@smithy/util-defaults-mode-node": "^4.2.39",
60
+ "@smithy/util-defaults-mode-browser": "^4.3.37",
61
+ "@smithy/util-defaults-mode-node": "^4.2.40",
62
62
  "@smithy/util-endpoints": "^3.3.1",
63
63
  "@smithy/util-middleware": "^4.2.10",
64
64
  "@smithy/util-retry": "^4.2.10",
@@ -67,7 +67,7 @@
67
67
  "tslib": "^2.6.2"
68
68
  },
69
69
  "devDependencies": {
70
- "@smithy/snapshot-testing": "^1.0.7",
70
+ "@smithy/snapshot-testing": "^1.0.8",
71
71
  "@tsconfig/node20": "20.1.8",
72
72
  "@types/node": "^20.14.8",
73
73
  "concurrently": "7.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.973.15",
3
+ "version": "3.973.16",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
@@ -82,13 +82,13 @@
82
82
  "license": "Apache-2.0",
83
83
  "dependencies": {
84
84
  "@aws-sdk/types": "^3.973.4",
85
- "@aws-sdk/xml-builder": "^3.972.8",
86
- "@smithy/core": "^3.23.6",
85
+ "@aws-sdk/xml-builder": "^3.972.9",
86
+ "@smithy/core": "^3.23.7",
87
87
  "@smithy/node-config-provider": "^4.3.10",
88
88
  "@smithy/property-provider": "^4.2.10",
89
89
  "@smithy/protocol-http": "^5.3.10",
90
90
  "@smithy/signature-v4": "^5.3.10",
91
- "@smithy/smithy-client": "^4.12.0",
91
+ "@smithy/smithy-client": "^4.12.1",
92
92
  "@smithy/types": "^4.13.0",
93
93
  "@smithy/util-base64": "^4.3.1",
94
94
  "@smithy/util-middleware": "^4.2.10",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.13",
3
+ "version": "3.972.14",
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.973.15",
29
+ "@aws-sdk/core": "^3.973.16",
30
30
  "@aws-sdk/types": "^3.973.4",
31
31
  "@smithy/property-provider": "^4.2.10",
32
32
  "@smithy/types": "^4.13.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.15",
3
+ "version": "3.972.16",
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",
@@ -28,15 +28,15 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.973.15",
31
+ "@aws-sdk/core": "^3.973.16",
32
32
  "@aws-sdk/types": "^3.973.4",
33
- "@smithy/fetch-http-handler": "^5.3.11",
34
- "@smithy/node-http-handler": "^4.4.12",
33
+ "@smithy/fetch-http-handler": "^5.3.12",
34
+ "@smithy/node-http-handler": "^4.4.13",
35
35
  "@smithy/property-provider": "^4.2.10",
36
36
  "@smithy/protocol-http": "^5.3.10",
37
- "@smithy/smithy-client": "^4.12.0",
37
+ "@smithy/smithy-client": "^4.12.1",
38
38
  "@smithy/types": "^4.13.0",
39
- "@smithy/util-stream": "^4.5.15",
39
+ "@smithy/util-stream": "^4.5.16",
40
40
  "tslib": "^2.6.2"
41
41
  },
42
42
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.972.13",
3
+ "version": "3.972.14",
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.973.15",
32
- "@aws-sdk/credential-provider-env": "^3.972.13",
33
- "@aws-sdk/credential-provider-http": "^3.972.15",
34
- "@aws-sdk/credential-provider-login": "^3.972.13",
35
- "@aws-sdk/credential-provider-process": "^3.972.13",
36
- "@aws-sdk/credential-provider-sso": "^3.972.13",
37
- "@aws-sdk/credential-provider-web-identity": "^3.972.13",
38
- "@aws-sdk/nested-clients": "^3.996.3",
31
+ "@aws-sdk/core": "^3.973.16",
32
+ "@aws-sdk/credential-provider-env": "^3.972.14",
33
+ "@aws-sdk/credential-provider-http": "^3.972.16",
34
+ "@aws-sdk/credential-provider-login": "^3.972.14",
35
+ "@aws-sdk/credential-provider-process": "^3.972.14",
36
+ "@aws-sdk/credential-provider-sso": "^3.972.14",
37
+ "@aws-sdk/credential-provider-web-identity": "^3.972.14",
38
+ "@aws-sdk/nested-clients": "^3.996.4",
39
39
  "@aws-sdk/types": "^3.973.4",
40
40
  "@smithy/credential-provider-imds": "^4.2.10",
41
41
  "@smithy/property-provider": "^4.2.10",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.13",
3
+ "version": "3.972.14",
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.973.15",
32
- "@aws-sdk/nested-clients": "^3.996.3",
31
+ "@aws-sdk/core": "^3.973.16",
32
+ "@aws-sdk/nested-clients": "^3.996.4",
33
33
  "@aws-sdk/types": "^3.973.4",
34
34
  "@smithy/property-provider": "^4.2.10",
35
35
  "@smithy/protocol-http": "^5.3.10",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.14",
3
+ "version": "3.972.15",
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.13",
35
- "@aws-sdk/credential-provider-http": "^3.972.15",
36
- "@aws-sdk/credential-provider-ini": "^3.972.13",
37
- "@aws-sdk/credential-provider-process": "^3.972.13",
38
- "@aws-sdk/credential-provider-sso": "^3.972.13",
39
- "@aws-sdk/credential-provider-web-identity": "^3.972.13",
34
+ "@aws-sdk/credential-provider-env": "^3.972.14",
35
+ "@aws-sdk/credential-provider-http": "^3.972.16",
36
+ "@aws-sdk/credential-provider-ini": "^3.972.14",
37
+ "@aws-sdk/credential-provider-process": "^3.972.14",
38
+ "@aws-sdk/credential-provider-sso": "^3.972.14",
39
+ "@aws-sdk/credential-provider-web-identity": "^3.972.14",
40
40
  "@aws-sdk/types": "^3.973.4",
41
41
  "@smithy/credential-provider-imds": "^4.2.10",
42
42
  "@smithy/property-provider": "^4.2.10",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.13",
3
+ "version": "3.972.14",
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.973.15",
29
+ "@aws-sdk/core": "^3.973.16",
30
30
  "@aws-sdk/types": "^3.973.4",
31
31
  "@smithy/property-provider": "^4.2.10",
32
32
  "@smithy/shared-ini-file-loader": "^4.4.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.972.13",
3
+ "version": "3.972.14",
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",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.973.15",
30
- "@aws-sdk/nested-clients": "^3.996.3",
31
- "@aws-sdk/token-providers": "3.999.0",
29
+ "@aws-sdk/core": "^3.973.16",
30
+ "@aws-sdk/nested-clients": "^3.996.4",
31
+ "@aws-sdk/token-providers": "3.1001.0",
32
32
  "@aws-sdk/types": "^3.973.4",
33
33
  "@smithy/property-provider": "^4.2.10",
34
34
  "@smithy/shared-ini-file-loader": "^4.4.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.13",
3
+ "version": "3.972.14",
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.973.15",
38
- "@aws-sdk/nested-clients": "^3.996.3",
37
+ "@aws-sdk/core": "^3.973.16",
38
+ "@aws-sdk/nested-clients": "^3.996.4",
39
39
  "@aws-sdk/types": "^3.973.4",
40
40
  "@smithy/property-provider": "^4.2.10",
41
41
  "@smithy/shared-ini-file-loader": "^4.4.5",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.972.15",
3
+ "version": "3.972.16",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "^3.973.15",
28
+ "@aws-sdk/core": "^3.973.16",
29
29
  "@aws-sdk/types": "^3.973.4",
30
30
  "@aws-sdk/util-endpoints": "^3.996.3",
31
- "@smithy/core": "^3.23.6",
31
+ "@smithy/core": "^3.23.7",
32
32
  "@smithy/protocol-http": "^5.3.10",
33
33
  "@smithy/types": "^4.13.0",
34
34
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.996.3",
3
+ "version": "3.996.4",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,37 +29,37 @@
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.973.15",
32
+ "@aws-sdk/core": "^3.973.16",
33
33
  "@aws-sdk/middleware-host-header": "^3.972.6",
34
34
  "@aws-sdk/middleware-logger": "^3.972.6",
35
35
  "@aws-sdk/middleware-recursion-detection": "^3.972.6",
36
- "@aws-sdk/middleware-user-agent": "^3.972.15",
36
+ "@aws-sdk/middleware-user-agent": "^3.972.16",
37
37
  "@aws-sdk/region-config-resolver": "^3.972.6",
38
38
  "@aws-sdk/types": "^3.973.4",
39
39
  "@aws-sdk/util-endpoints": "^3.996.3",
40
40
  "@aws-sdk/util-user-agent-browser": "^3.972.6",
41
- "@aws-sdk/util-user-agent-node": "^3.973.0",
41
+ "@aws-sdk/util-user-agent-node": "^3.973.1",
42
42
  "@smithy/config-resolver": "^4.4.9",
43
- "@smithy/core": "^3.23.6",
44
- "@smithy/fetch-http-handler": "^5.3.11",
43
+ "@smithy/core": "^3.23.7",
44
+ "@smithy/fetch-http-handler": "^5.3.12",
45
45
  "@smithy/hash-node": "^4.2.10",
46
46
  "@smithy/invalid-dependency": "^4.2.10",
47
47
  "@smithy/middleware-content-length": "^4.2.10",
48
- "@smithy/middleware-endpoint": "^4.4.20",
49
- "@smithy/middleware-retry": "^4.4.37",
48
+ "@smithy/middleware-endpoint": "^4.4.21",
49
+ "@smithy/middleware-retry": "^4.4.38",
50
50
  "@smithy/middleware-serde": "^4.2.11",
51
51
  "@smithy/middleware-stack": "^4.2.10",
52
52
  "@smithy/node-config-provider": "^4.3.10",
53
- "@smithy/node-http-handler": "^4.4.12",
53
+ "@smithy/node-http-handler": "^4.4.13",
54
54
  "@smithy/protocol-http": "^5.3.10",
55
- "@smithy/smithy-client": "^4.12.0",
55
+ "@smithy/smithy-client": "^4.12.1",
56
56
  "@smithy/types": "^4.13.0",
57
57
  "@smithy/url-parser": "^4.2.10",
58
58
  "@smithy/util-base64": "^4.3.1",
59
59
  "@smithy/util-body-length-browser": "^4.2.1",
60
60
  "@smithy/util-body-length-node": "^4.2.2",
61
- "@smithy/util-defaults-mode-browser": "^4.3.36",
62
- "@smithy/util-defaults-mode-node": "^4.2.39",
61
+ "@smithy/util-defaults-mode-browser": "^4.3.37",
62
+ "@smithy/util-defaults-mode-node": "^4.2.40",
63
63
  "@smithy/util-endpoints": "^3.3.1",
64
64
  "@smithy/util-middleware": "^4.2.10",
65
65
  "@smithy/util-retry": "^4.2.10",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.999.0",
3
+ "version": "3.1001.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.973.15",
33
- "@aws-sdk/nested-clients": "^3.996.3",
32
+ "@aws-sdk/core": "^3.973.16",
33
+ "@aws-sdk/nested-clients": "^3.996.4",
34
34
  "@aws-sdk/types": "^3.973.4",
35
35
  "@smithy/property-provider": "^4.2.10",
36
36
  "@smithy/shared-ini-file-loader": "^4.4.5",
@@ -16,18 +16,31 @@ const getRuntimeUserAgentPair = () => {
16
16
  return ["md/nodejs", node_process.versions.node];
17
17
  };
18
18
 
19
- const getTypeScriptPackageJsonPath = (dirname = "") => {
20
- let nodeModulesPath;
19
+ const SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/;
20
+ const getSanitizedTypeScriptVersion = (version = "") => {
21
+ const match = version.match(SEMVER_REGEX);
22
+ if (!match) {
23
+ return undefined;
24
+ }
25
+ const [major, minor, patch, prerelease] = [match[1], match[2], match[3], match[4]];
26
+ return prerelease ? `${major}.${minor}.${patch}-${prerelease}` : `${major}.${minor}.${patch}`;
27
+ };
28
+
29
+ const typescriptPackageJsonPath = node_path.join("node_modules", "typescript", "package.json");
30
+ const getTypeScriptPackageJsonPaths = (dirname) => {
31
+ const cwdPath = node_path.join(process.cwd(), typescriptPackageJsonPath);
32
+ if (!dirname) {
33
+ return [cwdPath];
34
+ }
21
35
  const normalizedPath = node_path.normalize(dirname);
22
36
  const parts = normalizedPath.split(node_path.sep);
23
37
  const nodeModulesIndex = parts.indexOf("node_modules");
24
- if (nodeModulesIndex !== -1) {
25
- nodeModulesPath = parts.slice(0, nodeModulesIndex).join(node_path.sep);
38
+ const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(node_path.sep) : dirname;
39
+ const parentDirPath = node_path.join(parentDir, typescriptPackageJsonPath);
40
+ if (cwdPath === parentDirPath) {
41
+ return [cwdPath];
26
42
  }
27
- else {
28
- nodeModulesPath = dirname;
29
- }
30
- return node_path.join(nodeModulesPath, "node_modules", "typescript", "package.json");
43
+ return [parentDirPath, cwdPath];
31
44
  };
32
45
 
33
46
  let tscVersion;
@@ -38,19 +51,23 @@ const getTypeScriptUserAgentPair = async () => {
38
51
  else if (typeof tscVersion === "string") {
39
52
  return ["md/tsc", tscVersion];
40
53
  }
41
- try {
42
- const packageJson = await promises.readFile(getTypeScriptPackageJsonPath(__dirname), "utf-8");
43
- const { version } = JSON.parse(packageJson);
44
- if (typeof version !== "string") {
45
- tscVersion = null;
46
- return undefined;
54
+ const dirname = typeof __dirname !== "undefined" ? __dirname : undefined;
55
+ for (const typescriptPackageJsonPath of getTypeScriptPackageJsonPaths(dirname)) {
56
+ try {
57
+ const packageJson = await promises.readFile(typescriptPackageJsonPath, "utf-8");
58
+ const { version } = JSON.parse(packageJson);
59
+ const sanitizedVersion = getSanitizedTypeScriptVersion(version);
60
+ if (typeof sanitizedVersion !== "string") {
61
+ continue;
62
+ }
63
+ tscVersion = sanitizedVersion;
64
+ return ["md/tsc", tscVersion];
65
+ }
66
+ catch {
47
67
  }
48
- tscVersion = version;
49
- return ["md/tsc", tscVersion];
50
- }
51
- catch {
52
- tscVersion = null;
53
68
  }
69
+ tscVersion = null;
70
+ return undefined;
54
71
  };
55
72
 
56
73
  const crtAvailability = {
@@ -0,0 +1,9 @@
1
+ const SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/;
2
+ export const getSanitizedTypeScriptVersion = (version = "") => {
3
+ const match = version.match(SEMVER_REGEX);
4
+ if (!match) {
5
+ return undefined;
6
+ }
7
+ const [major, minor, patch, prerelease] = [match[1], match[2], match[3], match[4]];
8
+ return prerelease ? `${major}.${minor}.${patch}-${prerelease}` : `${major}.${minor}.${patch}`;
9
+ };
@@ -0,0 +1,17 @@
1
+ import { join, normalize, sep } from "node:path";
2
+ const typescriptPackageJsonPath = join("node_modules", "typescript", "package.json");
3
+ export const getTypeScriptPackageJsonPaths = (dirname) => {
4
+ const cwdPath = join(process.cwd(), typescriptPackageJsonPath);
5
+ if (!dirname) {
6
+ return [cwdPath];
7
+ }
8
+ const normalizedPath = normalize(dirname);
9
+ const parts = normalizedPath.split(sep);
10
+ const nodeModulesIndex = parts.indexOf("node_modules");
11
+ const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(sep) : dirname;
12
+ const parentDirPath = join(parentDir, typescriptPackageJsonPath);
13
+ if (cwdPath === parentDirPath) {
14
+ return [cwdPath];
15
+ }
16
+ return [parentDirPath, cwdPath];
17
+ };
@@ -1,5 +1,6 @@
1
1
  import { readFile } from "node:fs/promises";
2
- import { getTypeScriptPackageJsonPath } from "./getTypeScriptPackageJsonPath";
2
+ import { getSanitizedTypeScriptVersion } from "./getSanitizedTypeScriptVersion";
3
+ import { getTypeScriptPackageJsonPaths } from "./getTypeScriptPackageJsonPaths";
3
4
  let tscVersion;
4
5
  export const getTypeScriptUserAgentPair = async () => {
5
6
  if (tscVersion === null) {
@@ -8,17 +9,21 @@ export const getTypeScriptUserAgentPair = async () => {
8
9
  else if (typeof tscVersion === "string") {
9
10
  return ["md/tsc", tscVersion];
10
11
  }
11
- try {
12
- const packageJson = await readFile(getTypeScriptPackageJsonPath(__dirname), "utf-8");
13
- const { version } = JSON.parse(packageJson);
14
- if (typeof version !== "string") {
15
- tscVersion = null;
16
- return undefined;
12
+ const dirname = typeof __dirname !== "undefined" ? __dirname : undefined;
13
+ for (const typescriptPackageJsonPath of getTypeScriptPackageJsonPaths(dirname)) {
14
+ try {
15
+ const packageJson = await readFile(typescriptPackageJsonPath, "utf-8");
16
+ const { version } = JSON.parse(packageJson);
17
+ const sanitizedVersion = getSanitizedTypeScriptVersion(version);
18
+ if (typeof sanitizedVersion !== "string") {
19
+ continue;
20
+ }
21
+ tscVersion = sanitizedVersion;
22
+ return ["md/tsc", tscVersion];
23
+ }
24
+ catch {
17
25
  }
18
- tscVersion = version;
19
- return ["md/tsc", tscVersion];
20
- }
21
- catch {
22
- tscVersion = null;
23
26
  }
27
+ tscVersion = null;
28
+ return undefined;
24
29
  };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Validates a semver string (with optional pre-release and/or build metadata).
3
+ * If valid, returns the version string with build metadata stripped.
4
+ * Returns undefined if the string is not a valid semver.
5
+ *
6
+ * @internal
7
+ */
8
+ export declare const getSanitizedTypeScriptVersion: (version?: string) => string | undefined;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Returns candidate paths to the TypeScript package.json file derived from the current
3
+ * working directory and, if provided, from the given directory.
4
+ *
5
+ * @param dirname - Optional directory path to derive an additional candidate path from.
6
+ * @returns An array of unique candidate paths to the TypeScript package.json file.
7
+ *
8
+ * @internal
9
+ */
10
+ export declare const getTypeScriptPackageJsonPaths: (dirname?: string) => string[];
@@ -0,0 +1,3 @@
1
+ export declare const getSanitizedTypeScriptVersion: (
2
+ version?: string
3
+ ) => string | undefined;
@@ -0,0 +1,3 @@
1
+ export declare const getTypeScriptPackageJsonPaths: (
2
+ dirname?: string
3
+ ) => string[];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.973.0",
3
+ "version": "3.973.1",
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-user-agent-node",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/middleware-user-agent": "^3.972.15",
27
+ "@aws-sdk/middleware-user-agent": "^3.972.16",
28
28
  "@aws-sdk/types": "^3.973.4",
29
29
  "@smithy/node-config-provider": "^4.3.10",
30
30
  "@smithy/types": "^4.13.0",