@cdklabs/cdk-ecs-codedeploy 0.0.283 → 0.0.284

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 (48) hide show
  1. package/.jsii +3 -3
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/api-canary/index.js +1 -1
  4. package/lib/ecs-appspec/index.js +1 -1
  5. package/lib/ecs-deployment/index.js +1 -1
  6. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  7. package/node_modules/@smithy/config-resolver/package.json +2 -2
  8. package/node_modules/@smithy/core/README.md +35 -2
  9. package/node_modules/@smithy/core/package.json +19 -6
  10. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +30 -22
  11. package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +17 -6
  12. package/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +11 -9
  13. package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
  14. package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
  15. package/node_modules/@smithy/middleware-retry/package.json +3 -3
  16. package/node_modules/@smithy/node-config-provider/dist-cjs/getSelectorName.js +1 -0
  17. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +21 -3
  18. package/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js +3 -2
  19. package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -2
  20. package/node_modules/@smithy/node-config-provider/dist-es/getSelectorName.js +12 -0
  21. package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +2 -2
  22. package/node_modules/@smithy/node-config-provider/dist-types/getSelectorName.d.ts +9 -0
  23. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +2 -2
  24. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts +9 -0
  25. package/node_modules/@smithy/node-config-provider/package.json +3 -3
  26. package/node_modules/@smithy/property-provider/dist-cjs/index.js +28 -10
  27. package/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +2 -3
  28. package/node_modules/@smithy/property-provider/dist-es/ProviderError.js +15 -4
  29. package/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +2 -3
  30. package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +16 -3
  31. package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +25 -3
  32. package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +16 -3
  33. package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +16 -3
  34. package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +25 -3
  35. package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +16 -3
  36. package/node_modules/@smithy/property-provider/package.json +1 -1
  37. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +5 -1
  38. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +5 -1
  39. package/node_modules/@smithy/shared-ini-file-loader/package.json +1 -1
  40. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +3 -0
  41. package/node_modules/@smithy/smithy-client/dist-es/ser-utils.js +1 -0
  42. package/node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts +5 -0
  43. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts +5 -0
  44. package/node_modules/@smithy/smithy-client/package.json +2 -2
  45. package/node_modules/@smithy/util-defaults-mode-browser/package.json +3 -3
  46. package/node_modules/@smithy/util-defaults-mode-node/package.json +6 -6
  47. package/node_modules/@smithy/util-endpoints/package.json +2 -2
  48. package/package.json +6 -5
@@ -65,6 +65,7 @@ __export(src_exports, {
65
65
  parseRfc7231DateTime: () => parseRfc7231DateTime,
66
66
  resolveDefaultRuntimeConfig: () => resolveDefaultRuntimeConfig,
67
67
  resolvedPath: () => resolvedPath,
68
+ serializeDateTime: () => serializeDateTime,
68
69
  serializeFloat: () => serializeFloat,
69
70
  splitEvery: () => splitEvery,
70
71
  strictParseByte: () => strictParseByte,
@@ -1141,6 +1142,7 @@ var serializeFloat = /* @__PURE__ */ __name((value) => {
1141
1142
  return value;
1142
1143
  }
1143
1144
  }, "serializeFloat");
1145
+ var serializeDateTime = /* @__PURE__ */ __name((date) => date.toISOString().replace(".000Z", "Z"), "serializeDateTime");
1144
1146
 
1145
1147
  // src/serde-json.ts
1146
1148
  var _json = /* @__PURE__ */ __name((obj) => {
@@ -1250,6 +1252,7 @@ __name(splitEvery, "splitEvery");
1250
1252
  logger,
1251
1253
  resolvedPath,
1252
1254
  serializeFloat,
1255
+ serializeDateTime,
1253
1256
  _json,
1254
1257
  splitEvery
1255
1258
  });
@@ -11,3 +11,4 @@ export const serializeFloat = (value) => {
11
11
  return value;
12
12
  }
13
13
  };
14
+ export const serializeDateTime = (date) => date.toISOString().replace(".000Z", "Z");
@@ -7,3 +7,8 @@
7
7
  * @returns A number, or a string if the given number was non-numeric.
8
8
  */
