cdk-ecr-deployment 3.0.95 → 3.0.97

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 (21) hide show
  1. package/.jsii +2 -2
  2. package/lib/index.js +3 -3
  3. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  4. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +17 -10
  5. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +93 -8
  6. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  7. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +262 -23
  8. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +21 -12
  9. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  10. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +17 -10
  11. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +93 -8
  12. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  13. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +262 -23
  14. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +21 -12
  15. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  16. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +17 -10
  17. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +93 -8
  18. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  19. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +262 -23
  20. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +21 -12
  21. package/package.json +4 -4
@@ -484,32 +484,36 @@ declare module "node:test" {
484
484
  readonly assert: TestContextAssert;
485
485
  /**
486
486
  * This function is used to create a hook running before subtest of the current test.
487
- * @param fn The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
487
+ * @param fn The hook function. The first argument to this function is a `TestContext` object.
488
+ * If the hook uses callbacks, the callback function is passed as the second argument.
488
489
  * @param options Configuration options for the hook.
489
- * @since v20.1.0
490
+ * @since v20.1.0, v18.17.0
490
491
  */
491
- before: typeof before;
492
+ before(fn?: TestContextHookFn, options?: HookOptions): void;
492
493
  /**
493
494
  * This function is used to create a hook running before each subtest of the current test.
494
- * @param fn The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
495
+ * @param fn The hook function. The first argument to this function is a `TestContext` object.
496
+ * If the hook uses callbacks, the callback function is passed as the second argument.
495
497
  * @param options Configuration options for the hook.
496
498
  * @since v18.8.0
497
499
  */
498
- beforeEach: typeof beforeEach;
500
+ beforeEach(fn?: TestContextHookFn, options?: HookOptions): void;
499
501
  /**
500
502
  * This function is used to create a hook that runs after the current test finishes.
501
- * @param fn The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
503
+ * @param fn The hook function. The first argument to this function is a `TestContext` object.
504
+ * If the hook uses callbacks, the callback function is passed as the second argument.
502
505
  * @param options Configuration options for the hook.
503
506
  * @since v18.13.0
504
507
  */
505
- after: typeof after;
508
+ after(fn?: TestContextHookFn, options?: HookOptions): void;
506
509
  /**
507
510
  * This function is used to create a hook running after each subtest of the current test.
508
- * @param fn The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
511
+ * @param fn The hook function. The first argument to this function is a `TestContext` object.
512
+ * If the hook uses callbacks, the callback function is passed as the second argument.
509
513
  * @param options Configuration options for the hook.
510
514
  * @since v18.8.0
511
515
  */
512
- afterEach: typeof afterEach;
516
+ afterEach(fn?: TestContextHookFn, options?: HookOptions): void;
513
517
  /**
514
518
  * This function is used to write diagnostics to the output. Any diagnostic
515
519
  * information is included at the end of the test's results. This function does
@@ -880,10 +884,15 @@ declare module "node:test" {
880
884
  */
881
885
  function afterEach(fn?: HookFn, options?: HookOptions): void;
882
886
  /**
883
- * The hook function. If the hook uses callbacks, the callback function is passed as the
884
- * second argument.
887
+ * The hook function. The first argument is the context in which the hook is called.
888
+ * If the hook uses callbacks, the callback function is passed as the second argument.
885
889
  */
886
- type HookFn = (s: SuiteContext, done: (result?: any) => void) => any;
890
+ type HookFn = (c: TestContext | SuiteContext, done: (result?: any) => void) => any;
891
+ /**
892
+ * The hook function. The first argument is a `TestContext` object.
893
+ * If the hook uses callbacks, the callback function is passed as the second argument.
894
+ */
895
+ type TestContextHookFn = (t: TestContext, done: (result?: any) => void) => any;
887
896
  /**
888
897
  * Configuration options for hooks.
889
898
  * @since v18.8.0
package/package.json CHANGED
@@ -58,11 +58,11 @@
58
58
  "jest": "^27",
59
59
  "jest-junit": "^15",
60
60
  "jsii": "5.1.x",
61
- "jsii-diff": "^1.103.0",
61
+ "jsii-diff": "^1.103.1",
62
62
  "jsii-docgen": "^10.5.0",
63
- "jsii-pacmak": "^1.103.0",
63
+ "jsii-pacmak": "^1.103.1",
64
64
  "jsii-rosetta": "^5.5.3",
65
- "projen": "^0.86.5",
65
+ "projen": "^0.86.6",
66
66
  "ts-jest": "^27",
67
67
  "ts-node": "^10.9.2",
68
68
  "typescript": "^4.9.5"
@@ -93,7 +93,7 @@
93
93
  "publishConfig": {
94
94
  "access": "public"
95
95
  },
96
- "version": "3.0.95",
96
+ "version": "3.0.97",
97
97
  "jest": {
98
98
  "coverageProvider": "v8",
99
99
  "testMatch": [