@types/node 25.0.0 → 25.0.2
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/README.md +1 -1
- node/package.json +2 -2
- node/process.d.ts +5 -0
- node/util.d.ts +3 -0
node/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.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Sun, 14 Dec 2025 00:04:32 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "25.0.
|
|
3
|
+
"version": "25.0.2",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -150,6 +150,6 @@
|
|
|
150
150
|
"undici-types": "~7.16.0"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
153
|
+
"typesPublisherContentHash": "e2d7e94e2cb6b4ec860c6999a50c34100584619509bea712539922f9321142f7",
|
|
154
154
|
"typeScriptVersion": "5.2"
|
|
155
155
|
}
|
node/process.d.ts
CHANGED
|
@@ -1826,6 +1826,11 @@ declare module "node:process" {
|
|
|
1826
1826
|
* @param args Additional arguments to pass when invoking the `callback`
|
|
1827
1827
|
*/
|
|
1828
1828
|
nextTick(callback: Function, ...args: any[]): void;
|
|
1829
|
+
/**
|
|
1830
|
+
* The process.noDeprecation property indicates whether the --no-deprecation flag is set on the current Node.js process.
|
|
1831
|
+
* See the documentation for the ['warning' event](https://nodejs.org/docs/latest/api/process.html#event-warning) and the [emitWarning()](https://nodejs.org/docs/latest/api/process.html#processemitwarningwarning-type-code-ctor) method for more information about this flag's behavior.
|
|
1832
|
+
*/
|
|
1833
|
+
noDeprecation?: boolean;
|
|
1829
1834
|
/**
|
|
1830
1835
|
* This API is available through the [--permission](https://nodejs.org/api/cli.html#--permission) flag.
|
|
1831
1836
|
*
|
node/util.d.ts
CHANGED
|
@@ -1246,6 +1246,9 @@ declare module "node:util" {
|
|
|
1246
1246
|
text: string,
|
|
1247
1247
|
options?: StyleTextOptions,
|
|
1248
1248
|
): string;
|
|
1249
|
+
/** @deprecated This alias will be removed in a future version. Use the canonical `TextEncoderEncodeIntoResult` instead. */
|
|
1250
|
+
// TODO: remove in future major
|
|
1251
|
+
export interface EncodeIntoResult extends TextEncoderEncodeIntoResult {}
|
|
1249
1252
|
//// parseArgs
|
|
1250
1253
|
/**
|
|
1251
1254
|
* Provides a higher level API for command-line argument parsing than interacting
|