aws-delivlib 14.15.23 → 14.15.25

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.
@@ -52,7 +52,7 @@
52
52
  "@types/changelog-parser@^2.8.1": "https://registry.yarnpkg.com/@types/changelog-parser/-/changelog-parser-2.8.4.tgz#45d70417e742ac3bc6bef3786aa453e1f1d63ecc",
53
53
  "@types/jsonwebtoken@^9.0.0": "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-9.0.8.tgz#313490052801edfb031bb32b6bbd77cc9f230852",
54
54
  "@types/ms@*": "https://registry.yarnpkg.com/@types/ms/-/ms-2.1.0.tgz#052aa67a48eccc4309d7f0191b7e41434b90bb78",
55
- "@types/node@*": "https://registry.yarnpkg.com/@types/node/-/node-22.13.1.tgz#a2a3fefbdeb7ba6b89f40371842162fac0934f33",
55
+ "@types/node@*": "https://registry.yarnpkg.com/@types/node/-/node-22.13.4.tgz#3fe454d77cd4a2d73c214008b3e331bfaaf5038a",
56
56
  "@types/node@^14": "https://registry.yarnpkg.com/@types/node/-/node-14.18.63.tgz#1788fa8da838dbb5f9ea994b834278205db6ca2b",
57
57
  "aggregate-error@^3.1.0": "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a",
58
58
  "before-after-hook@^2.2.0": "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.3.tgz#c51e809c81a4e354084422b9b26bad88249c517c",
