@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.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/package.json +2 -2
  3. 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: Thu, 19 May 2022 14:01:40 GMT
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.35",
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": "6238ccaa7b50cbe1d37bc66eabdea21a4bfb4a7fd6bd780350e84241e2810a00",
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: string;
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.