@cdklabs/cdk-ecs-codedeploy 0.0.226 → 0.0.227
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/.jsii.tabl.json +1 -1
- package/.projenrc.ts +1 -0
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationRevisionsPaginator.js +2 -23
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationsPaginator.js +2 -23
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentConfigsPaginator.js +2 -23
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentGroupsPaginator.js +2 -23
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentInstancesPaginator.js +2 -23
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentsPaginator.js +2 -23
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListApplicationRevisionsPaginator.js +2 -22
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListApplicationsPaginator.js +2 -22
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentConfigsPaginator.js +2 -22
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentGroupsPaginator.js +2 -22
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentInstancesPaginator.js +2 -22
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentsPaginator.js +2 -22
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListApplicationRevisionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentConfigsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentGroupsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentInstancesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/ListApplicationRevisionsPaginator.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/ListDeploymentConfigsPaginator.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/ListDeploymentGroupsPaginator.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/ListDeploymentInstancesPaginator.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/package.json +6 -5
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +2 -24
- package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +2 -24
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +2 -23
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +2 -23
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sso/package.json +3 -3
- package/node_modules/@aws-sdk/client-sts/package.json +4 -4
- 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-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
- package/package.json +5 -5
- package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js +0 -9
- package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js +0 -47
- package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js +0 -11
- package/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js +0 -4
- package/node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js +0 -42
- package/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js +0 -6
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/index.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/pureJs.d.ts +0 -17
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/pureJs.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/whatwgEncodingApi.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/whatwgEncodingApi.d.ts +0 -2
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toUtf8 = exports.fromUtf8 = void 0;
|
|
4
|
-
const fromUtf8 = (input) => {
|
|
5
|
-
const bytes = [];
|
|
6
|
-
for (let i = 0, len = input.length; i < len; i++) {
|
|
7
|
-
const value = input.charCodeAt(i);
|
|
8
|
-
if (value < 0x80) {
|
|
9
|
-
bytes.push(value);
|
|
10
|
-
}
|
|
11
|
-
else if (value < 0x800) {
|
|
12
|
-
bytes.push((value >> 6) | 0b11000000, (value & 0b111111) | 0b10000000);
|
|
13
|
-
}
|
|
14
|
-
else if (i + 1 < input.length && (value & 0xfc00) === 0xd800 && (input.charCodeAt(i + 1) & 0xfc00) === 0xdc00) {
|
|
15
|
-
const surrogatePair = 0x10000 + ((value & 0b1111111111) << 10) + (input.charCodeAt(++i) & 0b1111111111);
|
|
16
|
-
bytes.push((surrogatePair >> 18) | 0b11110000, ((surrogatePair >> 12) & 0b111111) | 0b10000000, ((surrogatePair >> 6) & 0b111111) | 0b10000000, (surrogatePair & 0b111111) | 0b10000000);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
bytes.push((value >> 12) | 0b11100000, ((value >> 6) & 0b111111) | 0b10000000, (value & 0b111111) | 0b10000000);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
return Uint8Array.from(bytes);
|
|
23
|
-
};
|
|
24
|
-
exports.fromUtf8 = fromUtf8;
|
|
25
|
-
const toUtf8 = (input) => {
|
|
26
|
-
let decoded = "";
|
|
27
|
-
for (let i = 0, len = input.length; i < len; i++) {
|
|
28
|
-
const byte = input[i];
|
|
29
|
-
if (byte < 0x80) {
|
|
30
|
-
decoded += String.fromCharCode(byte);
|
|
31
|
-
}
|
|
32
|
-
else if (0b11000000 <= byte && byte < 0b11100000) {
|
|
33
|
-
const nextByte = input[++i];
|
|
34
|
-
decoded += String.fromCharCode(((byte & 0b11111) << 6) | (nextByte & 0b111111));
|
|
35
|
-
}
|
|
36
|
-
else if (0b11110000 <= byte && byte < 0b101101101) {
|
|
37
|
-
const surrogatePair = [byte, input[++i], input[++i], input[++i]];
|
|
38
|
-
const encoded = "%" + surrogatePair.map((byteValue) => byteValue.toString(16)).join("%");
|
|
39
|
-
decoded += decodeURIComponent(encoded);
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
decoded += String.fromCharCode(((byte & 0b1111) << 12) | ((input[++i] & 0b111111) << 6) | (input[++i] & 0b111111));
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
return decoded;
|
|
46
|
-
};
|
|
47
|
-
exports.toUtf8 = toUtf8;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toUtf8 = exports.fromUtf8 = void 0;
|
|
4
|
-
function fromUtf8(input) {
|
|
5
|
-
return new TextEncoder().encode(input);
|
|
6
|
-
}
|
|
7
|
-
exports.fromUtf8 = fromUtf8;
|
|
8
|
-
function toUtf8(input) {
|
|
9
|
-
return new TextDecoder("utf-8").decode(input);
|
|
10
|
-
}
|
|
11
|
-
exports.toUtf8 = toUtf8;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { fromUtf8 as jsFromUtf8, toUtf8 as jsToUtf8 } from "./pureJs";
|
|
2
|
-
import { fromUtf8 as textEncoderFromUtf8, toUtf8 as textEncoderToUtf8 } from "./whatwgEncodingApi";
|
|
3
|
-
export const fromUtf8 = (input) => typeof TextEncoder === "function" ? textEncoderFromUtf8(input) : jsFromUtf8(input);
|
|
4
|
-
export const toUtf8 = (input) => typeof TextDecoder === "function" ? textEncoderToUtf8(input) : jsToUtf8(input);
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export const fromUtf8 = (input) => {
|
|
2
|
-
const bytes = [];
|
|
3
|
-
for (let i = 0, len = input.length; i < len; i++) {
|
|
4
|
-
const value = input.charCodeAt(i);
|
|
5
|
-
if (value < 0x80) {
|
|
6
|
-
bytes.push(value);
|
|
7
|
-
}
|
|
8
|
-
else if (value < 0x800) {
|
|
9
|
-
bytes.push((value >> 6) | 0b11000000, (value & 0b111111) | 0b10000000);
|
|
10
|
-
}
|
|
11
|
-
else if (i + 1 < input.length && (value & 0xfc00) === 0xd800 && (input.charCodeAt(i + 1) & 0xfc00) === 0xdc00) {
|
|
12
|
-
const surrogatePair = 0x10000 + ((value & 0b1111111111) << 10) + (input.charCodeAt(++i) & 0b1111111111);
|
|
13
|
-
bytes.push((surrogatePair >> 18) | 0b11110000, ((surrogatePair >> 12) & 0b111111) | 0b10000000, ((surrogatePair >> 6) & 0b111111) | 0b10000000, (surrogatePair & 0b111111) | 0b10000000);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
bytes.push((value >> 12) | 0b11100000, ((value >> 6) & 0b111111) | 0b10000000, (value & 0b111111) | 0b10000000);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return Uint8Array.from(bytes);
|
|
20
|
-
};
|
|
21
|
-
export const toUtf8 = (input) => {
|
|
22
|
-
let decoded = "";
|
|
23
|
-
for (let i = 0, len = input.length; i < len; i++) {
|
|
24
|
-
const byte = input[i];
|
|
25
|
-
if (byte < 0x80) {
|
|
26
|
-
decoded += String.fromCharCode(byte);
|
|
27
|
-
}
|
|
28
|
-
else if (0b11000000 <= byte && byte < 0b11100000) {
|
|
29
|
-
const nextByte = input[++i];
|
|
30
|
-
decoded += String.fromCharCode(((byte & 0b11111) << 6) | (nextByte & 0b111111));
|
|
31
|
-
}
|
|
32
|
-
else if (0b11110000 <= byte && byte < 0b101101101) {
|
|
33
|
-
const surrogatePair = [byte, input[++i], input[++i], input[++i]];
|
|
34
|
-
const encoded = "%" + surrogatePair.map((byteValue) => byteValue.toString(16)).join("%");
|
|
35
|
-
decoded += decodeURIComponent(encoded);
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
decoded += String.fromCharCode(((byte & 0b1111) << 12) | ((input[++i] & 0b111111) << 6) | (input[++i] & 0b111111));
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
return decoded;
|
|
42
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts a JS string from its native UCS-2/UTF-16 representation into a
|
|
3
|
-
* Uint8Array of the bytes used to represent the equivalent characters in UTF-8.
|
|
4
|
-
*
|
|
5
|
-
* Cribbed from the `goog.crypt.stringToUtf8ByteArray` function in the Google
|
|
6
|
-
* Closure library, though updated to use typed arrays.
|
|
7
|
-
*/
|
|
8
|
-
export declare const fromUtf8: (input: string) => Uint8Array;
|
|
9
|
-
/**
|
|
10
|
-
* Converts a typed array of bytes containing UTF-8 data into a native JS
|
|
11
|
-
* string.
|
|
12
|
-
*
|
|
13
|
-
* Partly cribbed from the `goog.crypt.utf8ByteArrayToString` function in the
|
|
14
|
-
* Google Closure library, though updated to use typed arrays and to better
|
|
15
|
-
* handle astral plane code points.
|
|
16
|
-
*/
|
|
17
|
-
export declare const toUtf8: (input: Uint8Array) => string;
|