@cdklabs/cdk-ecs-codedeploy 0.0.351 → 0.0.353

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 (36) 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 +36 -36
  7. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  8. package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
  9. package/node_modules/@aws-sdk/client-sts/package.json +34 -34
  10. package/node_modules/@aws-sdk/core/package.json +10 -10
  11. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  12. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  13. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  14. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  15. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  16. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  17. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  18. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  19. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  20. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  21. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  22. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  23. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  24. package/node_modules/@aws-sdk/types/package.json +2 -2
  25. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  26. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  27. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  28. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  29. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +22 -34
  30. package/node_modules/@smithy/smithy-client/dist-es/lazy-json.js +22 -31
  31. package/node_modules/@smithy/smithy-client/dist-types/lazy-json.d.ts +34 -15
  32. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/lazy-json.d.ts +34 -15
  33. package/node_modules/@smithy/smithy-client/package.json +1 -1
  34. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  35. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  36. package/package.json +3 -3
@@ -1,24 +1,43 @@
1
1
  /**
2
- * Lazy String holder for JSON typed contents.
3
- */
4
- interface StringWrapper {
5
- new (arg: any): String;
6
- }
7
- /**
8
- * Because of https://github.com/microsoft/tslib/issues/95,
9
- * TS 'extends' shim doesn't support extending native types like String.
10
- * So here we create StringWrapper that duplicate everything from String
11
- * class including its prototype chain. So we can extend from here.
2
+ * @public
12
3
  *
13
- * @internal
4
+ * A model field with this type means that you may provide a JavaScript
5
+ * object in lieu of a JSON string, and it will be serialized to JSON
6
+ * automatically before being sent in a request.
7
+ *
8
+ * For responses, you will receive a "LazyJsonString", which is a boxed String object
9
+ * with additional mixin methods.
10
+ * To get the string value, call `.toString()`, or to get the JSON object value,
11
+ * call `.deserializeJSON()` or parse it yourself.
14
12
  */
15
- export declare const StringWrapper: StringWrapper;
13
+ export type AutomaticJsonStringConversion = Parameters<typeof JSON.stringify>[0] | LazyJsonString;
16
14
  /**
17
15
  * @internal
16
+ *
18
17
  */
19
- export declare class LazyJsonString extends StringWrapper {
18
+ export interface LazyJsonString extends String {
19
+ new (s: string): typeof LazyJsonString;
20
+ /**
21
+ * @returns the JSON parsing of the string value.
22
+ */
20
23
  deserializeJSON(): any;
24
+ /**
25
+ * @returns the original string value rather than a JSON.stringified value.
26
+ */
21
27
  toJSON(): string;
22
- static fromObject(object: any): LazyJsonString;
23
28
  }
24
- export {};
29
+ /**
30
+ * @internal
31
+ *
32
+ * Extension of the native String class in the previous implementation
33
+ * has negative global performance impact on method dispatch for strings,
34
+ * and is generally discouraged.
35
+ *
36
+ * This current implementation may look strange, but is necessary to preserve the interface and
37
+ * behavior of extending the String class.
38
+ */
39
+ export declare function LazyJsonString(val: string): void;
40
+ export declare namespace LazyJsonString {
41
+ var from: (object: any) => LazyJsonString;
42
+ var fromObject: (object: any) => LazyJsonString;
43
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "3.4.6",
3
+ "version": "3.5.0",
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",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "3.0.29",
3
+ "version": "3.0.30",
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",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
26
  "@smithy/property-provider": "^3.1.11",
27
- "@smithy/smithy-client": "^3.4.6",
27
+ "@smithy/smithy-client": "^3.5.0",
28
28
  "@smithy/types": "^3.7.2",
29
29
  "bowser": "^2.11.0",
30
30
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "3.0.29",
3
+ "version": "3.0.30",
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",
@@ -27,7 +27,7 @@
27
27
  "@smithy/credential-provider-imds": "^3.2.8",
28
28
  "@smithy/node-config-provider": "^3.1.12",
29
29
  "@smithy/property-provider": "^3.1.11",
30
- "@smithy/smithy-client": "^3.4.6",
30
+ "@smithy/smithy-client": "^3.5.0",
31
31
  "@smithy/types": "^3.7.2",
32
32
  "tslib": "^2.6.2"
33
33
  },
package/package.json CHANGED
@@ -83,7 +83,7 @@
83
83
  "aws-cdk-lib": "2.139.0",
84
84
  "aws-sdk-client-mock": "^4.1.0",
85
85
  "aws-sdk-client-mock-jest": "^4.1.0",
86
- "cdk-nag": "^2.34.19",
86
+ "cdk-nag": "^2.34.21",
87
87
  "cdklabs-projen-project-types": "^0.1.204",
88
88
  "commit-and-tag-version": "^12",
89
89
  "constructs": "10.0.5",
@@ -109,7 +109,7 @@
109
109
  "constructs": "^10.0.5"
110
110
  },
111
111
  "dependencies": {
112
- "@aws-sdk/client-codedeploy": "^3.699.0",
112
+ "@aws-sdk/client-codedeploy": "^3.709.0",
113
113
  "jmespath": "^0.16.0"
114
114
  },
115
115
  "bundledDependencies": [
@@ -127,7 +127,7 @@
127
127
  "publishConfig": {
128
128
  "access": "public"
129
129
  },
130
- "version": "0.0.351",
130
+ "version": "0.0.353",
131
131
  "jest": {
132
132
  "coverageProvider": "v8",
133
133
  "testMatch": [