9
9
  export declare const serializeFloat: (value: number) => string | number;
10
+ /**
11
+ * @param date - to be serialized.
12
+ * @returns https://smithy.io/2.0/spec/protocol-traits.html#timestampformat-trait date-time format.
13
+ */
14
+ export declare const serializeDateTime: (date: Date) => string;
@@ -7,3 +7,8 @@
7
7
  * @returns A number, or a string if the given number was non-numeric.
8
8
  */
9
9
  export declare const serializeFloat: (value: number) => string | number;
10
+ /**
11
+ * @param date - to be serialized.
12
+ * @returns https://smithy.io/2.0/spec/protocol-traits.html#timestampformat-trait date-time format.
13
+ */
14
+ export declare const serializeDateTime: (date: Date) => string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "3.0.1",
3
+ "version": "3.1.1",
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",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@smithy/middleware-endpoint": "^3.0.0",
26
+ "@smithy/middleware-endpoint": "^3.0.1",
27
27
  "@smithy/middleware-stack": "^3.0.0",
28
28
  "@smithy/protocol-http": "^4.0.0",
29
29
  "@smithy/types": "^3.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
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",
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/property-provider": "^3.0.0",
26
- "@smithy/smithy-client": "^3.0.1",
25
+ "@smithy/property-provider": "^3.1.0",
26
+ "@smithy/smithy-client": "^3.1.1",
27
27
  "@smithy/types": "^3.0.0",
28
28
  "bowser": "^2.11.0",
29
29
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
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",
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@smithy/config-resolver": "^3.0.0",
26
- "@smithy/credential-provider-imds": "^3.0.0",
27
- "@smithy/node-config-provider": "^3.0.0",
28
- "@smithy/property-provider": "^3.0.0",
29
- "@smithy/smithy-client": "^3.0.1",
25
+ "@smithy/config-resolver": "^3.0.1",
26
+ "@smithy/credential-provider-imds": "^3.1.0",
27
+ "@smithy/node-config-provider": "^3.1.0",
28
+ "@smithy/property-provider": "^3.1.0",
29
+ "@smithy/smithy-client": "^3.1.1",
30
30
  "@smithy/types": "^3.0.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-endpoints",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Utilities to help with endpoint resolution.",
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": "^3.0.0",
29
+ "@smithy/node-config-provider": "^3.1.0",
30
30
  "@smithy/types": "^3.0.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
package/package.json CHANGED
@@ -83,10 +83,10 @@
83
83
  "aws-cdk-lib": "2.131.0",
84
84
  "aws-sdk-client-mock": "^4.0.0",
85
85
  "aws-sdk-client-mock-jest": "^4.0.0",
86
- "cdk-nag": "^2.28.121",
86
+ "cdk-nag": "^2.28.127",
87
87
  "cdklabs-projen-project-types": "^0.1.196",
88
88
  "constructs": "10.0.5",
89
- "esbuild": "^0.21.3",
89
+ "esbuild": "^0.21.4",
90
90
  "eslint": "^8",
91
91
  "eslint-import-resolver-typescript": "^3.6.1",
92
92
  "eslint-plugin-import": "^2.29.1",
@@ -96,9 +96,9 @@
96
96
  "jsii-diff": "^1.98.0",
97
97
  "jsii-docgen": "^7.2.9",
98
98
  "jsii-pacmak": "^1.98.0",
99
- "jsii-rosetta": "^5.4.19",
99
+ "jsii-rosetta": "^5.4.20",
100
100
  "lambda-tester": "^4.0.1",
101
- "projen": "0.81.15",
101
+ "projen": "0.82.2",
102
102
  "standard-version": "^9",
103
103
  "ts-jest": "^27",
104
104
  "ts-node": "^10.9.2",
@@ -127,8 +127,9 @@
127
127
  "publishConfig": {
128
128
  "access": "public"
129
129
  },
130
- "version": "0.0.283",
130
+ "version": "0.0.284",
131
131
  "jest": {
132
+ "coverageProvider": "v8",
132
133
  "testMatch": [
133
134
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",
134
135
  "<rootDir>/@(test|src)/**/*(*.)@(spec|test).ts?(x)"