@types/node 18.19.99 → 18.19.100
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.
- node v18.19/README.md +1 -1
- node v18.19/package.json +2 -2
- node v18.19/vm.d.ts +13 -4
node v18.19/README.md
CHANGED
|
@@ -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/v18.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Thu, 08 May 2025
|
|
11
|
+
* Last updated: Thu, 08 May 2025 14:02:18 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v18.19/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.19.
|
|
3
|
+
"version": "18.19.100",
|
|
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": "~5.26.4"
|
|
221
221
|
},
|
|
222
222
|
"peerDependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "c2c89277b89281701299e1bef4e65a6116787b51e9671db9ff4854ac16b14148",
|
|
224
224
|
"typeScriptVersion": "5.1"
|
|
225
225
|
}
|
node v18.19/vm.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ declare module "vm" {
|
|
|
58
58
|
}
|
|
59
59
|
interface ScriptOptions extends BaseOptions {
|
|
60
60
|
/**
|
|
61
|
-
* V8's code cache data for the supplied source.
|
|
61
|
+
* Provides an optional data with V8's code cache data for the supplied source.
|
|
62
62
|
*/
|
|
63
63
|
cachedData?: Buffer | NodeJS.ArrayBufferView | undefined;
|
|
64
64
|
/** @deprecated in favor of `script.createCachedData()` */
|
|
@@ -108,18 +108,24 @@ declare module "vm" {
|
|
|
108
108
|
microtaskMode?: CreateContextOptions["microtaskMode"];
|
|
109
109
|
}
|
|
110
110
|
interface RunningCodeOptions extends RunningScriptOptions {
|
|
111
|
-
|
|
111
|
+
/**
|
|
112
|
+
* Provides an optional data with V8's code cache data for the supplied source.
|
|
113
|
+
*/
|
|
114
|
+
cachedData?: ScriptOptions["cachedData"] | undefined;
|
|
112
115
|
importModuleDynamically?: ScriptOptions["importModuleDynamically"];
|
|
113
116
|
}
|
|
114
117
|
interface RunningCodeInNewContextOptions extends RunningScriptInNewContextOptions {
|
|
115
|
-
|
|
118
|
+
/**
|
|
119
|
+
* Provides an optional data with V8's code cache data for the supplied source.
|
|
120
|
+
*/
|
|
121
|
+
cachedData?: ScriptOptions["cachedData"] | undefined;
|
|
116
122
|
importModuleDynamically?: ScriptOptions["importModuleDynamically"];
|
|
117
123
|
}
|
|
118
124
|
interface CompileFunctionOptions extends BaseOptions {
|
|
119
125
|
/**
|
|
120
126
|
* Provides an optional data with V8's code cache data for the supplied source.
|
|
121
127
|
*/
|
|
122
|
-
cachedData?:
|
|
128
|
+
cachedData?: ScriptOptions["cachedData"] | undefined;
|
|
123
129
|
/**
|
|
124
130
|
* Specifies whether to produce new cache data.
|
|
125
131
|
* Default: `false`,
|
|
@@ -612,6 +618,9 @@ declare module "vm" {
|
|
|
612
618
|
* @default 'vm:module(i)' where i is a context-specific ascending index.
|
|
613
619
|
*/
|
|
614
620
|
identifier?: string | undefined;
|
|
621
|
+
/**
|
|
622
|
+
* Provides an optional data with V8's code cache data for the supplied source.
|
|
623
|
+
*/
|
|
615
624
|
cachedData?: ScriptOptions["cachedData"] | undefined;
|
|
616
625
|
context?: Context | undefined;
|
|
617
626
|
lineOffset?: BaseOptions["lineOffset"] | undefined;
|