@types/node 22.19.1 → 22.19.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.
node v22.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/v22.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 11 Nov 2025 23:33:13 GMT
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.19.1",
3
+ "version": "22.19.3",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -140,6 +140,6 @@
140
140
  "undici-types": "~6.21.0"
141
141
  },
142
142
  "peerDependencies": {},
143
- "typesPublisherContentHash": "9c07aba9c0804ae517745454424db7f31f72adf62c416da590c7f8df8e4a3436",
143
+ "typesPublisherContentHash": "a128cc757108a9d18e8f7bd67ff4be34845d5b687153f297e3a25073b6ed8d4b",
144
144
  "typeScriptVersion": "5.2"
145
145
  }
node v22.19/path.d.ts CHANGED
@@ -67,7 +67,7 @@ declare module "path" {
67
67
  interface PlatformPath {
68
68
  /**
69
69
  * Normalize a string path, reducing '..' and '.' parts.
70
- * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
70
+ * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. If the path is a zero-length string, '.' is returned, representing the current working directory.
71
71
  *
72
72
  * @param path string path to normalize.
73
73
  * @throws {TypeError} if `path` is not a string.
@@ -1705,6 +1705,11 @@ declare module "process" {
1705
1705
  * @param args Additional arguments to pass when invoking the `callback`
1706
1706
  */
1707
1707
  nextTick(callback: Function, ...args: any[]): void;
1708
+ /**
1709
+ * The process.noDeprecation property indicates whether the --no-deprecation flag is set on the current Node.js process.
1710
+ * 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.
1711
+ */
1712
+ noDeprecation?: boolean;
1708
1713
  /**
1709
1714
  * This API is available through the [--permission](https://nodejs.org/api/cli.html#--permission) flag.
1710
1715
  *