@cdklabs/cdk-ecs-codedeploy 0.0.226 → 0.0.228

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/.jsii +4 -4
  2. package/.jsii.tabl.json +1 -1
  3. package/.projenrc.ts +1 -0
  4. package/lib/api-canary/code-bundling.js +2 -2
  5. package/lib/api-canary/index.js +1 -1
  6. package/lib/ecs-appspec/index.js +1 -1
  7. package/lib/ecs-deployment/index.js +1 -1
  8. package/lib/ecs-deployment-provider/is-complete.lambda.js +2 -2
  9. package/lib/ecs-deployment-provider/logger.d.ts +1 -1
  10. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  11. package/lib/ecs-patterns/index.js +7 -3
  12. package/lib/index.js +7 -3
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationRevisionsPaginator.js +2 -23
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListApplicationsPaginator.js +2 -23
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentConfigsPaginator.js +2 -23
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentGroupsPaginator.js +2 -23
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentInstancesPaginator.js +2 -23
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/pagination/ListDeploymentsPaginator.js +2 -23
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListApplicationRevisionsPaginator.js +2 -22
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListApplicationsPaginator.js +2 -22
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentConfigsPaginator.js +2 -22
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentGroupsPaginator.js +2 -22
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentInstancesPaginator.js +2 -22
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-es/pagination/ListDeploymentsPaginator.js +2 -22
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListApplicationRevisionsPaginator.d.ts +1 -1
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentConfigsPaginator.d.ts +1 -1
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentGroupsPaginator.d.ts +1 -1
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentInstancesPaginator.d.ts +1 -1
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-types/pagination/ListDeploymentsPaginator.d.ts +1 -1
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/ListApplicationRevisionsPaginator.d.ts +3 -3
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +3 -3
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/ListDeploymentConfigsPaginator.d.ts +3 -3
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/ListDeploymentGroupsPaginator.d.ts +3 -3
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/ListDeploymentInstancesPaginator.d.ts +3 -3
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +3 -3
  37. package/node_modules/@aws-sdk/client-codedeploy/package.json +6 -5
  38. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +2 -24
  39. package/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +2 -24
  40. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +2 -23
  41. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +2 -23
  42. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +1 -1
  43. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +1 -1
  44. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +3 -3
  45. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +3 -3
  46. package/node_modules/@aws-sdk/client-sso/package.json +3 -3
  47. package/node_modules/@aws-sdk/client-sts/package.json +4 -4
  48. package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
  49. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  50. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  51. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  52. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  53. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +3 -0
  54. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +3 -0
  55. package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
  56. package/node_modules/@smithy/core/package.json +3 -3
  57. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  58. package/node_modules/@smithy/smithy-client/dist-cjs/command.js +108 -0
  59. package/node_modules/@smithy/smithy-client/dist-es/command.js +108 -0
  60. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +104 -1
  61. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +104 -1
  62. package/node_modules/@smithy/smithy-client/package.json +3 -1
  63. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  64. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  65. package/package.json +8 -12
  66. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js +0 -9
  67. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js +0 -47
  68. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js +0 -11
  69. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js +0 -4
  70. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js +0 -42
  71. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js +0 -6
  72. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/index.d.ts +0 -2
  73. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/pureJs.d.ts +0 -17
  74. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/index.d.ts +0 -2
  75. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/pureJs.d.ts +0 -2
  76. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/whatwgEncodingApi.d.ts +0 -2
  77. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/whatwgEncodingApi.d.ts +0 -2
package/package.json CHANGED
@@ -76,27 +76,27 @@
76
76
  "@types/aws-lambda": "^8.10.130",
77
77
  "@types/jest": "^27",
78
78
  "@types/lambda-tester": "^3.6.2",
79
- "@types/node": "^16",
79
+ "@types/node": "^18",
80
80
  "@typescript-eslint/eslint-plugin": "^6",
81
81
  "@typescript-eslint/parser": "^6",
82
82
  "aws-cdk": "^2",
83
83
  "aws-cdk-lib": "2.110.0",
