@alanszp/serverless 12.0.1 → 12.0.3

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 (165) hide show
  1. package/package.json +8 -11
  2. package/.gitignore +0 -3
  3. package/.npmignore +0 -3
  4. package/node_modules/@alanszp/core/.gitignore +0 -3
  5. package/node_modules/@alanszp/core/.npmignore +0 -3
  6. package/node_modules/@alanszp/core/LICENSE +0 -21
  7. package/node_modules/@alanszp/core/dist/app/appIdentifier.d.ts +0 -1
  8. package/node_modules/@alanszp/core/dist/app/appIdentifier.js +0 -10
  9. package/node_modules/@alanszp/core/dist/app/appIdentifier.js.map +0 -1
  10. package/node_modules/@alanszp/core/dist/app/index.d.ts +0 -1
  11. package/node_modules/@alanszp/core/dist/app/index.js +0 -18
  12. package/node_modules/@alanszp/core/dist/app/index.js.map +0 -1
  13. package/node_modules/@alanszp/core/dist/assignKey.d.ts +0 -2
  14. package/node_modules/@alanszp/core/dist/assignKey.js +0 -20
  15. package/node_modules/@alanszp/core/dist/assignKey.js.map +0 -1
  16. package/node_modules/@alanszp/core/dist/editable/index.d.ts +0 -2
  17. package/node_modules/@alanszp/core/dist/editable/index.js +0 -19
  18. package/node_modules/@alanszp/core/dist/editable/index.js.map +0 -1
  19. package/node_modules/@alanszp/core/dist/editable/keepOrUpdate.d.ts +0 -3
  20. package/node_modules/@alanszp/core/dist/editable/keepOrUpdate.js +0 -26
  21. package/node_modules/@alanszp/core/dist/editable/keepOrUpdate.js.map +0 -1
  22. package/node_modules/@alanszp/core/dist/editable/types.d.ts +0 -6
  23. package/node_modules/@alanszp/core/dist/editable/types.js +0 -3
  24. package/node_modules/@alanszp/core/dist/editable/types.js.map +0 -1
  25. package/node_modules/@alanszp/core/dist/index.d.ts +0 -4
  26. package/node_modules/@alanszp/core/dist/index.js +0 -21
  27. package/node_modules/@alanszp/core/dist/index.js.map +0 -1
  28. package/node_modules/@alanszp/core/dist/lists/ListResult.d.ts +0 -7
  29. package/node_modules/@alanszp/core/dist/lists/ListResult.js +0 -8
  30. package/node_modules/@alanszp/core/dist/lists/ListResult.js.map +0 -1
  31. package/node_modules/@alanszp/core/dist/lists/Orderable.d.ts +0 -11
  32. package/node_modules/@alanszp/core/dist/lists/Orderable.js +0 -13
  33. package/node_modules/@alanszp/core/dist/lists/Orderable.js.map +0 -1
  34. package/node_modules/@alanszp/core/dist/lists/Paginable.d.ts +0 -14
  35. package/node_modules/@alanszp/core/dist/lists/Paginable.js +0 -22
  36. package/node_modules/@alanszp/core/dist/lists/Paginable.js.map +0 -1
  37. package/node_modules/@alanszp/core/dist/lists/index.d.ts +0 -3
  38. package/node_modules/@alanszp/core/dist/lists/index.js +0 -20
  39. package/node_modules/@alanszp/core/dist/lists/index.js.map +0 -1
  40. package/node_modules/@alanszp/core/package.json +0 -25
  41. package/node_modules/@alanszp/core/tsconfig.json +0 -15
  42. package/node_modules/@types/node/LICENSE +0 -21
  43. package/node_modules/@types/node/README.md +0 -15
  44. package/node_modules/@types/node/assert/strict.d.ts +0 -8
  45. package/node_modules/@types/node/assert.d.ts +0 -996
  46. package/node_modules/@types/node/async_hooks.d.ts +0 -539
  47. package/node_modules/@types/node/buffer.d.ts +0 -2362
  48. package/node_modules/@types/node/child_process.d.ts +0 -1540
  49. package/node_modules/@types/node/cluster.d.ts +0 -432
  50. package/node_modules/@types/node/console.d.ts +0 -415
  51. package/node_modules/@types/node/constants.d.ts +0 -19
  52. package/node_modules/@types/node/crypto.d.ts +0 -4487
  53. package/node_modules/@types/node/dgram.d.ts +0 -596
  54. package/node_modules/@types/node/diagnostics_channel.d.ts +0 -545
  55. package/node_modules/@types/node/dns/promises.d.ts +0 -425
  56. package/node_modules/@types/node/dns.d.ts +0 -809
  57. package/node_modules/@types/node/dom-events.d.ts +0 -122
  58. package/node_modules/@types/node/domain.d.ts +0 -170
  59. package/node_modules/@types/node/events.d.ts +0 -879
  60. package/node_modules/@types/node/fs/promises.d.ts +0 -1239
  61. package/node_modules/@types/node/fs.d.ts +0 -4311
  62. package/node_modules/@types/node/globals.d.ts +0 -411
  63. package/node_modules/@types/node/globals.global.d.ts +0 -1
  64. package/node_modules/@types/node/http.d.ts +0 -1887
  65. package/node_modules/@types/node/http2.d.ts +0 -2382
  66. package/node_modules/@types/node/https.d.ts +0 -550
  67. package/node_modules/@types/node/index.d.ts +0 -88
  68. package/node_modules/@types/node/inspector.d.ts +0 -2747
  69. package/node_modules/@types/node/module.d.ts +0 -315
  70. package/node_modules/@types/node/net.d.ts +0 -949
  71. package/node_modules/@types/node/os.d.ts +0 -478
  72. package/node_modules/@types/node/package.json +0 -229
  73. package/node_modules/@types/node/path.d.ts +0 -191
  74. package/node_modules/@types/node/perf_hooks.d.ts +0 -645
  75. package/node_modules/@types/node/process.d.ts +0 -1561
  76. package/node_modules/@types/node/punycode.d.ts +0 -117
  77. package/node_modules/@types/node/querystring.d.ts +0 -141
  78. package/node_modules/@types/node/readline/promises.d.ts +0 -150
  79. package/node_modules/@types/node/readline.d.ts +0 -539
  80. package/node_modules/@types/node/repl.d.ts +0 -430
  81. package/node_modules/@types/node/stream/consumers.d.ts +0 -12
  82. package/node_modules/@types/node/stream/promises.d.ts +0 -83
  83. package/node_modules/@types/node/stream/web.d.ts +0 -366
  84. package/node_modules/@types/node/stream.d.ts +0 -1701
  85. package/node_modules/@types/node/string_decoder.d.ts +0 -67
  86. package/node_modules/@types/node/test.d.ts +0 -1465
  87. package/node_modules/@types/node/timers/promises.d.ts +0 -93
  88. package/node_modules/@types/node/timers.d.ts +0 -240
  89. package/node_modules/@types/node/tls.d.ts +0 -1210
  90. package/node_modules/@types/node/trace_events.d.ts +0 -182
  91. package/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  92. package/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  93. package/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  94. package/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  95. package/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  96. package/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  97. package/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  98. package/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  99. package/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4487
  100. package/node_modules/@types/node/ts4.8/dgram.d.ts +0 -596
  101. package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -545
  102. package/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  103. package/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  104. package/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  105. package/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  106. package/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  107. package/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  108. package/node_modules/@types/node/ts4.8/fs.d.ts +0 -4311
  109. package/node_modules/@types/node/ts4.8/globals.d.ts +0 -411
  110. package/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  111. package/node_modules/@types/node/ts4.8/http.d.ts +0 -1887
  112. package/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  113. package/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  114. package/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  115. package/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  116. package/node_modules/@types/node/ts4.8/module.d.ts +0 -315
  117. package/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  118. package/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  119. package/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  120. package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -645
  121. package/node_modules/@types/node/ts4.8/process.d.ts +0 -1561
  122. package/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  123. package/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  124. package/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  125. package/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  126. package/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  127. package/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  128. package/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  129. package/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -366
  130. package/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  131. package/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  132. package/node_modules/@types/node/ts4.8/test.d.ts +0 -1465
  133. package/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  134. package/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  135. package/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  136. package/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  137. package/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  138. package/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  139. package/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  140. package/node_modules/@types/node/ts4.8/v8.d.ts +0 -764
  141. package/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  142. package/node_modules/@types/node/ts4.8/wasi.d.ts +0 -179
  143. package/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  144. package/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  145. package/node_modules/@types/node/tty.d.ts +0 -208
  146. package/node_modules/@types/node/url.d.ts +0 -927
  147. package/node_modules/@types/node/util.d.ts +0 -2183
  148. package/node_modules/@types/node/v8.d.ts +0 -764
  149. package/node_modules/@types/node/vm.d.ts +0 -903
  150. package/node_modules/@types/node/wasi.d.ts +0 -179
  151. package/node_modules/@types/node/worker_threads.d.ts +0 -691
  152. package/node_modules/@types/node/zlib.d.ts +0 -517
  153. package/src/errors/index.ts +0 -1
  154. package/src/errors/splitCouldNotLoadError.ts +0 -5
  155. package/src/handlers/index.ts +0 -1
  156. package/src/handlers/wrappers/index.ts +0 -1
  157. package/src/handlers/wrappers/withContext.ts +0 -34
  158. package/src/index.ts +0 -5
  159. package/src/middlewares/index.ts +0 -2
  160. package/src/middlewares/initializeDBMiddleware.ts +0 -22
  161. package/src/middlewares/initializeSplitMiddleware.ts +0 -23
  162. package/src/middlewares/withAuditLogMiddleware.ts +0 -23
  163. package/src/types/index.ts +0 -2
  164. package/src/types/lambda.ts +0 -6
  165. package/src/types/middyTypes.ts +0 -10
