@types/node 22.18.10 → 22.18.11

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.18/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: Sat, 11 Oct 2025 14:02:18 GMT
11
+ * Last updated: Fri, 17 Oct 2025 02:09:19 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -72,7 +72,7 @@ declare module "cluster" {
72
72
  * String arguments passed to worker.
73
73
  * @default process.argv.slice(2)
74
74
  */
75
- args?: string[] | undefined;
75
+ args?: readonly string[] | undefined;
76
76
  /**
77
77
  * Whether or not to send output to parent's stdio.
78
78
  * @default false
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.18.10",
3
+ "version": "22.18.11",
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": "e5707cd0627075030e43d45d8ff396de8a8bb1b71fd581233c7a8febe823657c",
143
+ "typesPublisherContentHash": "b90750e2971cd1a9da1d84ed115c41a5b3bf90d220be0bdb631feba60aed8d39",
144
144
  "typeScriptVersion": "5.2"
145
145
  }
node v22.18/util.d.ts CHANGED
@@ -1724,7 +1724,7 @@ declare module "util" {
1724
1724
  /**
1725
1725
  * Array of argument strings.
1726
1726
  */
1727
- args?: string[] | undefined;
1727
+ args?: readonly string[] | undefined;
1728
1728
  /**
1729
1729
  * Used to describe arguments known to the parser.
1730
1730
  */
node v22.18/wasi.d.ts CHANGED
@@ -77,7 +77,7 @@ declare module "wasi" {
77
77
  * WASI command itself.
78
78
  * @default []
79
79
  */
80
- args?: string[] | undefined;
80
+ args?: readonly string[] | undefined;
81
81
  /**
82
82
  * An object similar to `process.env` that the WebAssembly
83
83
  * application will see as its environment.