84
84
  "aws-sdk-client-mock": "^3.0.0",
85
85
  "aws-sdk-client-mock-jest": "^3.0.0",
86
- "cdk-nag": "^2.27.220",
87
- "cdklabs-projen-project-types": "^0.1.182",
86
+ "cdk-nag": "^2.27.221",
87
+ "cdklabs-projen-project-types": "^0.1.183",
88
88
  "constructs": "10.0.5",
89
- "esbuild": "^0.19.9",
89
+ "esbuild": "^0.19.10",
90
90
  "eslint": "^8",
91
91
  "eslint-import-resolver-typescript": "^3.6.1",
92
92
  "eslint-plugin-import": "^2.29.1",
93
93
  "jest": "^27",
94
94
  "jest-junit": "^15",
95
- "jsii": "1.x",
95
+ "jsii": "~5.2",
96
96
  "jsii-diff": "^1.93.0",
97
97
  "jsii-docgen": "^7.2.9",
98
98
  "jsii-pacmak": "^1.93.0",
99
- "jsii-rosetta": "^5.2.7",
99
+ "jsii-rosetta": "^5.3.0",
100
100
  "lambda-tester": "^4.0.1",
101
101
  "projen": "0.77.6",
102
102
  "standard-version": "^9",
@@ -109,17 +109,13 @@
109
109
  "constructs": "^10.0.5"
110
110
  },
111
111
  "dependencies": {
112
- "@aws-sdk/client-codedeploy": "^3.477.0",
112
+ "@aws-sdk/client-codedeploy": "^3.478.0",
113
113
  "jmespath": "^0.16.0"
114
114
  },
115
115
  "bundledDependencies": [
116
116
  "@aws-sdk/client-codedeploy",
117
117
  "jmespath"
118
118
  ],
119
- "resolutions": {
120
- "@types/babel__traverse": "7.18.2",
121
- "@types/prettier": "2.6.0"
122
- },
123
119
  "keywords": [
124
120
  "aws",
125
121
  "cdk",
@@ -131,7 +127,7 @@
131
127
  "publishConfig": {
132
128
  "access": "public"
133
129
  },
134
- "version": "0.0.226",
130
+ "version": "0.0.228",
135
131
  "jest": {
136
132
  "testMatch": [
137
133
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toUtf8 = exports.fromUtf8 = void 0;
4
- const pureJs_1 = require("./pureJs");
5
- const whatwgEncodingApi_1 = require("./whatwgEncodingApi");
6
- const fromUtf8 = (input) => typeof TextEncoder === "function" ? (0, whatwgEncodingApi_1.fromUtf8)(input) : (0, pureJs_1.fromUtf8)(input);
7
- exports.fromUtf8 = fromUtf8;
8
- const toUtf8 = (input) => typeof TextDecoder === "function" ? (0, whatwgEncodingApi_1.toUtf8)(input) : (0, pureJs_1.toUtf8)(input);
9
- exports.toUtf8 = toUtf8;
@@ -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,6 +0,0 @@
1
- export function fromUtf8(input) {
2
- return new TextEncoder().encode(input);
3
- }
4
- export function toUtf8(input) {
5
- return new TextDecoder("utf-8").decode(input);
6
- }
@@ -1,2 +0,0 @@
1
- export declare const fromUtf8: (input: string) => Uint8Array;
2
- export declare const toUtf8: (input: Uint8Array) => string;
@@ -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;
@@ -1,2 +0,0 @@
1
- export declare const fromUtf8: (input: string) => Uint8Array;
2
- export declare const toUtf8: (input: Uint8Array) => string;
@@ -1,2 +0,0 @@
1
- export declare const fromUtf8: (input: string) => Uint8Array;
2
- export declare const toUtf8: (input: Uint8Array) => string;
@@ -1,2 +0,0 @@
1
- export declare function fromUtf8(input: string): Uint8Array;
2
- export declare function toUtf8(input: Uint8Array): string;
@@ -1,2 +0,0 @@
1
- export declare function fromUtf8(input: string): Uint8Array;
2
- export declare function toUtf8(input: Uint8Array): string;