@types/node 20.1.0 → 20.1.1
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 +4 -1
- node/package.json +2 -2
- node/ts4.8/child_process.d.ts +4 -1
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (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: Mon, 08 May 2023 20:32:57 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
node/child_process.d.ts
CHANGED
|
@@ -980,7 +980,10 @@ declare module 'child_process' {
|
|
|
980
980
|
interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {
|
|
981
981
|
encoding: BufferEncoding;
|
|
982
982
|
}
|
|
983
|
-
type ExecFileException =
|
|
983
|
+
type ExecFileException =
|
|
984
|
+
& Omit<ExecException, 'code'>
|
|
985
|
+
& Omit<NodeJS.ErrnoException, 'code'>
|
|
986
|
+
& { code?: string | number | undefined | null };
|
|
984
987
|
/**
|
|
985
988
|
* The `child_process.execFile()` function is similar to {@link exec} except that it does not spawn a shell by default. Rather, the specified
|
|
986
989
|
* executable `file` is spawned directly as a new process making it slightly more
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "20.1.
|
|
3
|
+
"version": "20.1.1",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -232,6 +232,6 @@
|
|
|
232
232
|
},
|
|
233
233
|
"scripts": {},
|
|
234
234
|
"dependencies": {},
|
|
235
|
-
"typesPublisherContentHash": "
|
|
235
|
+
"typesPublisherContentHash": "dc248ecd4d0394a8adf9f8bf6ab5b8ed91784dc9de13cb1b28f214e6e80c617c",
|
|
236
236
|
"typeScriptVersion": "4.3"
|
|
237
237
|
}
|
node/ts4.8/child_process.d.ts
CHANGED
|
@@ -980,7 +980,10 @@ declare module 'child_process' {
|
|
|
980
980
|
interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {
|
|
981
981
|
encoding: BufferEncoding;
|
|
982
982
|
}
|
|
983
|
-
type ExecFileException =
|
|
983
|
+
type ExecFileException =
|
|
984
|
+
& Omit<ExecException, 'code'>
|
|
985
|
+
& Omit<NodeJS.ErrnoException, 'code'>
|
|
986
|
+
& { code?: string | number | undefined | null };
|
|
984
987
|
/**
|
|
985
988
|
* The `child_process.execFile()` function is similar to {@link exec} except that it does not spawn a shell by default. Rather, the specified
|
|
986
989
|
* executable `file` is spawned directly as a new process making it slightly more
|