@@ -1,315 +0,0 @@
1
- /**
2
- * @since v0.3.7
3
- * @experimental
4
- */
5
- declare module "module" {
6
- import { URL } from "node:url";
7
- import { MessagePort } from "node:worker_threads";
8
- namespace Module {
9
- /**
10
- * The `module.syncBuiltinESMExports()` method updates all the live bindings for
11
- * builtin `ES Modules` to match the properties of the `CommonJS` exports. It
12
- * does not add or remove exported names from the `ES Modules`.
13
- *
14
- * ```js
15
- * const fs = require('node:fs');
16
- * const assert = require('node:assert');
17
- * const { syncBuiltinESMExports } = require('node:module');
18
- *
19
- * fs.readFile = newAPI;
20
- *
21
- * delete fs.readFileSync;
22
- *
23
- * function newAPI() {
24
- * // ...
25
- * }
26
- *
27
- * fs.newAPI = newAPI;
28
- *
29
- * syncBuiltinESMExports();
30
- *
31
- * import('node:fs').then((esmFS) => {
32
- * // It syncs the existing readFile property with the new value
33
- * assert.strictEqual(esmFS.readFile, newAPI);
34
- * // readFileSync has been deleted from the required fs
35
- * assert.strictEqual('readFileSync' in fs, false);
36
- * // syncBuiltinESMExports() does not remove readFileSync from esmFS
37
- * assert.strictEqual('readFileSync' in esmFS, true);
38
- * // syncBuiltinESMExports() does not add names
39
- * assert.strictEqual(esmFS.newAPI, undefined);
40
- * });
41
- * ```
42
- * @since v12.12.0
43
- */
44
- function syncBuiltinESMExports(): void;
45
- /**
46
- * `path` is the resolved path for the file for which a corresponding source map
47
- * should be fetched.
48
- * @since v13.7.0, v12.17.0
49
- * @return Returns `module.SourceMap` if a source map is found, `undefined` otherwise.
50
- */
51
- function findSourceMap(path: string, error?: Error): SourceMap;
52
- interface SourceMapPayload {
53
- file: string;
54
- version: number;
55
- sources: string[];
56
- sourcesContent: string[];
57
- names: string[];
58
- mappings: string;
59
- sourceRoot: string;
60
- }
61
- interface SourceMapping {
62
- generatedLine: number;
63
- generatedColumn: number;
64
- originalSource: string;
65
- originalLine: number;
66
- originalColumn: number;
67
- }
68
- interface SourceOrigin {
69
- /**
70
- * The name of the range in the source map, if one was provided
71
- */
72
- name?: string;
73
- /**
74
- * The file name of the original source, as reported in the SourceMap
75
- */
76
- fileName: string;
77
- /**
78
- * The 1-indexed lineNumber of the corresponding call site in the original source
79
- */
80
- lineNumber: number;
81
- /**
82
- * The 1-indexed columnNumber of the corresponding call site in the original source
83
- */
84
- columnNumber: number;
85
- }
86
- /**
87
- * @since v13.7.0, v12.17.0
88
- */
89
- class SourceMap {
90
- /**
91
- * Getter for the payload used to construct the `SourceMap` instance.
92
- */
93
- readonly payload: SourceMapPayload;
94
- constructor(payload: SourceMapPayload);
95
- /**
96
- * Given a line offset and column offset in the generated source
97
- * file, returns an object representing the SourceMap range in the
98
- * original file if found, or an empty object if not.
99
- *
100
- * The object returned contains the following keys:
101
- *
102
- * The returned value represents the raw range as it appears in the
103
- * SourceMap, based on zero-indexed offsets, _not_ 1-indexed line and
104
- * column numbers as they appear in Error messages and CallSite
105
- * objects.
106
- *
107
- * To get the corresponding 1-indexed line and column numbers from a
108
- * lineNumber and columnNumber as they are reported by Error stacks
109
- * and CallSite objects, use `sourceMap.findOrigin(lineNumber, columnNumber)`
110
- * @param lineOffset The zero-indexed line number offset in the generated source
111
- * @param columnOffset The zero-indexed column number offset in the generated source
112
- */
113
- findEntry(lineOffset: number, columnOffset: number): SourceMapping;
114
- /**
115
- * Given a 1-indexed `lineNumber` and `columnNumber` from a call site in the generated source,
116
- * find the corresponding call site location in the original source.
117
- *
118
- * If the `lineNumber` and `columnNumber` provided are not found in any source map,
119
- * then an empty object is returned.
120
- * @param lineNumber The 1-indexed line number of the call site in the generated source
121
- * @param columnNumber The 1-indexed column number of the call site in the generated source
122
- */
123
- findOrigin(lineNumber: number, columnNumber: number): SourceOrigin | {};
124
- }
125
- /** @deprecated Use `ImportAttributes` instead */
126
- interface ImportAssertions extends ImportAttributes {}
127
- interface ImportAttributes extends NodeJS.Dict<string> {
128
- type?: string | undefined;
129
- }
130
- type ModuleFormat = "builtin" | "commonjs" | "json" | "module" | "wasm";
131
- type ModuleSource = string | ArrayBuffer | NodeJS.TypedArray;
132
- interface GlobalPreloadContext {
133
- port: MessagePort;
134
- }
135
- /**
136
- * @deprecated This hook will be removed in a future version.
137
- * Use `initialize` instead. When a loader has an `initialize` export, `globalPreload` will be ignored.
138
- *
139
- * Sometimes it might be necessary to run some code inside of the same global scope that the application runs in.
140
- * This hook allows the return of a string that is run as a sloppy-mode script on startup.
141
- *
142
- * @param context Information to assist the preload code
143
- * @return Code to run before application startup
144
- */
145
- type GlobalPreloadHook = (context: GlobalPreloadContext) => string;
146
- /**
147
- * The `initialize` hook provides a way to define a custom function that runs in the hooks thread
148
- * when the hooks module is initialized. Initialization happens when the hooks module is registered via `register`.
149
- *
150
- * This hook can receive data from a `register` invocation, including ports and other transferrable objects.
151
- * The return value of `initialize` can be a `Promise`, in which case it will be awaited before the main application thread execution resumes.
152
- */
153
- type InitializeHook<Data = any> = (data: Data) => void | Promise<void>;
154
- interface ResolveHookContext {
155
- /**
156
- * Export conditions of the relevant `package.json`
157
- */
158
- conditions: string[];
159
- /**
160
- * @deprecated Use `importAttributes` instead
161
- */
162
- importAssertions: ImportAttributes;
163
- /**
164
- * An object whose key-value pairs represent the assertions for the module to import
165
- */
166
- importAttributes: ImportAttributes;
167
- /**
168
- * The module importing this one, or undefined if this is the Node.js entry point
169
- */
170
- parentURL: string | undefined;
171
- }
172
- interface ResolveFnOutput {
173
- /**
174
- * A hint to the load hook (it might be ignored)
175
- */
176
- format?: ModuleFormat | null | undefined;
177
- /**
178
- * @deprecated Use `importAttributes` instead
179
- */
180
- importAssertions?: ImportAttributes | undefined;
181
- /**
182
- * The import attributes to use when caching the module (optional; if excluded the input will be used)
183
- */
184
- importAttributes?: ImportAttributes | undefined;
185
- /**
186
- * A signal that this hook intends to terminate the chain of `resolve` hooks.
187
- * @default false
188
- */
189
- shortCircuit?: boolean | undefined;
190
- /**
191
- * The absolute URL to which this input resolves
192
- */
193
- url: string;
194
- }
195
- /**
196
- * The `resolve` hook chain is responsible for resolving file URL for a given module specifier and parent URL, and optionally its format (such as `'module'`) as a hint to the `load` hook.
197
- * If a format is specified, the load hook is ultimately responsible for providing the final `format` value (and it is free to ignore the hint provided by `resolve`);
198
- * if `resolve` provides a format, a custom `load` hook is required even if only to pass the value to the Node.js default `load` hook.
199
- *
200
- * @param specifier The specified URL path of the module to be resolved
201
- * @param context
202
- * @param nextResolve The subsequent `resolve` hook in the chain, or the Node.js default `resolve` hook after the last user-supplied resolve hook
203
- */
204
- type ResolveHook = (
205
- specifier: string,
206
- context: ResolveHookContext,
207
- nextResolve: (
208
- specifier: string,
209
- context?: ResolveHookContext,
210
- ) => ResolveFnOutput | Promise<ResolveFnOutput>,
211
- ) => ResolveFnOutput | Promise<ResolveFnOutput>;
212
- interface LoadHookContext {
213
- /**
214
- * Export conditions of the relevant `package.json`
215
- */
216
- conditions: string[];
217
- /**
218
- * The format optionally supplied by the `resolve` hook chain
219
- */
220
- format: ModuleFormat;
221
- /**
222
- * @deprecated Use `importAttributes` instead
223
- */
224
- importAssertions: ImportAttributes;
225
- /**
226
- * An object whose key-value pairs represent the assertions for the module to import
227
- */
228
- importAttributes: ImportAttributes;
229
- }
230
- interface LoadFnOutput {
231
- format: ModuleFormat;
232
- /**
233
- * A signal that this hook intends to terminate the chain of `resolve` hooks.
234
- * @default false
235
- */
236
- shortCircuit?: boolean | undefined;
237
- /**
238
- * The source for Node.js to evaluate
239
- */
240
- source?: ModuleSource;
241
- }
242
- /**
243
- * The `load` hook provides a way to define a custom method of determining how a URL should be interpreted, retrieved, and parsed.
244
- * It is also in charge of validating the import assertion.
245
- *
246
- * @param url The URL/path of the module to be loaded
247
- * @param context Metadata about the module
248
- * @param nextLoad The subsequent `load` hook in the chain, or the Node.js default `load` hook after the last user-supplied `load` hook
249
- */
250
- type LoadHook = (
251
- url: string,
252
- context: LoadHookContext,
253
- nextLoad: (url: string, context?: LoadHookContext) => LoadFnOutput | Promise<LoadFnOutput>,
254
- ) => LoadFnOutput | Promise<LoadFnOutput>;
255
- }
256
- interface RegisterOptions<Data> {
257
- parentURL: string | URL;
258
- data?: Data | undefined;
259
- transferList?: any[] | undefined;
260
- }
261
- interface Module extends NodeModule {}
262
- class Module {
263
- static runMain(): void;
264
- static wrap(code: string): string;
265
- static createRequire(path: string | URL): NodeRequire;
266
- static builtinModules: string[];
267
- static isBuiltin(moduleName: string): boolean;
268
- static Module: typeof Module;
269
- static register<Data = any>(
270
- specifier: string | URL,
271
- parentURL?: string | URL,
272
- options?: RegisterOptions<Data>,
273
- ): void;
274
- static register<Data = any>(specifier: string | URL, options?: RegisterOptions<Data>): void;
275
- constructor(id: string, parent?: Module);
276
- }
277
- global {
278
- interface ImportMeta {
279
- /**
280
- * The directory name of the current module. This is the same as the `path.dirname()` of the `import.meta.filename`.
281
- * **Caveat:** only present on `file:` modules.
282
- */
283
- dirname: string;
284
- /**
285
- * The full absolute path and filename of the current module, with symlinks resolved.
286
- * This is the same as the `url.fileURLToPath()` of the `import.meta.url`.
287
- * **Caveat:** only local modules support this property. Modules not using the `file:` protocol will not provide it.
288
- */
289
- filename: string;
290
- /**
291
- * The absolute `file:` URL of the module.
292
- */
293
- url: string;
294
- /**
295
- * Provides a module-relative resolution function scoped to each module, returning
296
- * the URL string.
297
- *
298
- * Second `parent` parameter is only used when the `--experimental-import-meta-resolve`
299
- * command flag enabled.
300
- *
301
- * @since v20.6.0
302
- *
303
- * @param specifier The module specifier to resolve relative to `parent`.
304
- * @param parent The absolute parent module URL to resolve from.
305
- * @returns The absolute (`file:`) URL string for the resolved module.
306
- */
307
- resolve(specifier: string, parent?: string | URL | undefined): string;
308
- }
309
- }
310
- export = Module;
311
- }
312
- declare module "node:module" {
313
- import module = require("module");
314
- export = module;
315
- }