aws-delivlib 15.0.5 → 15.0.7

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.9.tgz#a4c3a446c0ebaaf467a58398382616f416345fb3",
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.15.27.tgz#b99cd64129c4c85a69edca903af9b3aa72c3b4f7",
55
+ "@types/node@*": "https://registry.yarnpkg.com/@types/node/-/node-22.15.29.tgz#c75999124a8224a3f79dd8b6ccfb37d74098f678",
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: Fri, 30 May 2025 05:02:50 GMT
11
+ * Last updated: Fri, 30 May 2025 18:40:02 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -297,7 +297,12 @@ declare module "diagnostics_channel" {
297
297
  * @param thisArg The receiver to be used for the function call.
298
298
  * @param args Optional arguments to pass to the function.
299
299
  */
300
- runStores(): void;
300
+ runStores<ThisArg = any, Args extends any[] = any[], Result = any>(
301
+ context: ContextType,
302
+ fn: (this: ThisArg, ...args: Args) => Result,
303
+ thisArg?: ThisArg,
304
+ ...args: Args
305
+ ): Result;
301
306
  }
302
307
  interface TracingChannelSubscribers<ContextType extends object> {
303
308
  start: (message: ContextType) => void;
@@ -441,12 +446,12 @@ declare module "diagnostics_channel" {
441
446
  * @param args Optional arguments to pass to the function
442
447
  * @return The return value of the given function
443
448
  */
444
- traceSync<ThisArg = any, Args extends any[] = any[]>(
445
- fn: (this: ThisArg, ...args: Args) => any,
449
+ traceSync<ThisArg = any, Args extends any[] = any[], Result = any>(
450
+ fn: (this: ThisArg, ...args: Args) => Result,
446
451
  context?: ContextType,
447
452
  thisArg?: ThisArg,
448
453
  ...args: Args
449
- ): void;
454
+ ): Result;
450
455
  /**
451
456
  * Trace a promise-returning function call. This will always produce a `start event` and `end event` around the synchronous portion of the
452
457
  * function execution, and will produce an `asyncStart event` and `asyncEnd event` when a promise continuation is reached. It may also
@@ -476,12 +481,12 @@ declare module "diagnostics_channel" {
476
481
  * @param args Optional arguments to pass to the function
477
482
  * @return Chained from promise returned by the given function
478
483
  */
479
- tracePromise<ThisArg = any, Args extends any[] = any[]>(
480
- fn: (this: ThisArg, ...args: Args) => Promise<any>,
484
+ tracePromise<ThisArg = any, Args extends any[] = any[], Result = any>(
485
+ fn: (this: ThisArg, ...args: Args) => Promise<Result>,
481
486
  context?: ContextType,
482
487
  thisArg?: ThisArg,
483
488
  ...args: Args
484
- ): void;
489
+ ): Promise<Result>;
485
490
  /**
486
491
  * Trace a callback-receiving function call. This will always produce a `start event` and `end event` around the synchronous portion of the
487
492
  * function execution, and will produce a `asyncStart event` and `asyncEnd event` around the callback execution. It may also produce an `error event` if the given function throws an error or
@@ -540,13 +545,13 @@ declare module "diagnostics_channel" {
540
545
  * @param args Optional arguments to pass to the function
541
546
  * @return The return value of the given function
542
547
  */
543
- traceCallback<Fn extends (this: any, ...args: any[]) => any>(
544
- fn: Fn,
548
+ traceCallback<ThisArg = any, Args extends any[] = any[], Result = any>(
549
+ fn: (this: ThisArg, ...args: Args) => Result,
545
550
  position?: number,
546
551
  context?: ContextType,
547
- thisArg?: any,
548
- ...args: Parameters<Fn>
549
- ): void;
552
+ thisArg?: ThisArg,
553
+ ...args: Args
554
+ ): Result;
550
555
  /**
551
556
  * `true` if any of the individual channels has a subscriber, `false` if not.
552
557
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.15.27",
3
+ "version": "22.15.29",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -220,6 +220,6 @@
220
220
  "undici-types": "~6.21.0"
221
221
  },
222
222
  "peerDependencies": {},
223
- "typesPublisherContentHash": "b9177cabc8a459c3570f9577c085dbfdc96e40f78ed41af33c674c3696a4e277",
223
+ "typesPublisherContentHash": "98b7a6aabffc6588a0865305b51b9dd48e81a270354b592630e8d37772f1f57a",
224
224
  "typeScriptVersion": "5.1"
225
225
  }
@@ -56,6 +56,11 @@ declare module "vm" {
56
56
  */
57
57
  columnOffset?: number | undefined;
58
58
  }
59
+ type DynamicModuleLoader<T> = (
60
+ specifier: string,
61
+ referrer: T,
62
+ importAttributes: ImportAttributes,
63
+ ) => Module | Promise<Module>;
59
64
  interface ScriptOptions extends BaseOptions {
60
65
  /**
61
66
  * Provides an optional data with V8's code cache data for the supplied source.
@@ -69,7 +74,7 @@ declare module "vm" {
69
74
  * [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
75
  */
71
76
  importModuleDynamically?:
72
- | ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module | Promise<Module>)
77
+ | DynamicModuleLoader<Script>
73
78
  | typeof constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
74
79
  | undefined;
75
80
  }
