cdk-common 2.0.342 → 2.0.344

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 (23) hide show
  1. package/.jsii +3 -3
  2. package/lib/main.js +1 -1
  3. package/node_modules/@aws-cdk/assert/lib/assertions/have-resource-matchers.d.ts +1 -1
  4. package/node_modules/@aws-cdk/assert/lib/assertions/have-resource-matchers.js +2 -2
  5. package/node_modules/@aws-cdk/assert/package.json +8 -8
  6. package/node_modules/@aws-cdk/cfnspec/CHANGELOG.md +194 -0
  7. package/node_modules/@aws-cdk/cfnspec/build-tools/create-missing-libraries.js +1 -2
  8. package/node_modules/@aws-cdk/cfnspec/build-tools/update.sh +0 -3
  9. package/node_modules/@aws-cdk/cfnspec/cfn.version +1 -1
  10. package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics/README.md +1 -1
  11. package/node_modules/@aws-cdk/cfnspec/package.json +3 -3
  12. package/node_modules/@aws-cdk/cfnspec/spec/specification.json +772 -38
  13. package/node_modules/@aws-cdk/cfnspec/tsconfig.tsbuildinfo +2 -2
  14. package/node_modules/@aws-cdk/cloudformation-diff/package.json +4 -4
  15. package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +1 -1
  16. package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +2 -2
  17. package/node_modules/@types/concat-stream/node_modules/@types/node/timers/promises.d.ts +25 -0
  18. package/node_modules/@types/concat-stream/node_modules/@types/node/ts4.8/timers/promises.d.ts +25 -0
  19. package/node_modules/@types/form-data/node_modules/@types/node/README.md +1 -1
  20. package/node_modules/@types/form-data/node_modules/@types/node/package.json +2 -2
  21. package/node_modules/@types/form-data/node_modules/@types/node/timers/promises.d.ts +25 -0
  22. package/node_modules/@types/form-data/node_modules/@types/node/ts4.8/timers/promises.d.ts +25 -0
  23. package/package.json +3 -3
@@ -813,7 +813,7 @@
813
813
  "affectsGlobalScope": false
814
814
  },
815
815
  "../../../tools/@aws-cdk/pkglint/lib/rules.ts": {
816
- "version": "e2b3a11649f714f5e8b69af73b1a9a1235c06cec87b70980ad4559c4fbe86b00",
816
+ "version": "edfe09cd4b6c28d3516ba7e6c41ca35b4bec4dedb8a6324b8298e1acaabd8a93",
817
817
  "affectsGlobalScope": false
818
818
  },
819
819
  "../../../tools/@aws-cdk/pkglint/lib/library-creation.ts": {
@@ -826,7 +826,7 @@
826
826
  "affectsGlobalScope": false
827
827
  },
828
828
  "./build-tools/create-missing-libraries.ts": {
829
- "version": "fde25f7960269f0ecd3942a9b308ae3261f5bee77712b34f831e1637588ab2ef",
829
+ "version": "9701780bfed993bd1c143100e9451e52cf63962b5cb330b2f29dc5133933d143",
830
830
  "signature": "6f1c2a556d1d2d8c71593583b8ef8417639193f852d07a6a08e99fe3d1ee5785",
831
831
  "affectsGlobalScope": false
832
832
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/cloudformation-diff",
3
- "version": "2.53.0",
3
+ "version": "2.54.0",
4
4
  "description": "Utilities to diff CDK stacks against CloudFormation templates",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-cdk/cfnspec": "2.53.0",
26
+ "@aws-cdk/cfnspec": "2.54.0",
27
27
  "@types/node": "^14.18.33",
28
28
  "chalk": "^4",
29
29
  "diff": "^5.1.0",
@@ -32,8 +32,8 @@
32
32
  "table": "^6.8.1"
33
33
  },