@@ -8,7 +8,7 @@ This package contains type definitions for node (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: Tue, 04 Feb 2025 00:04:06 GMT
11
+ * Last updated: Thu, 13 Feb 2025 22:34:15 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -1068,6 +1068,7 @@ declare module "assert" {
1068
1068
  | "deepStrictEqual"
1069
1069
  | "ifError"
1070
1070
  | "strict"
1071
+ | "AssertionError"
1071
1072
  >
1072
1073
  & {
1073
1074
  (value: unknown, message?: string | Error): asserts value;
@@ -1083,6 +1084,7 @@ declare module "assert" {
1083
1084
  deepStrictEqual: typeof deepStrictEqual;
1084
1085
  ifError: typeof ifError;
1085
1086
  strict: typeof strict;
1087
+ AssertionError: typeof AssertionError;
1086
1088
  };
1087
1089
  }
1088
1090
  export = assert;
@@ -127,6 +127,13 @@ declare module "module" {
127
127
  * directory if it is enabled, or `undefined` otherwise.
128
128
  */
129
129
  function getCompileCacheDir(): string | undefined;
130
+ /**
131
+ * @since v23.2.0, v22.14.0
132
+ */
133
+ function findPackageJSON(
134
+ specifier: string | URL,
135
+ base?: string | URL,
136
+ ): undefined | string;
130
137
  /**
131
138
  * @since v18.6.0, v16.17.0
132
139
  */
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.13.1",
3
+ "version": "22.13.4",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -215,6 +215,6 @@
215
215
  "undici-types": "~6.20.0"
216
216
  },
217
217
  "peerDependencies": {},
218
- "typesPublisherContentHash": "69beac9c1e8d5c691e08c1b951885f67e08f6bcf26d648d5619edb1143add9fe",
218
+ "typesPublisherContentHash": "dc164d6e72b86dd792e2033448f0a31cec674ea22fb6cbaf0dc05885f4337473",
219
219
  "typeScriptVersion": "5.0"
220
220
  }
@@ -981,7 +981,12 @@ declare module "stream" {
981
981
  * @since v17.0.0
982
982
  * @experimental
983
983
  */
984
- static toWeb(streamReadable: Readable): streamWeb.ReadableStream;
984
+ static toWeb(
985
+ streamReadable: Readable,
986
+ options?: {
987
+ strategy?: streamWeb.QueuingStrategy | undefined;
988
+ },
989
+ ): streamWeb.ReadableStream;
985
990
  }
986
991
  interface WritableOptions extends StreamOptions<Writable> {
987
992
  decodeStrings?: boolean | undefined;
@@ -564,6 +564,23 @@ declare module "node:test" {
564
564
  /**
565
565
  * An object containing assertion methods bound to the test context.
566
566
  * The top-level functions from the `node:assert` module are exposed here for the purpose of creating test plans.
567
+ *
568
+ * **Note:** Some of the functions from `node:assert` contain type assertions. If these are called via the
569
+ * TestContext `assert` object, then the context parameter in the test's function signature **must be explicitly typed**
570
+ * (ie. the parameter must have a type annotation), otherwise an error will be raised by the TypeScript compiler:
571
+ * ```ts
572
+ * import { test, type TestContext } from 'node:test';
573
+ *
574
+ * // The test function's context parameter must have a type annotation.
575
+ * test('example', (t: TestContext) => {
576
+ * t.assert.deepStrictEqual(actual, expected);
577
+ * });
578
+ *
579
+ * // Omitting the type annotation will result in a compilation error.
580
+ * test('example', t => {
581
+ * t.assert.deepStrictEqual(actual, expected); // Error: 't' needs an explicit type annotation.
582
+ * });
583
+ * ```
567
584
  * @since v22.2.0, v20.15.0
568
585
  */
569
586
  readonly assert: TestContextAssert;
@@ -741,139 +758,29 @@ declare module "node:test" {
741
758
  */
742
759
  readonly mock: MockTracker;
743
760
  }
744
- interface TestContextAssert {
745
- /**
746
- * Identical to the `deepEqual` function from the `node:assert` module, but bound to the test context.
747
- */
748
- deepEqual: typeof import("node:assert").deepEqual;
749
- /**
750
- * Identical to the `deepStrictEqual` function from the `node:assert` module, but bound to the test context.
751
- *
752
- * **Note:** as this method returns a type assertion, the context parameter in the callback signature must have a
753
- * type annotation, otherwise an error will be raised by the TypeScript compiler:
754
- * ```ts
755
- * import { test, type TestContext } from 'node:test';
756
- *
757
- * // The test function's context parameter must have a type annotation.
758
- * test('example', (t: TestContext) => {
759
- * t.assert.deepStrictEqual(actual, expected);
760
- * });
761
- *
762
- * // Omitting the type annotation will result in a compilation error.
763
- * test('example', t => {
764
- * t.assert.deepStrictEqual(actual, expected); // Error: 't' needs an explicit type annotation.
765
- * });
766
- * ```
767
- */
768
- deepStrictEqual: typeof import("node:assert").deepStrictEqual;
769
- /**
770
- * Identical to the `doesNotMatch` function from the `node:assert` module, but bound to the test context.
771
- */
772
- doesNotMatch: typeof import("node:assert").doesNotMatch;
773
- /**
774
- * Identical to the `doesNotReject` function from the `node:assert` module, but bound to the test context.
775
- */
776
- doesNotReject: typeof import("node:assert").doesNotReject;
777
- /**
778
- * Identical to the `doesNotThrow` function from the `node:assert` module, but bound to the test context.
779
- */
780
- doesNotThrow: typeof import("node:assert").doesNotThrow;
781
- /**
782
- * Identical to the `equal` function from the `node:assert` module, but bound to the test context.
783
- */
784
- equal: typeof import("node:assert").equal;
785
- /**
786
- * Identical to the `fail` function from the `node:assert` module, but bound to the test context.
787
- */
788
- fail: typeof import("node:assert").fail;
789
- /**
790
- * Identical to the `ifError` function from the `node:assert` module, but bound to the test context.
791
- *
792
- * **Note:** as this method returns a type assertion, the context parameter in the callback signature must have a
793
- * type annotation, otherwise an error will be raised by the TypeScript compiler:
794
- * ```ts
795
- * import { test, type TestContext } from 'node:test';
796
- *
797
- * // The test function's context parameter must have a type annotation.
798
- * test('example', (t: TestContext) => {
799
- * t.assert.ifError(err);
800
- * });
801
- *
802
- * // Omitting the type annotation will result in a compilation error.
803
- * test('example', t => {
804
- * t.assert.ifError(err); // Error: 't' needs an explicit type annotation.
805
- * });
806
- * ```
807
- */
808
- ifError: typeof import("node:assert").ifError;
809
- /**
810
- * Identical to the `match` function from the `node:assert` module, but bound to the test context.
811
- */
812
- match: typeof import("node:assert").match;
813
- /**
814
- * Identical to the `notDeepEqual` function from the `node:assert` module, but bound to the test context.
815
- */
816
- notDeepEqual: typeof import("node:assert").notDeepEqual;
817
- /**
818
- * Identical to the `notDeepStrictEqual` function from the `node:assert` module, but bound to the test context.
819
- */
820
- notDeepStrictEqual: typeof import("node:assert").notDeepStrictEqual;
821
- /**
822
- * Identical to the `notEqual` function from the `node:assert` module, but bound to the test context.
823
- */
824
- notEqual: typeof import("node:assert").notEqual;
825
- /**
826
- * Identical to the `notStrictEqual` function from the `node:assert` module, but bound to the test context.
827
- */
828
- notStrictEqual: typeof import("node:assert").notStrictEqual;
829
- /**
830
- * Identical to the `ok` function from the `node:assert` module, but bound to the test context.
831
- *
832
- * **Note:** as this method returns a type assertion, the context parameter in the callback signature must have a
833
- * type annotation, otherwise an error will be raised by the TypeScript compiler:
834
- * ```ts
835
- * import { test, type TestContext } from 'node:test';
836
- *
837
- * // The test function's context parameter must have a type annotation.
838
- * test('example', (t: TestContext) => {
839
- * t.assert.ok(condition);
840
- * });
841
- *
842
- * // Omitting the type annotation will result in a compilation error.
843
- * test('example', t => {
844
- * t.assert.ok(condition)); // Error: 't' needs an explicit type annotation.
845
- * });
846
- * ```
847
- */
848
- ok: typeof import("node:assert").ok;
849
- /**
850
- * Identical to the `rejects` function from the `node:assert` module, but bound to the test context.
851
- */
852
- rejects: typeof import("node:assert").rejects;
853
- /**
854
- * Identical to the `strictEqual` function from the `node:assert` module, but bound to the test context.
855
- *
856
- * **Note:** as this method returns a type assertion, the context parameter in the callback signature must have a
857
- * type annotation, otherwise an error will be raised by the TypeScript compiler:
858
- * ```ts
859
- * import { test, type TestContext } from 'node:test';
860
- *
861
- * // The test function's context parameter must have a type annotation.
862
- * test('example', (t: TestContext) => {
863
- * t.assert.strictEqual(actual, expected);
864
- * });
865
- *
866
- * // Omitting the type annotation will result in a compilation error.
867
- * test('example', t => {
868
- * t.assert.strictEqual(actual, expected); // Error: 't' needs an explicit type annotation.
869
- * });
870
- * ```
871
- */
872
- strictEqual: typeof import("node:assert").strictEqual;
873
- /**
874
- * Identical to the `throws` function from the `node:assert` module, but bound to the test context.
875
- */
876
- throws: typeof import("node:assert").throws;
761
+ interface TestContextAssert extends
762
+ Pick<
763
+ typeof import("assert"),
764
+ | "deepEqual"
765
+ | "deepStrictEqual"
766
+ | "doesNotMatch"
767
+ | "doesNotReject"
768
+ | "doesNotThrow"
769
+ | "equal"
770
+ | "fail"
771
+ | "ifError"
772
+ | "match"
773
+ | "notDeepEqual"
774
+ | "notDeepStrictEqual"
775
+ | "notEqual"
776
+ | "notStrictEqual"
777
+ | "ok"
778
+ | "partialDeepStrictEqual"
779
+ | "rejects"
780
+ | "strictEqual"
781
+ | "throws"
782
+ >
783
+ {
877
784
  /**
878
785
  * This function implements assertions for snapshot testing.
879
786
  * ```js
@@ -69,7 +69,7 @@ declare module "vm" {
69
69
  * [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
70
70
  */
71
71
  importModuleDynamically?:
72
- | ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module)
72
+ | ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module | Promise<Module>)
73
73
  | typeof constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
74
74
  | undefined;
75
75
  }
package/package.json CHANGED
@@ -37,11 +37,11 @@
37
37
  "organization": false
38
38
  },
39
39
  "devDependencies": {
40
- "@aws-sdk/client-cloudwatch": "^3.744.0",
41
- "@aws-sdk/client-codepipeline": "^3.744.0",
42
- "@aws-sdk/client-s3": "^3.744.0",
43
- "@aws-sdk/client-secrets-manager": "^3.744.0",
44
- "@aws-sdk/client-ssm": "^3.744.0",
40
+ "@aws-sdk/client-cloudwatch": "^3.749.0",
41
+ "@aws-sdk/client-codepipeline": "^3.749.0",
42
+ "@aws-sdk/client-s3": "^3.749.0",
43
+ "@aws-sdk/client-secrets-manager": "^3.749.0",
44
+ "@aws-sdk/client-ssm": "^3.749.0",
45
45
  "@stylistic/eslint-plugin": "^2",
46
46
  "@types/adm-zip": "^0.5.7",
47
47
  "@types/aws-lambda": "^8.10.147",
@@ -68,7 +68,7 @@
68
68
  "JSONStream": "^1.3.5",
69
69
  "minipass": "3.2.1",
70
70
  "node-ical": "0.15.1",
71
- "projen": "^0.91.9",
71
+ "projen": "^0.91.10",
72
72
  "rrule": "^2.8.1",
73
73
  "standard-version": "^9",
74
74
  "tar": "^6.2.1",
@@ -97,7 +97,7 @@
97
97
  "publishConfig": {
98
98
  "access": "public"
99
99
  },
100
- "version": "14.15.23",
100
+ "version": "14.15.25",
101
101
  "jest": {
102
102
  "coverageProvider": "v8",
103
103
  "testMatch": [