@cdk8s/awscdk-resolver 0.0.14 → 0.0.16
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 +4 -4
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/models_0.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +135 -134
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +135 -134
- package/node_modules/@aws-sdk/client-cloudformation/package.json +11 -11
- package/node_modules/@aws-sdk/client-sso/package.json +9 -9
- package/node_modules/@aws-sdk/client-sts/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/middleware-host-header/package.json +1 -1
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-browser.js +320 -183
- package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js +321 -184
- package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-browser.js +231 -93
- package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-node.js +237 -98
- package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-browser.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-node.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +8 -8
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +2 -2
- package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +11 -8
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +11 -8
- package/node_modules/@smithy/shared-ini-file-loader/package.json +1 -1
- package/node_modules/@smithy/util-defaults-mode-node/package.json +4 -4
- package/package.json +7 -7
package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-browser.d.ts
CHANGED
@@ -184,4 +184,4 @@ declare var CreateTokenCommand: {
|
|
184
184
|
};
|
185
185
|
};
|
186
186
|
};
|
187
|
-
export { AccessDeniedException, AuthorizationPendingException, CreateTokenCommand, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidRequestException, InvalidScopeException, SSOOIDCClient, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException };
|
187
|
+
export { AccessDeniedException, AuthorizationPendingException, CreateTokenCommand, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidRequestException, InvalidScopeException, SSOOIDCClient, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, };
|
@@ -184,4 +184,4 @@ declare var CreateTokenCommand: {
|
|
184
184
|
};
|
185
185
|
};
|
186
186
|
};
|
187
|
-
export { AccessDeniedException, AuthorizationPendingException, CreateTokenCommand, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidRequestException, InvalidScopeException, SSOOIDCClient, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException };
|
187
|
+
export { AccessDeniedException, AuthorizationPendingException, CreateTokenCommand, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidRequestException, InvalidScopeException, SSOOIDCClient, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, };
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/token-providers",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.430.0",
|
4
4
|
"description": "A collection of token providers",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -29,24 +29,24 @@
|
|
29
29
|
"dependencies": {
|
30
30
|
"@aws-crypto/sha256-browser": "3.0.0",
|
31
31
|
"@aws-crypto/sha256-js": "3.0.0",
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
32
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
33
33
|
"@aws-sdk/middleware-logger": "3.428.0",
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.428.0",
|
36
36
|
"@aws-sdk/types": "3.428.0",
|
37
37
|
"@aws-sdk/util-endpoints": "3.428.0",
|
38
38
|
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
39
|
-
"@aws-sdk/util-user-agent-node": "3.
|
40
|
-
"@smithy/config-resolver": "^2.0.
|
39
|
+
"@aws-sdk/util-user-agent-node": "3.430.0",
|
40
|
+
"@smithy/config-resolver": "^2.0.15",
|
41
41
|
"@smithy/fetch-http-handler": "^2.2.3",
|
42
42
|
"@smithy/hash-node": "^2.0.11",
|
43
43
|
"@smithy/invalid-dependency": "^2.0.11",
|
44
44
|
"@smithy/middleware-content-length": "^2.0.13",
|
45
|
-
"@smithy/middleware-endpoint": "^2.1.
|
46
|
-
"@smithy/middleware-retry": "^2.0.
|
45
|
+
"@smithy/middleware-endpoint": "^2.1.2",
|
46
|
+
"@smithy/middleware-retry": "^2.0.17",
|
47
47
|
"@smithy/middleware-serde": "^2.0.11",
|
48
48
|
"@smithy/middleware-stack": "^2.0.5",
|
49
|
-
"@smithy/node-config-provider": "^2.1.
|
49
|
+
"@smithy/node-config-provider": "^2.1.2",
|
50
50
|
"@smithy/node-http-handler": "^2.1.7",
|
51
51
|
"@smithy/property-provider": "^2.0.0",
|
52
52
|
"@smithy/protocol-http": "^3.0.7",
|
@@ -58,7 +58,7 @@
|
|
58
58
|
"@smithy/util-body-length-browser": "^2.0.0",
|
59
59
|
"@smithy/util-body-length-node": "^2.1.0",
|
60
60
|
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
61
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
61
|
+
"@smithy/util-defaults-mode-node": "^2.0.20",
|
62
62
|
"@smithy/util-retry": "^2.0.4",
|
63
63
|
"@smithy/util-utf8": "^2.0.0",
|
64
64
|
"tslib": "^2.5.0"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.430.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
@@ -21,7 +21,7 @@
|
|
21
21
|
"license": "Apache-2.0",
|
22
22
|
"dependencies": {
|
23
23
|
"@aws-sdk/types": "3.428.0",
|
24
|
-
"@smithy/node-config-provider": "^2.1.
|
24
|
+
"@smithy/node-config-provider": "^2.1.2",
|
25
25
|
"@smithy/types": "^2.3.5",
|
26
26
|
"tslib": "^2.5.0"
|
27
27
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/config-resolver",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.15",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/node-config-provider": "^2.1.
|
26
|
+
"@smithy/node-config-provider": "^2.1.2",
|
27
27
|
"@smithy/types": "^2.3.5",
|
28
28
|
"@smithy/util-config-provider": "^2.0.0",
|
29
29
|
"@smithy/util-middleware": "^2.0.4",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.17",
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
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
|
-
"@smithy/node-config-provider": "^2.1.
|
29
|
+
"@smithy/node-config-provider": "^2.1.2",
|
30
30
|
"@smithy/property-provider": "^2.0.12",
|
31
31
|
"@smithy/types": "^2.3.5",
|
32
32
|
"@smithy/url-parser": "^2.0.11",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.2",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
26
|
"@smithy/middleware-serde": "^2.0.11",
|
27
|
-
"@smithy/node-config-provider": "^2.1.
|
28
|
-
"@smithy/shared-ini-file-loader": "^2.2.
|
27
|
+
"@smithy/node-config-provider": "^2.1.2",
|
28
|
+
"@smithy/shared-ini-file-loader": "^2.2.1",
|
29
29
|
"@smithy/types": "^2.3.5",
|
30
30
|
"@smithy/url-parser": "^2.0.11",
|
31
31
|
"@smithy/util-middleware": "^2.0.4",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-retry",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.17",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/node-config-provider": "^2.1.
|
27
|
+
"@smithy/node-config-provider": "^2.1.2",
|
28
28
|
"@smithy/protocol-http": "^3.0.7",
|
29
29
|
"@smithy/service-error-classification": "^2.0.4",
|
30
30
|
"@smithy/types": "^2.3.5",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/node-config-provider",
|
3
|
-
"version": "2.1.
|
3
|
+
"version": "2.1.2",
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"types": "./dist-types/index.d.ts",
|
26
26
|
"dependencies": {
|
27
27
|
"@smithy/property-provider": "^2.0.12",
|
28
|
-
"@smithy/shared-ini-file-loader": "^2.2.
|
28
|
+
"@smithy/shared-ini-file-loader": "^2.2.1",
|
29
29
|
"@smithy/types": "^2.3.5",
|
30
30
|
"tslib": "^2.5.0"
|
31
31
|
},
|
@@ -3,19 +3,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.parseIni = void 0;
|
4
4
|
const types_1 = require("@smithy/types");
|
5
5
|
const loadSharedConfigFiles_1 = require("./loadSharedConfigFiles");
|
6
|
-
const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w
|
6
|
+
const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@]+)\2$/;
|
7
7
|
const profileNameBlockList = ["__proto__", "profile __proto__"];
|
8
8
|
const parseIni = (iniData) => {
|
9
9
|
const map = {};
|
10
10
|
let currentSection;
|
11
11
|
let currentSubSection;
|
12
|
-
for (
|
13
|
-
|
14
|
-
const isSection =
|
12
|
+
for (const iniLine of iniData.split(/\r?\n/)) {
|
13
|
+
const trimmedLine = iniLine.split(/(^|\s)[;#]/)[0].trim();
|
14
|
+
const isSection = trimmedLine[0] === "[" && trimmedLine[trimmedLine.length - 1] === "]";
|
15
15
|
if (isSection) {
|
16
16
|
currentSection = undefined;
|
17
17
|
currentSubSection = undefined;
|
18
|
-
const sectionName =
|
18
|
+
const sectionName = trimmedLine.substring(1, trimmedLine.length - 1);
|
19
19
|
const matches = prefixKeyRegex.exec(sectionName);
|
20
20
|
if (matches) {
|
21
21
|
const [, prefix, , name] = matches;
|
@@ -31,16 +31,19 @@ const parseIni = (iniData) => {
|
|
31
31
|
}
|
32
32
|
}
|
33
33
|
else if (currentSection) {
|
34
|
-
const indexOfEqualsSign =
|
34
|
+
const indexOfEqualsSign = trimmedLine.indexOf("=");
|
35
35
|
if (![0, -1].includes(indexOfEqualsSign)) {
|
36
36
|
const [name, value] = [
|
37
|
-
|
38
|
-
|
37
|
+
trimmedLine.substring(0, indexOfEqualsSign).trim(),
|
38
|
+
trimmedLine.substring(indexOfEqualsSign + 1).trim(),
|
39
39
|
];
|
40
40
|
if (value === "") {
|
41
41
|
currentSubSection = name;
|
42
42
|
}
|
43
43
|
else {
|
44
|
+
if (currentSubSection && iniLine.trimStart() === iniLine) {
|
45
|
+
currentSubSection = undefined;
|
46
|
+
}
|
44
47
|
map[currentSection] = map[currentSection] || {};
|
45
48
|
const key = currentSubSection ? [currentSubSection, name].join(loadSharedConfigFiles_1.CONFIG_PREFIX_SEPARATOR) : name;
|
46
49
|
map[currentSection][key] = value;
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import { IniSectionType } from "@smithy/types";
|
2
2
|
import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles";
|
3
|
-
const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w
|
3
|
+
const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@]+)\2$/;
|
4
4
|
const profileNameBlockList = ["__proto__", "profile __proto__"];
|
5
5
|
export const parseIni = (iniData) => {
|
6
6
|
const map = {};
|
7
7
|
let currentSection;
|
8
8
|
let currentSubSection;
|
9
|
-
for (
|
10
|
-
|
11
|
-
const isSection =
|
9
|
+
for (const iniLine of iniData.split(/\r?\n/)) {
|
10
|
+
const trimmedLine = iniLine.split(/(^|\s)[;#]/)[0].trim();
|
11
|
+
const isSection = trimmedLine[0] === "[" && trimmedLine[trimmedLine.length - 1] === "]";
|
12
12
|
if (isSection) {
|
13
13
|
currentSection = undefined;
|
14
14
|
currentSubSection = undefined;
|
15
|
-
const sectionName =
|
15
|
+
const sectionName = trimmedLine.substring(1, trimmedLine.length - 1);
|
16
16
|
const matches = prefixKeyRegex.exec(sectionName);
|
17
17
|
if (matches) {
|
18
18
|
const [, prefix, , name] = matches;
|
@@ -28,16 +28,19 @@ export const parseIni = (iniData) => {
|
|
28
28
|
}
|
29
29
|
}
|
30
30
|
else if (currentSection) {
|
31
|
-
const indexOfEqualsSign =
|
31
|
+
const indexOfEqualsSign = trimmedLine.indexOf("=");
|
32
32
|
if (![0, -1].includes(indexOfEqualsSign)) {
|
33
33
|
const [name, value] = [
|
34
|
-
|
35
|
-
|
34
|
+
trimmedLine.substring(0, indexOfEqualsSign).trim(),
|
35
|
+
trimmedLine.substring(indexOfEqualsSign + 1).trim(),
|
36
36
|
];
|
37
37
|
if (value === "") {
|
38
38
|
currentSubSection = name;
|
39
39
|
}
|
40
40
|
else {
|
41
|
+
if (currentSubSection && iniLine.trimStart() === iniLine) {
|
42
|
+
currentSubSection = undefined;
|
43
|
+
}
|
41
44
|
map[currentSection] = map[currentSection] || {};
|
42
45
|
const key = currentSubSection ? [currentSubSection, name].join(CONFIG_PREFIX_SEPARATOR) : name;
|
43
46
|
map[currentSection][key] = value;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.20",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -22,9 +22,9 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@smithy/config-resolver": "^2.0.
|
26
|
-
"@smithy/credential-provider-imds": "^2.0.
|
27
|
-
"@smithy/node-config-provider": "^2.1.
|
25
|
+
"@smithy/config-resolver": "^2.0.15",
|
26
|
+
"@smithy/credential-provider-imds": "^2.0.17",
|
27
|
+
"@smithy/node-config-provider": "^2.1.2",
|
28
28
|
"@smithy/property-provider": "^2.0.12",
|
29
29
|
"@smithy/smithy-client": "^2.1.11",
|
30
30
|
"@smithy/types": "^2.3.5",
|
package/package.json
CHANGED
@@ -48,10 +48,10 @@
|
|
48
48
|
"@types/node": "^16",
|
49
49
|
"@typescript-eslint/eslint-plugin": "^6",
|
50
50
|
"@typescript-eslint/parser": "^6",
|
51
|
-
"aws-cdk": "^2.101.
|
52
|
-
"aws-cdk-lib": "2.101.
|
53
|
-
"cdk8s": "2.66.
|
54
|
-
"cdk8s-cli": "^2.
|
51
|
+
"aws-cdk": "^2.101.1",
|
52
|
+
"aws-cdk-lib": "2.101.1",
|
53
|
+
"cdk8s": "2.66.12",
|
54
|
+
"cdk8s-cli": "^2.145.0",
|
55
55
|
"constructs": "10.3.0",
|
56
56
|
"eslint": "^8",
|
57
57
|
"eslint-import-resolver-node": "^0.3.9",
|
@@ -73,8 +73,8 @@
|
|
73
73
|
"typescript": "^5.2.2"
|
74
74
|
},
|
75
75
|
"peerDependencies": {
|
76
|
-
"aws-cdk-lib": "^2.101.
|
77
|
-
"cdk8s": "^2.66.
|
76
|
+
"aws-cdk-lib": "^2.101.1",
|
77
|
+
"cdk8s": "^2.66.11",
|
78
78
|
"constructs": "^10.3.0"
|
79
79
|
},
|
80
80
|
"dependencies": {
|
@@ -94,7 +94,7 @@
|
|
94
94
|
"publishConfig": {
|
95
95
|
"access": "public"
|
96
96
|
},
|
97
|
-
"version": "0.0.
|
97
|
+
"version": "0.0.16",
|
98
98
|
"jest": {
|
99
99
|
"testMatch": [
|
100
100
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|