34
34
  "devDependencies": {
35
- "@aws-cdk/cdk-build-tools": "2.53.0",
36
- "@aws-cdk/pkglint": "2.53.0",
35
+ "@aws-cdk/cdk-build-tools": "2.54.0",
36
+ "@aws-cdk/pkglint": "2.54.0",
37
37
  "@types/jest": "^27.5.2",
38
38
  "@types/string-width": "^4.0.1",
39
39
  "fast-check": "^2.25.0",
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 05 Dec 2022 20:03:09 GMT
11
+ * Last updated: Thu, 08 Dec 2022 19:33:07 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.11.11",
3
+ "version": "18.11.12",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -227,6 +227,6 @@
227
227
  },
228
228
  "scripts": {},
229
229
  "dependencies": {},
230
- "typesPublisherContentHash": "057c6b97c8a23237ad2b26df389f38a6113c4a771786da504498887439222982",
230
+ "typesPublisherContentHash": "2ed250cec160c67c38316dcb3b85ce697b127871af3e4202c93f1e00d50af82c",
231
231
  "typeScriptVersion": "4.2"
232
232
  }
@@ -62,6 +62,31 @@ declare module 'timers/promises' {
62
62
  * @since v15.9.0
63
63
  */
64
64
  function setInterval<T = void>(delay?: number, value?: T, options?: TimerOptions): AsyncIterable<T>;
65
+
66
+ interface Scheduler {
67
+ /**
68
+ * ```js
69
+ * import { scheduler } from 'node:timers/promises';
70
+ *
71
+ * await scheduler.wait(1000); // Wait one second before continuing
72
+ * ```
73
+ * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API.
74
+ * Calling timersPromises.scheduler.wait(delay, options) is roughly equivalent to calling timersPromises.setTimeout(delay, undefined, options) except that the ref option is not supported.
75
+ * @since v16.14.0
76
+ * @experimental
77
+ * @param [delay=1] The number of milliseconds to wait before fulfilling the promise.
78
+ */
79
+ wait: (delay?: number, options?: TimerOptions) => Promise<void>;
80
+ /**
81
+ * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API.
82
+ * Calling timersPromises.scheduler.yield() is equivalent to calling timersPromises.setImmediate() with no arguments.
83
+ * @since v16.14.0
84
+ * @experimental
85
+ */
86
+ yield: () => Promise<void>;
87
+ }
88
+
89
+ const scheduler: Scheduler;
65
90
  }
66
91
  declare module 'node:timers/promises' {
67
92
  export * from 'timers/promises';
@@ -62,6 +62,31 @@ declare module 'timers/promises' {
62
62
  * @since v15.9.0
63
63
  */
64
64
  function setInterval<T = void>(delay?: number, value?: T, options?: TimerOptions): AsyncIterable<T>;
65
+
66
+ interface Scheduler {
67
+ /**
68
+ * ```js
69
+ * import { scheduler } from 'node:timers/promises';
70
+ *
71
+ * await scheduler.wait(1000); // Wait one second before continuing
72
+ * ```
73
+ * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API.
74
+ * Calling timersPromises.scheduler.wait(delay, options) is roughly equivalent to calling timersPromises.setTimeout(delay, undefined, options) except that the ref option is not supported.
75
+ * @since v16.14.0
76
+ * @experimental
77
+ * @param [delay=1] The number of milliseconds to wait before fulfilling the promise.
78
+ */
79
+ wait: (delay?: number, options?: TimerOptions) => Promise<void>;
80
+ /**
81
+ * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API.
82
+ * Calling timersPromises.scheduler.yield() is equivalent to calling timersPromises.setImmediate() with no arguments.
83
+ * @since v16.14.0
84
+ * @experimental
85
+ */
86
+ yield: () => Promise<void>;
87
+ }
88
+
89
+ const scheduler: Scheduler;
65
90
  }
66
91
  declare module 'node:timers/promises' {
67
92
  export * from 'timers/promises';
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 05 Dec 2022 20:03:09 GMT
11
+ * Last updated: Thu, 08 Dec 2022 19:33:07 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.11.11",
3
+ "version": "18.11.12",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -227,6 +227,6 @@
227
227
  },
228
228
  "scripts": {},
229
229
  "dependencies": {},
230
- "typesPublisherContentHash": "057c6b97c8a23237ad2b26df389f38a6113c4a771786da504498887439222982",
230
+ "typesPublisherContentHash": "2ed250cec160c67c38316dcb3b85ce697b127871af3e4202c93f1e00d50af82c",
231
231
  "typeScriptVersion": "4.2"
232
232
  }
