@cdklabs/cdk-ecs-codedeploy 0.0.46 → 0.0.48

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 (30) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/client-codedeploy/package.json +8 -8
  7. package/node_modules/@aws-sdk/client-sso/package.json +6 -6
  8. package/node_modules/@aws-sdk/client-sso-oidc/package.json +6 -6
  9. package/node_modules/@aws-sdk/client-sts/package.json +7 -7
  10. package/node_modules/@aws-sdk/config-resolver/package.json +2 -2
  11. package/node_modules/@aws-sdk/credential-provider-imds/package.json +2 -2
  12. package/node_modules/@aws-sdk/credential-provider-ini/package.json +3 -3
  13. package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
  14. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  15. package/node_modules/@aws-sdk/middleware-retry/package.json +2 -2
  16. package/node_modules/@aws-sdk/node-config-provider/dist-types/fromEnv.d.ts +1 -2
  17. package/node_modules/@aws-sdk/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +1 -1
  18. package/node_modules/@aws-sdk/node-config-provider/package.json +1 -1
  19. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  20. package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +4 -4
  21. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  22. package/node_modules/@aws-sdk/util-utf8-browser/README.md +4 -0
  23. package/node_modules/@aws-sdk/util-utf8-browser/package.json +1 -1
  24. package/node_modules/tslib/modules/index.js +8 -0
  25. package/node_modules/tslib/package.json +1 -1
  26. package/node_modules/tslib/tslib.d.ts +32 -0
  27. package/node_modules/tslib/tslib.es6.js +46 -1
  28. package/node_modules/tslib/tslib.js +54 -1
  29. package/package.json +8 -8
  30. package/node_modules/@aws-sdk/util-utf8-browser/CHANGELOG.md +0 -657
