@types/node 16.3.3 → 16.4.0
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/child_process.d.ts +2 -1
- node/index.d.ts +1 -1
- node/package.json +2 -2
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://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: Tue, 20 Jul 2021 21:31:16 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
node/child_process.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ declare module 'child_process' {
|
|
|
3
3
|
import { EventEmitter, Abortable } from 'node:events';
|
|
4
4
|
import * as net from 'node:net';
|
|
5
5
|
import { Writable, Readable, Stream, Pipe } from 'node:stream';
|
|
6
|
+
import { URL } from 'node:url';
|
|
6
7
|
|
|
7
8
|
type Serializable = string | object | number | boolean | bigint;
|
|
8
9
|
type SendHandle = net.Socket | net.Server;
|
|
@@ -157,7 +158,7 @@ declare module 'child_process' {
|
|
|
157
158
|
interface ProcessEnvOptions {
|
|
158
159
|
uid?: number | undefined;
|
|
159
160
|
gid?: number | undefined;
|
|
160
|
-
cwd?: string | undefined;
|
|
161
|
+
cwd?: string | URL | undefined;
|
|
161
162
|
env?: NodeJS.ProcessEnv | undefined;
|
|
162
163
|
}
|
|
163
164
|
|
node/index.d.ts
CHANGED
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.4.0",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -227,6 +227,6 @@
|
|
|
227
227
|
},
|
|
228
228
|
"scripts": {},
|
|
229
229
|
"dependencies": {},
|
|
230
|
-
"typesPublisherContentHash": "
|
|
230
|
+
"typesPublisherContentHash": "2ec5c8e3027bcb171df7f44d56e9c54b0fd1bbb9e1a658b14a3f5b1ba991635e",
|
|
231
231
|
"typeScriptVersion": "3.6"
|
|
232
232
|
}
|