@@ -62,6 +62,31 @@ declare module 'timers/promises' {
62
62
  * @since v15.9.0
63
63
  */
64
64
  function setInterval<T = void>(delay?: number, value?: T, options?: TimerOptions): AsyncIterable<T>;
65
+
66
+ interface Scheduler {
67
+ /**
68
+ * ```js
69
+ * import { scheduler } from 'node:timers/promises';
70
+ *
71
+ * await scheduler.wait(1000); // Wait one second before continuing
72
+ * ```
73
+ * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API.
74
+ * Calling timersPromises.scheduler.wait(delay, options) is roughly equivalent to calling timersPromises.setTimeout(delay, undefined, options) except that the ref option is not supported.
75
+ * @since v16.14.0
76
+ * @experimental
77
+ * @param [delay=1] The number of milliseconds to wait before fulfilling the promise.
78
+ */
79
+ wait: (delay?: number, options?: TimerOptions) => Promise<void>;
80
+ /**
81
+ * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API.
82
+ * Calling timersPromises.scheduler.yield() is equivalent to calling timersPromises.setImmediate() with no arguments.
83
+ * @since v16.14.0
84
+ * @experimental
85
+ */
86
+ yield: () => Promise<void>;
87
+ }
88
+
89
+ const scheduler: Scheduler;
65
90
  }
66
91
  declare module 'node:timers/promises' {
67
92
  export * from 'timers/promises';
@@ -62,6 +62,31 @@ declare module 'timers/promises' {
62
62
  * @since v15.9.0
63
63
  */
64
64
  function setInterval<T = void>(delay?: number, value?: T, options?: TimerOptions): AsyncIterable<T>;
65
+
66
+ interface Scheduler {
67
+ /**
68
+ * ```js
69
+ * import { scheduler } from 'node:timers/promises';
70
+ *
71
+ * await scheduler.wait(1000); // Wait one second before continuing
72
+ * ```
73
+ * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API.
74
+ * Calling timersPromises.scheduler.wait(delay, options) is roughly equivalent to calling timersPromises.setTimeout(delay, undefined, options) except that the ref option is not supported.
75
+ * @since v16.14.0
76
+ * @experimental
77
+ * @param [delay=1] The number of milliseconds to wait before fulfilling the promise.
78
+ */
79
+ wait: (delay?: number, options?: TimerOptions) => Promise<void>;
80
+ /**
81
+ * An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API.
82
+ * Calling timersPromises.scheduler.yield() is equivalent to calling timersPromises.setImmediate() with no arguments.
83
+ * @since v16.14.0
84
+ * @experimental
85
+ */
86
+ yield: () => Promise<void>;
87
+ }
88
+
89
+ const scheduler: Scheduler;
65
90
  }
66
91
  declare module 'node:timers/promises' {
67
92
  export * from 'timers/promises';
package/package.json CHANGED
@@ -55,7 +55,7 @@
55
55
  "jsii-pacmak": "^1.72.0",
56
56
  "json-schema": "^0.4.0",
57
57
  "npm-check-updates": "^16",
58
- "projen": "0.65.48",
58
+ "projen": "0.65.50",
59
59
  "standard-version": "^9",
60
60
  "ts-jest": "^27",
61
61
  "typescript": "3.9.10"
@@ -65,7 +65,7 @@
65
65
  "constructs": "^10.0.5"
66
66
  },
67
67
  "dependencies": {
68
- "@aws-cdk/assert": "^2.53.0",
68
+ "@aws-cdk/assert": "^2.54.0",
69
69
  "case": "^1.6.3",
70
70
  "sync-request": "^6.1.0"
71
71
  },
@@ -83,7 +83,7 @@
83
83
  ],
84
84
  "main": "lib/index.js",
85
85
  "license": "Apache-2.0",
86
- "version": "2.0.342",
86
+ "version": "2.0.344",
87
87
  "jest": {
88
88
  "testMatch": [
89
89
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",