@types/node 17.0.35 → 17.0.36
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 +2 -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: Sat, 28 May 2022 08:31:35 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.36",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -220,6 +220,6 @@
|
|
|
220
220
|
},
|
|
221
221
|
"scripts": {},
|
|
222
222
|
"dependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "f5633339b0082492bb44d42b21179657958150c373b6821e582345a42ba41835",
|
|
224
224
|
"typeScriptVersion": "3.9"
|
|
225
225
|
}
|
node/process.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ declare module 'process' {
|
|
|
49
49
|
openssl: string;
|
|
50
50
|
}
|
|
51
51
|
type Platform = 'aix' | 'android' | 'darwin' | 'freebsd' | 'haiku' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin' | 'netbsd';
|
|
52
|
+
type Architecture = 'arm' | 'arm64' | 'ia32' | 'mips' | 'mipsel' | 'ppc' | 'ppc64' | 's390' | 's390x' | 'x64';
|
|
52
53
|
type Signals =
|
|
53
54
|
| 'SIGABRT'
|
|
54
55
|
| 'SIGALRM'
|
|
@@ -1049,7 +1050,7 @@ declare module 'process' {
|
|
|
1049
1050
|
* ```
|
|
1050
1051
|
* @since v0.5.0
|
|
1051
1052
|
*/
|
|
1052
|
-
readonly arch:
|
|
1053
|
+
readonly arch: Architecture;
|
|
1053
1054
|
/**
|
|
1054
1055
|
* The `process.platform` property returns a string identifying the operating
|
|
1055
1056
|
* system platform on which the Node.js process is running.
|