@@ -58,6 +58,38 @@ export declare function __decorate(decorators: Function[], target: any, key?: st
58
58
  */
59
59
  export declare function __param(paramIndex: number, decorator: Function): Function;
60
60
 
61
+ /**
62
+ * Applies decorators to a class or class member, following the native ECMAScript decorator specification.
63
+ * @param ctor For non-field class members, the class constructor. Otherwise, `null`.
64
+ * @param descriptorIn The `PropertyDescriptor` to use when unable to look up the property from `ctor`.
65
+ * @param decorators The decorators to apply
66
+ * @param contextIn The `DecoratorContext` to clone for each decorator application.
67
+ * @param initializers An array of field initializer mutation functions into which new initializers are written.
68
+ * @param extraInitializers An array of extra initializer functions into which new initializers are written.
69
+ */
70
+ export declare function __esDecorate(ctor: Function | null, descriptorIn: object | null, decorators: Function[], contextIn: object, initializers: Function[] | null, extraInitializers: Function[]): void;
71
+
72
+ /**
73
+ * Runs field initializers or extra initializers generated by `__esDecorate`.
74
+ * @param thisArg The `this` argument to use.
75
+ * @param initializers The array of initializers to evaluate.
76
+ * @param value The initial value to pass to the initializers.
77
+ */
78
+ export declare function __runInitializers(thisArg: unknown, initializers: Function[], value?: any): any;
79
+
80
+ /**
81
+ * Converts a computed property name into a `string` or `symbol` value.
82
+ */
83
+ export declare function __propKey(x: any): string | symbol;
84
+
85
+ /**
86
+ * Assigns the name of a function derived from the left-hand side of an assignment.
87
+ * @param f The function to rename.
88
+ * @param name The new name for the function.
89
+ * @param prefix A prefix (such as `"get"` or `"set"`) to insert before the name.
90
+ */
91
+ export declare function __setFunctionName(f: Function, name: string | symbol, prefix?: string): Function;
92
+
61
93
  /**
62
94
  * Creates a decorator that sets metadata.
63
95
  *
@@ -63,6 +63,51 @@ export function __param(paramIndex, decorator) {
63
63
  return function (target, key) { decorator(target, key, paramIndex); }
64
64
  }
65
65
 
66
+ export function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
67
+ function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
68
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
69
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
70
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
71
+ var _, done = false;
72
+ for (var i = decorators.length - 1; i >= 0; i--) {
73
+ var context = {};
74
+ for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
75
+ for (var p in contextIn.access) context.access[p] = contextIn.access[p];
76
+ context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
77
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
78
+ if (kind === "accessor") {
79
+ if (result === void 0) continue;
80
+ if (result === null || typeof result !== "object") throw new TypeError("Object expected");
81
+ if (_ = accept(result.get)) descriptor.get = _;
82
+ if (_ = accept(result.set)) descriptor.set = _;
83
+ if (_ = accept(result.init)) initializers.push(_);
84
+ }
85
+ else if (_ = accept(result)) {
86
+ if (kind === "field") initializers.push(_);
87
+ else descriptor[key] = _;
88
+ }
89
+ }
90
+ if (target) Object.defineProperty(target, contextIn.name, descriptor);
91
+ done = true;
92
+ };
93
+
94
+ export function __runInitializers(thisArg, initializers, value) {
95
+ var useValue = arguments.length > 2;
96
+ for (var i = 0; i < initializers.length; i++) {
97
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
98
+ }
99
+ return useValue ? value : void 0;
100
+ };
101
+
102
+ export function __propKey(x) {
103
+ return typeof x === "symbol" ? x : "".concat(x);
104
+ };
105
+
106
+ export function __setFunctionName(f, name, prefix) {
107
+ if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
108
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
109
+ };
110
+
66
111
  export function __metadata(metadataKey, metadataValue) {
67
112
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
68
113
  }
@@ -195,7 +240,7 @@ export function __asyncGenerator(thisArg, _arguments, generator) {
195
240
  export function __asyncDelegator(o) {
196
241
  var i, p;
197
242
  return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
198
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
243
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
199
244
  }
200
245
 
201
246
  export function __asyncValues(o) {
@@ -18,6 +18,10 @@ var __assign;
18
18
  var __rest;
19
19
  var __decorate;
20
20
  var __param;
21
+ var __esDecorate;
22
+ var __runInitializers;
23
+ var __propKey;
24
+ var __setFunctionName;
21
25
  var __metadata;
22
26
  var __awaiter;
23
27
  var __generator;
@@ -105,6 +109,51 @@ var __createBinding;
105
109
  return function (target, key) { decorator(target, key, paramIndex); }
106
110
  };
107
111
 
112
+ __esDecorate = function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
113
+ function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
114
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
115
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
116
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
117
+ var _, done = false;
118
+ for (var i = decorators.length - 1; i >= 0; i--) {
119
+ var context = {};
120
+ for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
121
+ for (var p in contextIn.access) context.access[p] = contextIn.access[p];
122
+ context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
123
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
124
+ if (kind === "accessor") {
125
+ if (result === void 0) continue;
126
+ if (result === null || typeof result !== "object") throw new TypeError("Object expected");
127
+ if (_ = accept(result.get)) descriptor.get = _;
128
+ if (_ = accept(result.set)) descriptor.set = _;
129
+ if (_ = accept(result.init)) initializers.push(_);
130
+ }
131
+ else if (_ = accept(result)) {
132
+ if (kind === "field") initializers.push(_);
133
+ else descriptor[key] = _;
134
+ }
135
+ }
136
+ if (target) Object.defineProperty(target, contextIn.name, descriptor);
137
+ done = true;
138
+ };
139
+
140
+ __runInitializers = function (thisArg, initializers, value) {
141
+ var useValue = arguments.length > 2;
142
+ for (var i = 0; i < initializers.length; i++) {
143
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
144
+ }
145
+ return useValue ? value : void 0;
146
+ };
147
+
148
+ __propKey = function (x) {
149
+ return typeof x === "symbol" ? x : "".concat(x);
150
+ };
151
+
152
+ __setFunctionName = function (f, name, prefix) {
153
+ if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
154
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
155
+ };
156
+
108
157
  __metadata = function (metadataKey, metadataValue) {
109
158
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
110
159
  };
@@ -237,7 +286,7 @@ var __createBinding;
237
286
  __asyncDelegator = function (o) {
238
287
  var i, p;
239
288
  return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
240
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
289
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
241
290
  };
242
291
 
243
292
  __asyncValues = function (o) {
@@ -294,6 +343,10 @@ var __createBinding;
294
343
  exporter("__rest", __rest);
295
344
  exporter("__decorate", __decorate);
296
345
  exporter("__param", __param);
346
+ exporter("__esDecorate", __esDecorate);
347
+ exporter("__runInitializers", __runInitializers);
348
+ exporter("__propKey", __propKey);
349
+ exporter("__setFunctionName", __setFunctionName);
297
350
  exporter("__metadata", __metadata);
298
351
  exporter("__awaiter", __awaiter);
299
352
  exporter("__generator", __generator);
package/package.json CHANGED
@@ -62,8 +62,8 @@
62
62
  },
63
63
  "devDependencies": {
64
64
  "@aws-cdk/aws-synthetics-alpha": "2.55.1-alpha.0",
65
- "@aws-cdk/integ-tests-alpha": "^2.62.0-alpha.0",
66
- "@types/aws-lambda": "^8.10.109",
65
+ "@aws-cdk/integ-tests-alpha": "^2.62.2-alpha.0",
66
+ "@types/aws-lambda": "^8.10.110",
67
67
  "@types/jest": "^27",
68
68
  "@types/lambda-tester": "^3.6.2",
69
69
  "@types/node": "^14",
@@ -73,9 +73,9 @@
73
73
  "aws-cdk-lib": "2.55.1",
74
74
  "aws-sdk-client-mock": "^2.0.1",
75
75
  "aws-sdk-client-mock-jest": "^2.0.1",
76
- "cdk-nag": "^2.21.73",
76
+ "cdk-nag": "^2.21.75",
77
77
  "constructs": "10.0.5",
78
- "esbuild": "^0.17.4",
78
+ "esbuild": "^0.17.5",
79
79
  "eslint": "^8",
80
80
  "eslint-import-resolver-node": "^0.3.7",
81
81
  "eslint-import-resolver-typescript": "^3.5.3",
@@ -84,12 +84,12 @@
84
84
  "jest-junit": "^13",
85
85
  "jsii": "^1.73.0",
86
86
  "jsii-diff": "^1.73.0",
87
- "jsii-docgen": "^7.0.214",
87
+ "jsii-docgen": "^7.0.216",
88
88
  "jsii-pacmak": "^1.73.0",
89
89
  "json-schema": "^0.4.0",
90
90
  "lambda-tester": "^4.0.1",
91
91
  "npm-check-updates": "^16",
92
- "projen": "0.67.13",
92
+ "projen": "0.67.19",
93
93
  "standard-version": "^9",
94
94
  "ts-jest": "^27",
95
95
  "ts-node": "^10.9.1",
@@ -101,7 +101,7 @@
101
101
  "constructs": "^10.0.5"
102
102
  },
103
103
  "dependencies": {
104
- "@aws-sdk/client-codedeploy": "^3.258.0",
104
+ "@aws-sdk/client-codedeploy": "^3.259.0",
105
105
  "jmespath": "^0.16.0"
106
106
  },
107
107
  "bundledDependencies": [
@@ -119,7 +119,7 @@
119
119
  "publishConfig": {
120
120
  "access": "public"
121
121
  },
122
- "version": "0.0.46",
122
+ "version": "0.0.48",
123
123
  "jest": {
124
124
  "testMatch": [
125
125
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",