@@ -114,14 +119,30 @@ declare module "vm" {
114
119
  * Provides an optional data with V8's code cache data for the supplied source.
115
120
  */
116
121
  cachedData?: ScriptOptions["cachedData"] | undefined;
117
- importModuleDynamically?: ScriptOptions["importModuleDynamically"];
122
+ /**
123
+ * Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
124
+ * part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
125
+ * [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
126
+ */
127
+ importModuleDynamically?:
128
+ | DynamicModuleLoader<Script>
129
+ | typeof constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
130
+ | undefined;
118
131
  }
119
132
  interface RunningCodeInNewContextOptions extends RunningScriptInNewContextOptions {
120
133
  /**
121
134
  * Provides an optional data with V8's code cache data for the supplied source.
122
135
  */
123
136
  cachedData?: ScriptOptions["cachedData"] | undefined;
124
- importModuleDynamically?: ScriptOptions["importModuleDynamically"];
137
+ /**
138
+ * Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
139
+ * part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
140
+ * [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
141
+ */
142
+ importModuleDynamically?:
143
+ | DynamicModuleLoader<Script>
144
+ | typeof constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
145
+ | undefined;
125
146
  }
126
147
  interface CompileFunctionOptions extends BaseOptions {
127
148
  /**
@@ -141,6 +162,15 @@ declare module "vm" {
141
162
  * An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling
142
163
  */
143
164
  contextExtensions?: Object[] | undefined;
165
+ /**
166
+ * Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
167
+ * part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
168
+ * [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
169
+ */
170
+ importModuleDynamically?:
171
+ | DynamicModuleLoader<ReturnType<typeof compileFunction>>
172
+ | typeof constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
173
+ | undefined;
144
174
  }
145
175
  interface CreateContextOptions {
146
176
  /**
@@ -175,6 +205,15 @@ declare module "vm" {
175
205
  * If set to `afterEvaluate`, microtasks will be run immediately after the script has run.
176
206
  */
177
207
  microtaskMode?: "afterEvaluate" | undefined;
208
+ /**
209
+ * Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
210
+ * part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
211
+ * [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
212
+ */
213
+ importModuleDynamically?:
214
+ | DynamicModuleLoader<Context>
215
+ | typeof constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
216
+ | undefined;
178
217
  }
179
218
  type MeasureMemoryMode = "summary" | "detailed";
180
219
  interface MeasureMemoryOptions {
@@ -865,13 +904,12 @@ declare module "vm" {
865
904
  * Called during evaluation of this module to initialize the `import.meta`.
866
905
  */
867
906
  initializeImportMeta?: ((meta: ImportMeta, module: SourceTextModule) => void) | undefined;
868
- importModuleDynamically?:
869
- | ((
870
- specifier: string,
871
- referrer: SourceTextModule,
872
- importAttributes: ImportAttributes,
873
- ) => Module | Promise<Module>)
874
- | undefined;
907
+ /**
908
+ * Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
909
+ * part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
910
+ * [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
911
+ */
912
+ importModuleDynamically?: DynamicModuleLoader<SourceTextModule> | undefined;
875
913
  }
876
914
  /**
877
915
  * This feature is only available with the `--experimental-vm-modules` command
package/package.json CHANGED
@@ -37,11 +37,11 @@
37
37
  "organization": false
38
38
  },
39
39
  "devDependencies": {
40
- "@aws-sdk/client-cloudwatch": "^3.817.0",
41
- "@aws-sdk/client-codepipeline": "^3.817.0",
42
- "@aws-sdk/client-s3": "^3.820.0",
43
- "@aws-sdk/client-secrets-manager": "^3.817.0",
44
- "@aws-sdk/client-ssm": "^3.817.0",
40
+ "@aws-sdk/client-cloudwatch": "^3.821.0",
41
+ "@aws-sdk/client-codepipeline": "^3.821.0",
42
+ "@aws-sdk/client-s3": "^3.821.0",
43
+ "@aws-sdk/client-secrets-manager": "^3.821.0",
44
+ "@aws-sdk/client-ssm": "^3.821.0",
45
45
  "@stylistic/eslint-plugin": "^2",
46
46
  "@types/adm-zip": "^0.5.7",
47
47
  "@types/aws-lambda": "^8.10.149",
@@ -53,7 +53,7 @@
53
53
  "@typescript-eslint/eslint-plugin": "^8",
54
54
  "@typescript-eslint/parser": "^8",
55
55
  "adm-zip": "^0.5.16",
56
- "aws-cdk": "2.1017.0",
56
+ "aws-cdk": "2.1017.1",
57
57
  "aws-cdk-lib": "2.187.0",
58
58
  "commit-and-tag-version": "^12",
59
59
  "constructs": "10.1.31",
@@ -97,7 +97,7 @@
97
97
  "publishConfig": {
98
98
  "access": "public"
99
99
  },
100
- "version": "15.0.5",
100
+ "version": "15.0.7",
101
101
  "jest": {
102
102
  "coverageProvider": "v8",
103
103
  "testMatch": [