@jjrawlins/cdk-diff-pr-github-action 1.9.14 → 1.9.15
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 +3 -3
- package/cdkdiffprgithubaction/jsii/jsii.go +2 -2
- package/cdkdiffprgithubaction/version +1 -1
- package/lib/CdkDiffIamTemplate.js +2 -2
- package/lib/CdkDiffIamTemplateStackSet.js +2 -2
- package/lib/CdkDiffStackWorkflow.js +1 -1
- package/lib/CdkDriftDetectionWorkflow.js +1 -1
- package/lib/CdkDriftIamTemplate.js +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- 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 +2 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +21 -11
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +5 -1
- package/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js +8 -1
- package/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js +13 -10
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +5 -1
- package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +12 -0
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +5 -0
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +5 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +2 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +1 -1
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +3 -3
- package/node_modules/strnum/CHANGELOG.md +5 -2
- package/node_modules/strnum/package.json +1 -1
- package/node_modules/strnum/strnum.js +9 -4
- package/node_modules/strnum/tests/strnum_test.js +2 -0
- package/node_modules/strnum/tests/temp.js +8 -0
- package/package.json +2 -2
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/CHANGELOG.md +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/LICENSE +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/README.md +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxbuilder.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.cjs +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.d.cts +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxp.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxparser.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/package.json +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/cli.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/man.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/cli/read.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.d.ts +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/fxp.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/ignoreAttributes.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/util.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Report.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPath.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XMLParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/validator.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/DocTypeReader.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OptionsBuilder.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/OrderedObjParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/XMLParser.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/node2json.js +0 -0
- /package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.973.
|
|
3
|
+
"version": "3.973.9",
|
|
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.
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "^3.972.23",
|
|
28
28
|
"@aws-sdk/types": "^3.973.6",
|
|
29
29
|
"@smithy/node-config-provider": "^4.3.12",
|
|
30
30
|
"@smithy/types": "^4.13.1",
|
|
@@ -2,21 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
var xmlParser = require('./xml-parser');
|
|
4
4
|
|
|
5
|
+
const ATTR_ESCAPE_RE = /[&<>"]/g;
|
|
6
|
+
const ATTR_ESCAPE_MAP = {
|
|
7
|
+
"&": "&",
|
|
8
|
+
"<": "<",
|
|
9
|
+
">": ">",
|
|
10
|
+
'"': """,
|
|
11
|
+
};
|
|
5
12
|
function escapeAttribute(value) {
|
|
6
|
-
return value.replace(
|
|
13
|
+
return value.replace(ATTR_ESCAPE_RE, (ch) => ATTR_ESCAPE_MAP[ch]);
|
|
7
14
|
}
|
|
8
15
|
|
|
16
|
+
const ELEMENT_ESCAPE_RE = /[&"'<>\r\n\u0085\u2028]/g;
|
|
17
|
+
const ELEMENT_ESCAPE_MAP = {
|
|
18
|
+
"&": "&",
|
|
19
|
+
'"': """,
|
|
20
|
+
"'": "'",
|
|
21
|
+
"<": "<",
|
|
22
|
+
">": ">",
|
|
23
|
+
"\r": "
",
|
|
24
|
+
"\n": "
",
|
|
25
|
+
"\u0085": "…",
|
|
26
|
+
"\u2028": "
",
|
|
27
|
+
};
|
|
9
28
|
function escapeElement(value) {
|
|
10
|
-
return value
|
|
11
|
-
.replace(/&/g, "&")
|
|
12
|
-
.replace(/"/g, """)
|
|
13
|
-
.replace(/'/g, "'")
|
|
14
|
-
.replace(/</g, "<")
|
|
15
|
-
.replace(/>/g, ">")
|
|
16
|
-
.replace(/\r/g, "
")
|
|
17
|
-
.replace(/\n/g, "
")
|
|
18
|
-
.replace(/\u0085/g, "…")
|
|
19
|
-
.replace(/\u2028/, "
");
|
|
29
|
+
return value.replace(ELEMENT_ESCAPE_RE, (ch) => ELEMENT_ESCAPE_MAP[ch]);
|
|
20
30
|
}
|
|
21
31
|
|
|
22
32
|
class XmlText {
|
|
@@ -4,13 +4,17 @@ exports.parseXML = parseXML;
|
|
|
4
4
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
5
5
|
const parser = new fast_xml_parser_1.XMLParser({
|
|
6
6
|
attributeNamePrefix: "",
|
|
7
|
+
processEntities: {
|
|
8
|
+
enabled: true,
|
|
9
|
+
maxTotalExpansions: Infinity,
|
|
10
|
+
},
|
|
7
11
|
htmlEntities: true,
|
|
8
12
|
ignoreAttributes: false,
|
|
9
13
|
ignoreDeclaration: true,
|
|
10
14
|
parseTagValue: false,
|
|
11
15
|
trimValues: false,
|
|
12
16
|
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
|
13
|
-
maxNestedTags:
|
|
17
|
+
maxNestedTags: Infinity,
|
|
14
18
|
});
|
|
15
19
|
parser.addEntity("#xD", "\r");
|
|
16
20
|
parser.addEntity("#10", "\n");
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
const ATTR_ESCAPE_RE = /[&<>"]/g;
|
|
2
|
+
const ATTR_ESCAPE_MAP = {
|
|
3
|
+
"&": "&",
|
|
4
|
+
"<": "<",
|
|
5
|
+
">": ">",
|
|
6
|
+
'"': """,
|
|
7
|
+
};
|
|
1
8
|
export function escapeAttribute(value) {
|
|
2
|
-
return value.replace(
|
|
9
|
+
return value.replace(ATTR_ESCAPE_RE, (ch) => ATTR_ESCAPE_MAP[ch]);
|
|
3
10
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
const ELEMENT_ESCAPE_RE = /[&"'<>\r\n\u0085\u2028]/g;
|
|
2
|
+
const ELEMENT_ESCAPE_MAP = {
|
|
3
|
+
"&": "&",
|
|
4
|
+
'"': """,
|
|
5
|
+
"'": "'",
|
|
6
|
+
"<": "<",
|
|
7
|
+
">": ">",
|
|
8
|
+
"\r": "
",
|
|
9
|
+
"\n": "
",
|
|
10
|
+
"\u0085": "…",
|
|
11
|
+
"\u2028": "
",
|
|
12
|
+
};
|
|
1
13
|
export function escapeElement(value) {
|
|
2
|
-
return value
|
|
3
|
-
.replace(/&/g, "&")
|
|
4
|
-
.replace(/"/g, """)
|
|
5
|
-
.replace(/'/g, "'")
|
|
6
|
-
.replace(/</g, "<")
|
|
7
|
-
.replace(/>/g, ">")
|
|
8
|
-
.replace(/\r/g, "
")
|
|
9
|
-
.replace(/\n/g, "
")
|
|
10
|
-
.replace(/\u0085/g, "…")
|
|
11
|
-
.replace(/\u2028/, "
");
|
|
14
|
+
return value.replace(ELEMENT_ESCAPE_RE, (ch) => ELEMENT_ESCAPE_MAP[ch]);
|
|
12
15
|
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { XMLParser } from "fast-xml-parser";
|
|
2
2
|
const parser = new XMLParser({
|
|
3
3
|
attributeNamePrefix: "",
|
|
4
|
+
processEntities: {
|
|
5
|
+
enabled: true,
|
|
6
|
+
maxTotalExpansions: Infinity,
|
|
7
|
+
},
|
|
4
8
|
htmlEntities: true,
|
|
5
9
|
ignoreAttributes: false,
|
|
6
10
|
ignoreDeclaration: true,
|
|
7
11
|
parseTagValue: false,
|
|
8
12
|
trimValues: false,
|
|
9
13
|
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
|
10
|
-
maxNestedTags:
|
|
14
|
+
maxNestedTags: Infinity,
|
|
11
15
|
});
|
|
12
16
|
parser.addEntity("#xD", "\r");
|
|
13
17
|
parser.addEntity("#10", "\n");
|
|
@@ -12,6 +12,11 @@ const NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
|
|
|
12
12
|
configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
|
|
13
13
|
default: false,
|
|
14
14
|
};
|
|
15
|
+
const nodeDualstackConfigSelectors = {
|
|
16
|
+
environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.ENV),
|
|
17
|
+
configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
|
|
18
|
+
default: undefined,
|
|
19
|
+
};
|
|
15
20
|
|
|
16
21
|
const ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT";
|
|
17
22
|
const CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
|
|
@@ -21,6 +26,11 @@ const NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
|
21
26
|
configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
|
|
22
27
|
default: false,
|
|
23
28
|
};
|
|
29
|
+
const nodeFipsConfigSelectors = {
|
|
30
|
+
environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.ENV),
|
|
31
|
+
configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
|
|
32
|
+
default: undefined,
|
|
33
|
+
};
|
|
24
34
|
|
|
25
35
|
const resolveCustomEndpointsConfig = (input) => {
|
|
26
36
|
const { tls, endpoint, urlParser, useDualstackEndpoint } = input;
|
|
@@ -181,6 +191,8 @@ exports.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = NODE_USE_FIPS_ENDPOINT_CONFIG_OP
|
|
|
181
191
|
exports.REGION_ENV_NAME = REGION_ENV_NAME;
|
|
182
192
|
exports.REGION_INI_NAME = REGION_INI_NAME;
|
|
183
193
|
exports.getRegionInfo = getRegionInfo;
|
|
194
|
+
exports.nodeDualstackConfigSelectors = nodeDualstackConfigSelectors;
|
|
195
|
+
exports.nodeFipsConfigSelectors = nodeFipsConfigSelectors;
|
|
184
196
|
exports.resolveCustomEndpointsConfig = resolveCustomEndpointsConfig;
|
|
185
197
|
exports.resolveEndpointsConfig = resolveEndpointsConfig;
|
|
186
198
|
exports.resolveRegionConfig = resolveRegionConfig;
|
|
@@ -7,3 +7,8 @@ export const NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
|
|
|
7
7
|
configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, SelectorType.CONFIG),
|
|
8
8
|
default: false,
|
|
9
9
|
};
|
|
10
|
+
export const nodeDualstackConfigSelectors = {
|
|
11
|
+
environmentVariableSelector: (env) => booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, SelectorType.ENV),
|
|
12
|
+
configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, SelectorType.CONFIG),
|
|
13
|
+
default: undefined,
|
|
14
|
+
};
|
|
@@ -7,3 +7,8 @@ export const NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
|
7
7
|
configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG),
|
|
8
8
|
default: false,
|
|
9
9
|
};
|
|
10
|
+
export const nodeFipsConfigSelectors = {
|
|
11
|
+
environmentVariableSelector: (env) => booleanSelector(env, ENV_USE_FIPS_ENDPOINT, SelectorType.ENV),
|
|
12
|
+
configFileSelector: (profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG),
|
|
13
|
+
default: undefined,
|
|
14
|
+
};
|
|
@@ -12,6 +12,12 @@ export declare const CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint";
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const DEFAULT_USE_DUALSTACK_ENDPOINT = false;
|
|
14
14
|
/**
|
|
15
|
+
* Don't delete this, used by older clients.
|
|
16
|
+
* @deprecated replaced by nodeDualstackConfigSelectors in newer clients.
|
|
15
17
|
* @internal
|
|
16
18
|
*/
|
|
17
19
|
export declare const NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS: LoadedConfigSelectors<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export declare const nodeDualstackConfigSelectors: LoadedConfigSelectors<boolean | undefined>;
|
|
@@ -12,6 +12,12 @@ export declare const CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const DEFAULT_USE_FIPS_ENDPOINT = false;
|
|
14
14
|
/**
|
|
15
|
+
* Don't delete this, used by older clients.
|
|
16
|
+
* @deprecated replaced by nodeFipsConfigSelectors in newer clients.
|
|
15
17
|
* @internal
|
|
16
18
|
*/
|
|
17
19
|
export declare const NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS: LoadedConfigSelectors<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export declare const nodeFipsConfigSelectors: LoadedConfigSelectors<boolean | undefined>;
|
|
@@ -12,6 +12,12 @@ export declare const CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint";
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const DEFAULT_USE_DUALSTACK_ENDPOINT = false;
|
|
14
14
|
/**
|
|
15
|
+
* Don't delete this, used by older clients.
|
|
16
|
+
* @deprecated replaced by nodeDualstackConfigSelectors in newer clients.
|
|
15
17
|
* @internal
|
|
16
18
|
*/
|
|
17
19
|
export declare const NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS: LoadedConfigSelectors<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export declare const nodeDualstackConfigSelectors: LoadedConfigSelectors<boolean | undefined>;
|
|
@@ -12,6 +12,12 @@ export declare const CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const DEFAULT_USE_FIPS_ENDPOINT = false;
|
|
14
14
|
/**
|
|
15
|
+
* Don't delete this, used by older clients.
|
|
16
|
+
* @deprecated replaced by nodeFipsConfigSelectors in newer clients.
|
|
15
17
|
* @internal
|
|
16
18
|
*/
|
|
17
19
|
export declare const NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS: LoadedConfigSelectors<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export declare const nodeFipsConfigSelectors: LoadedConfigSelectors<boolean | undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/config-resolver",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.13",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline config-resolver",
|
|
@@ -31,11 +31,11 @@ export interface EndpointInputConfig<T extends EndpointParameters = EndpointPara
|
|
|
31
31
|
/**
|
|
32
32
|
* Enables IPv6/IPv4 dualstack endpoint.
|
|
33
33
|
*/
|
|
34
|
-
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
34
|
+
useDualstackEndpoint?: boolean | Provider<boolean | undefined>;
|
|
35
35
|
/**
|
|
36
36
|
* Enables FIPS compatible endpoints.
|
|
37
37
|
*/
|
|
38
|
-
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
38
|
+
useFipsEndpoint?: boolean | Provider<boolean | undefined>;
|
|
39
39
|
/**
|
|
40
40
|
* @internal
|
|
41
41
|
* This field is used internally so you should not fill any value to this field.
|
package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts
CHANGED
|
@@ -31,11 +31,11 @@ export interface EndpointInputConfig<T extends EndpointParameters = EndpointPara
|
|
|
31
31
|
/**
|
|
32
32
|
* Enables IPv6/IPv4 dualstack endpoint.
|
|
33
33
|
*/
|
|
34
|
-
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
34
|
+
useDualstackEndpoint?: boolean | Provider<boolean | undefined>;
|
|
35
35
|
/**
|
|
36
36
|
* Enables FIPS compatible endpoints.
|
|
37
37
|
*/
|
|
38
|
-
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
38
|
+
useFipsEndpoint?: boolean | Provider<boolean | undefined>;
|
|
39
39
|
/**
|
|
40
40
|
* @internal
|
|
41
41
|
* This field is used internally so you should not fill any value to this field.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.27",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-endpoint",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.44",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@smithy/node-config-provider": "^4.3.12",
|
|
38
38
|
"@smithy/protocol-http": "^5.3.12",
|
|
39
39
|
"@smithy/service-error-classification": "^4.2.12",
|
|
40
|
-
"@smithy/smithy-client": "^4.12.
|
|
40
|
+
"@smithy/smithy-client": "^4.12.7",
|
|
41
41
|
"@smithy/types": "^4.13.1",
|
|
42
42
|
"@smithy/util-middleware": "^4.2.12",
|
|
43
43
|
"@smithy/util-retry": "^4.2.12",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.7",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@smithy/core": "^3.23.12",
|
|
31
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
31
|
+
"@smithy/middleware-endpoint": "^4.4.27",
|
|
32
32
|
"@smithy/middleware-stack": "^4.2.12",
|
|
33
33
|
"@smithy/protocol-http": "^5.3.12",
|
|
34
34
|
"@smithy/types": "^4.13.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.43",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@smithy/property-provider": "^4.2.12",
|
|
28
|
-
"@smithy/smithy-client": "^4.12.
|
|
28
|
+
"@smithy/smithy-client": "^4.12.7",
|
|
29
29
|
"@smithy/types": "^4.13.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.47",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/config-resolver": "^4.4.
|
|
27
|
+
"@smithy/config-resolver": "^4.4.13",
|
|
28
28
|
"@smithy/credential-provider-imds": "^4.2.12",
|
|
29
29
|
"@smithy/node-config-provider": "^4.3.12",
|
|
30
30
|
"@smithy/property-provider": "^4.2.12",
|
|
31
|
-
"@smithy/smithy-client": "^4.12.
|
|
31
|
+
"@smithy/smithy-client": "^4.12.7",
|
|
32
32
|
"@smithy/types": "^4.13.1",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
@@ -97,11 +97,16 @@ function resolveEnotation(str, trimmedStr, options) {
|
|
|
97
97
|
else if (leadingZeros.length === 1
|
|
98
98
|
&& (notation[3].startsWith(`.${eChar}`) || notation[3][0] === eChar)) {
|
|
99
99
|
return Number(trimmedStr);
|
|
100
|
-
} else if (
|
|
101
|
-
//
|
|
102
|
-
|
|
100
|
+
} else if (leadingZeros.length > 0) {
|
|
101
|
+
// Has leading zeros — only accept if leadingZeros option allows it
|
|
102
|
+
if (options.leadingZeros && !eAdjacentToLeadingZeros) {
|
|
103
|
+
trimmedStr = (notation[1] || "") + notation[3];
|
|
104
|
+
return Number(trimmedStr);
|
|
105
|
+
} else return str;
|
|
106
|
+
} else {
|
|
107
|
+
// No leading zeros — always valid e-notation, parse it
|
|
103
108
|
return Number(trimmedStr);
|
|
104
|
-
}
|
|
109
|
+
}
|
|
105
110
|
} else {
|
|
106
111
|
return str;
|
|
107
112
|
}
|
|
@@ -126,6 +126,8 @@ describe("Should convert all the valid numeric strings to number", () => {
|
|
|
126
126
|
expect(toNumber("1e-2")).toEqual(0.01);
|
|
127
127
|
expect(toNumber("1e+2")).toEqual(100);
|
|
128
128
|
expect(toNumber("1.e+2")).toEqual(100);
|
|
129
|
+
|
|
130
|
+
expect(toNumber("1.5e3", { leadingZeros: false })).toEqual(1500);
|
|
129
131
|
});
|
|
130
132
|
|
|
131
133
|
it("scientific notation with upper E", () => {
|
package/package.json
CHANGED
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"constructs": ">=10.0.5 <11.0.0"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
72
|
+
"@aws-sdk/client-cloudformation": "^3.1013.0",
|
|
73
73
|
"@types/crypto-js": "^4.2.2",
|
|
74
74
|
"@types/js-yaml": "^4.0.9",
|
|
75
75
|
"crypto-js": "^4.2.0",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"publishConfig": {
|
|
111
111
|
"access": "public"
|
|
112
112
|
},
|
|
113
|
-
"version": "1.9.
|
|
113
|
+
"version": "1.9.15",
|
|
114
114
|
"jest": {
|
|
115
115
|
"coverageProvider": "v8",
|
|
116
116
|
"testMatch": [
|
|
File without changes
|
/package/node_modules/{fast-xml-parser → @aws-sdk/xml-builder/node_modules/fast-xml-parser}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|