@rio-cloud/cdk-v2-constructs 7.13.12-alpha.0 → 7.13.12
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.
- package/.jsii +9 -9
- package/lib/contributions/team-transport-two/datadog-synthetics/datadog-synthetics-test-custom-resource/handler.cjs +289 -240
- package/lib/datadogv2/secret-locator-custom-resource/on-create.cjs +302 -253
- package/lib/datadogv2/service-catalog-custom-resource/on-create.cjs +289 -240
- package/lib/fargate/codedeploy-custom-resources/create-deployment-is-complete.cjs +288 -239
- package/lib/fargate/codedeploy-custom-resources/create-deployment-on-create.cjs +288 -239
- package/lib/fargate/codedeploy-custom-resources/run-monitoring-test-suite-runner.cjs +288 -239
- package/node_modules/@aws-sdk/client-cloudformation/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/package.json +13 -13
- package/node_modules/@aws-sdk/client-codedeploy/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/package.json +13 -13
- package/node_modules/@aws-sdk/client-ecs/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@aws-sdk/client-ecs/package.json +13 -13
- package/node_modules/@aws-sdk/client-organizations/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@aws-sdk/client-organizations/package.json +13 -13
- package/node_modules/@aws-sdk/client-secrets-manager/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +14 -14
- package/node_modules/@aws-sdk/client-ssm/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@aws-sdk/client-ssm/package.json +13 -13
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +7 -15
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +7 -15
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -7
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/package.json +12 -12
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +36 -19
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js +9 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptPackageJsonPaths.js +17 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +17 -12
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptPackageJsonPaths.d.ts +10 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptPackageJsonPaths.d.ts +3 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +6 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -8
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +2 -8
- package/node_modules/@smithy/core/package.json +11 -11
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +18 -4
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +18 -4
- package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
- package/node_modules/@smithy/hash-node/package.json +4 -4
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/is-array-buffer/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +9 -9
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +21 -8
- package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +16 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +3 -4
- package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +9 -0
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +3 -3
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +8 -8
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-base64/package.json +4 -4
- package/node_modules/@smithy/util-body-length-browser/package.json +2 -2
- package/node_modules/@smithy/util-body-length-node/package.json +2 -2
- package/node_modules/@smithy/util-buffer-from/package.json +3 -3
- package/node_modules/@smithy/util-config-provider/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-hex-encoding/package.json +2 -2
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-stream/package.json +8 -8
- package/node_modules/@smithy/util-uri-escape/package.json +2 -2
- package/node_modules/@smithy/util-utf8/package.json +3 -3
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/node_modules/@smithy/uuid/package.json +2 -2
- package/node_modules/fast-xml-builder/LICENSE +21 -0
- package/node_modules/fast-xml-builder/README.md +23 -0
- package/node_modules/fast-xml-builder/lib/builder.cjs +1 -0
- package/node_modules/fast-xml-builder/lib/builder.min.js +2 -0
- package/node_modules/fast-xml-builder/lib/builder.min.js.map +1 -0
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +167 -0
- package/node_modules/fast-xml-builder/package.json +78 -0
- package/node_modules/fast-xml-builder/src/fxb.d.ts +156 -0
- package/node_modules/fast-xml-builder/src/fxb.js +285 -0
- package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
- package/node_modules/{fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/orderedJs2Xml.js +14 -3
- package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
- package/node_modules/fast-xml-parser/CHANGELOG.md +23 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +15 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
- package/node_modules/fast-xml-parser/package.json +3 -2
- package/node_modules/fast-xml-parser/src/fxp.d.ts +16 -0
- package/node_modules/fast-xml-parser/src/fxp.js +1 -1
- package/node_modules/fast-xml-parser/src/util.js +1 -26
- package/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +87 -87
- package/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +10 -10
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +23 -23
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +29 -29
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +39 -39
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +17 -17
- package/node_modules/fast-xml-parser/src/v6/XMLParser.js +22 -22
- package/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +85 -85
- package/node_modules/fast-xml-parser/src/validator.js +34 -34
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -284
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +1 -1
- package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +2 -0
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +27 -5
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -21
- package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +38 -34
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +10 -10
- package/package.json +12 -15
- package/version.json +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptPackageJsonPath.js +0 -14
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptPackageJsonPath.d.ts +0 -9
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptPackageJsonPath.d.ts +0 -1
- /package/node_modules/{fast-xml-parser/src/xmlbuilder/prettifyJs2Xml.js → fast-xml-builder/CHANGELOG.md} +0 -0
|
@@ -390,22 +390,16 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
390
390
|
if (Array.isArray(value) && ns.isListSchema()) {
|
|
391
391
|
const listMember = ns.getValueSchema();
|
|
392
392
|
const out = [];
|
|
393
|
-
const sparse = !!ns.getMergedTraits().sparse;
|
|
394
393
|
for (const item of value) {
|
|
395
|
-
|
|
396
|
-
out.push(this._read(listMember, item));
|
|
397
|
-
}
|
|
394
|
+
out.push(this._read(listMember, item));
|
|
398
395
|
}
|
|
399
396
|
return out;
|
|
400
397
|
}
|
|
401
398
|
if (ns.isMapSchema()) {
|
|
402
399
|
const mapMember = ns.getValueSchema();
|
|
403
400
|
const out = {};
|
|
404
|
-
const sparse = !!ns.getMergedTraits().sparse;
|
|
405
401
|
for (const [_k, _v] of Object.entries(value)) {
|
|
406
|
-
|
|
407
|
-
out[_k] = this._read(mapMember, _v);
|
|
408
|
-
}
|
|
402
|
+
out[_k] = this._read(mapMember, _v);
|
|
409
403
|
}
|
|
410
404
|
return out;
|
|
411
405
|
}
|
|
@@ -964,18 +958,18 @@ class XmlShapeDeserializer extends SerdeContextConfig {
|
|
|
964
958
|
return value;
|
|
965
959
|
}
|
|
966
960
|
if (typeof value === "object") {
|
|
967
|
-
const sparse = !!traits.sparse;
|
|
968
961
|
const flat = !!traits.xmlFlattened;
|
|
969
962
|
if (ns.isListSchema()) {
|
|
970
963
|
const listValue = ns.getValueSchema();
|
|
971
964
|
const buffer = [];
|
|
972
965
|
const sourceKey = listValue.getMergedTraits().xmlName ?? "member";
|
|
973
966
|
const source = flat ? value : (value[0] ?? value)[sourceKey];
|
|
967
|
+
if (source == null) {
|
|
968
|
+
return buffer;
|
|
969
|
+
}
|
|
974
970
|
const sourceArray = Array.isArray(source) ? source : [source];
|
|
975
971
|
for (const v of sourceArray) {
|
|
976
|
-
|
|
977
|
-
buffer.push(this.readSchema(listValue, v));
|
|
978
|
-
}
|
|
972
|
+
buffer.push(this.readSchema(listValue, v));
|
|
979
973
|
}
|
|
980
974
|
return buffer;
|
|
981
975
|
}
|
|
@@ -995,9 +989,7 @@ class XmlShapeDeserializer extends SerdeContextConfig {
|
|
|
995
989
|
for (const entry of entries) {
|
|
996
990
|
const key = entry[keyProperty];
|
|
997
991
|
const value = entry[valueProperty];
|
|
998
|
-
|
|
999
|
-
buffer[key] = this.readSchema(memberNs, value);
|
|
1000
|
-
}
|
|
992
|
+
buffer[key] = this.readSchema(memberNs, value);
|
|
1001
993
|
}
|
|
1002
994
|
return buffer;
|
|
1003
995
|
}
|
package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js
CHANGED
|
@@ -64,22 +64,16 @@ export class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
64
64
|
if (Array.isArray(value) && ns.isListSchema()) {
|
|
65
65
|
const listMember = ns.getValueSchema();
|
|
66
66
|
const out = [];
|
|
67
|
-
const sparse = !!ns.getMergedTraits().sparse;
|
|
68
67
|
for (const item of value) {
|
|
69
|
-
|
|
70
|
-
out.push(this._read(listMember, item));
|
|
71
|
-
}
|
|
68
|
+
out.push(this._read(listMember, item));
|
|
72
69
|
}
|
|
73
70
|
return out;
|
|
74
71
|
}
|
|
75
72
|
if (ns.isMapSchema()) {
|
|
76
73
|
const mapMember = ns.getValueSchema();
|
|
77
74
|
const out = {};
|
|
78
|
-
const sparse = !!ns.getMergedTraits().sparse;
|
|
79
75
|
for (const [_k, _v] of Object.entries(value)) {
|
|
80
|
-
|
|
81
|
-
out[_k] = this._read(mapMember, _v);
|
|
82
|
-
}
|
|
76
|
+
out[_k] = this._read(mapMember, _v);
|
|
83
77
|
}
|
|
84
78
|
return out;
|
|
85
79
|
}
|
|
@@ -54,18 +54,18 @@ export class XmlShapeDeserializer extends SerdeContextConfig {
|
|
|
54
54
|
return value;
|
|
55
55
|
}
|
|
56
56
|
if (typeof value === "object") {
|
|
57
|
-
const sparse = !!traits.sparse;
|
|
58
57
|
const flat = !!traits.xmlFlattened;
|
|
59
58
|
if (ns.isListSchema()) {
|
|
60
59
|
const listValue = ns.getValueSchema();
|
|
61
60
|
const buffer = [];
|
|
62
61
|
const sourceKey = listValue.getMergedTraits().xmlName ?? "member";
|
|
63
62
|
const source = flat ? value : (value[0] ?? value)[sourceKey];
|
|
63
|
+
if (source == null) {
|
|
64
|
+
return buffer;
|
|
65
|
+
}
|
|
64
66
|
const sourceArray = Array.isArray(source) ? source : [source];
|
|
65
67
|
for (const v of sourceArray) {
|
|
66
|
-
|
|
67
|
-
buffer.push(this.readSchema(listValue, v));
|
|
68
|
-
}
|
|
68
|
+
buffer.push(this.readSchema(listValue, v));
|
|
69
69
|
}
|
|
70
70
|
return buffer;
|
|
71
71
|
}
|
|
@@ -85,9 +85,7 @@ export class XmlShapeDeserializer extends SerdeContextConfig {
|
|
|
85
85
|
for (const entry of entries) {
|
|
86
86
|
const key = entry[keyProperty];
|
|
87
87
|
const value = entry[valueProperty];
|
|
88
|
-
|
|
89
|
-
buffer[key] = this.readSchema(memberNs, value);
|
|
90
|
-
}
|
|
88
|
+
buffer[key] = this.readSchema(memberNs, value);
|
|
91
89
|
}
|
|
92
90
|
return buffer;
|
|
93
91
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.973.
|
|
3
|
+
"version": "3.973.17",
|
|
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.
|
|
86
|
-
"@smithy/core": "^3.23.
|
|
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.
|
|
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.
|
|
3
|
+
"version": "3.972.15",
|
|
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.
|
|
29
|
+
"@aws-sdk/core": "^3.973.17",
|
|
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.
|
|
3
|
+
"version": "3.972.17",
|
|
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.
|
|
31
|
+
"@aws-sdk/core": "^3.973.17",
|
|
32
32
|
"@aws-sdk/types": "^3.973.4",
|
|
33
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
34
|
-
"@smithy/node-http-handler": "^4.4.
|
|
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.
|
|
37
|
+
"@smithy/smithy-client": "^4.12.1",
|
|
38
38
|
"@smithy/types": "^4.13.0",
|
|
39
|
-
"@smithy/util-stream": "^4.5.
|
|
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.
|
|
3
|
+
"version": "3.972.15",
|
|
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.
|
|
32
|
-
"@aws-sdk/credential-provider-env": "^3.972.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
34
|
-
"@aws-sdk/credential-provider-login": "^3.972.
|
|
35
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
36
|
-
"@aws-sdk/credential-provider-sso": "^3.972.
|
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
38
|
-
"@aws-sdk/nested-clients": "^3.996.
|
|
31
|
+
"@aws-sdk/core": "^3.973.17",
|
|
32
|
+
"@aws-sdk/credential-provider-env": "^3.972.15",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "^3.972.17",
|
|
34
|
+
"@aws-sdk/credential-provider-login": "^3.972.15",
|
|
35
|
+
"@aws-sdk/credential-provider-process": "^3.972.15",
|
|
36
|
+
"@aws-sdk/credential-provider-sso": "^3.972.15",
|
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.15",
|
|
38
|
+
"@aws-sdk/nested-clients": "^3.996.5",
|
|
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.
|
|
3
|
+
"version": "3.972.15",
|
|
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.
|
|
32
|
-
"@aws-sdk/nested-clients": "^3.996.
|
|
31
|
+
"@aws-sdk/core": "^3.973.17",
|
|
32
|
+
"@aws-sdk/nested-clients": "^3.996.5",
|
|
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.
|
|
3
|
+
"version": "3.972.16",
|
|
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.
|
|
35
|
-
"@aws-sdk/credential-provider-http": "^3.972.
|
|
36
|
-
"@aws-sdk/credential-provider-ini": "^3.972.
|
|
37
|
-
"@aws-sdk/credential-provider-process": "^3.972.
|
|
38
|
-
"@aws-sdk/credential-provider-sso": "^3.972.
|
|
39
|
-
"@aws-sdk/credential-provider-web-identity": "^3.972.
|
|
34
|
+
"@aws-sdk/credential-provider-env": "^3.972.15",
|
|
35
|
+
"@aws-sdk/credential-provider-http": "^3.972.17",
|
|
36
|
+
"@aws-sdk/credential-provider-ini": "^3.972.15",
|
|
37
|
+
"@aws-sdk/credential-provider-process": "^3.972.15",
|
|
38
|
+
"@aws-sdk/credential-provider-sso": "^3.972.15",
|
|
39
|
+
"@aws-sdk/credential-provider-web-identity": "^3.972.15",
|
|
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.
|
|
3
|
+
"version": "3.972.15",
|
|
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.
|
|
29
|
+
"@aws-sdk/core": "^3.973.17",
|
|
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.
|
|
3
|
+
"version": "3.972.15",
|
|
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.
|
|
30
|
-
"@aws-sdk/nested-clients": "^3.996.
|
|
31
|
-
"@aws-sdk/token-providers": "3.
|
|
29
|
+
"@aws-sdk/core": "^3.973.17",
|
|
30
|
+
"@aws-sdk/nested-clients": "^3.996.5",
|
|
31
|
+
"@aws-sdk/token-providers": "3.1002.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.
|
|
3
|
+
"version": "3.972.15",
|
|
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.
|
|
38
|
-
"@aws-sdk/nested-clients": "^3.996.
|
|
37
|
+
"@aws-sdk/core": "^3.973.17",
|
|
38
|
+
"@aws-sdk/nested-clients": "^3.996.5",
|
|
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.
|
|
3
|
+
"version": "3.972.17",
|
|
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.
|
|
28
|
+
"@aws-sdk/core": "^3.973.17",
|
|
29
29
|
"@aws-sdk/types": "^3.973.4",
|
|
30
30
|
"@aws-sdk/util-endpoints": "^3.996.3",
|
|
31
|
-
"@smithy/core": "^3.23.
|
|
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": "@smithy/util-retry",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.11",
|
|
4
4
|
"description": "Shared retry utilities to be used in middleware packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"license": "Apache-2.0",
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@smithy/service-error-classification": "^4.2.
|
|
34
|
+
"@smithy/service-error-classification": "^4.2.11",
|
|
35
35
|
"@smithy/types": "^4.13.0",
|
|
36
36
|
"tslib": "^2.6.2"
|
|
37
37
|
},
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"node": ">=18.0.0"
|
|
48
48
|
},
|
|
49
49
|
"typesVersions": {
|
|
50
|
-
"<4.
|
|
50
|
+
"<4.5": {
|
|
51
51
|
"types/*": [
|
|
52
52
|
"types/ts3.4/*"
|
|
53
53
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.5",
|
|
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.
|
|
32
|
+
"@aws-sdk/core": "^3.973.17",
|
|
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.
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "^3.972.17",
|
|
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.
|
|
41
|
+
"@aws-sdk/util-user-agent-node": "^3.973.2",
|
|
42
42
|
"@smithy/config-resolver": "^4.4.9",
|
|
43
|
-
"@smithy/core": "^3.23.
|
|
44
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
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.
|
|
49
|
-
"@smithy/middleware-retry": "^4.4.
|
|
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.
|
|
53
|
+
"@smithy/node-http-handler": "^4.4.13",
|
|
54
54
|
"@smithy/protocol-http": "^5.3.10",
|
|
55
|
-
"@smithy/smithy-client": "^4.12.
|
|
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.
|
|
62
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
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.
|
|
3
|
+
"version": "3.1002.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.
|
|
33
|
-
"@aws-sdk/nested-clients": "^3.996.
|
|
32
|
+
"@aws-sdk/core": "^3.973.17",
|
|
33
|
+
"@aws-sdk/nested-clients": "^3.996.5",
|
|
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
|
|
20
|
-
|
|
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
|
-
|
|
25
|
-
|
|
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
|
-
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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 {
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
};
|
package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts
ADDED
|
@@ -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;
|
package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptPackageJsonPaths.d.ts
ADDED
|
@@ -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[];
|