@types/node 14.18.23 → 14.18.24

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 v14.18/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/v14.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sat, 30 Jul 2022 21:02:22 GMT
11
+ * Last updated: Mon, 15 Aug 2022 18:32:43 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
@@ -1,21 +1,22 @@
1
1
  declare module 'fs/promises' {
2
2
  import {
3
- Stats,
3
+ BaseEncodingOptions,
4
4
  BigIntStats,
5
- StatOptions,
6
- WriteVResult,
7
- ReadVResult,
8
- PathLike,
9
- RmDirOptions,
10
- RmOptions,
11
- MakeDirectoryOptions,
5
+ BufferEncodingOption,
6
+ constants as fsConstants,
7
+ Dir,
12
8
  Dirent,
9
+ MakeDirectoryOptions,
10
+ Mode,
13
11
  OpenDirOptions,
14
- Dir,
15
- BaseEncodingOptions,
16
- BufferEncodingOption,
17
12
  OpenMode,
18
- Mode,
13
+ PathLike,
14
+ ReadVResult,
15
+ RmDirOptions,
16
+ RmOptions,
17
+ StatOptions,
18
+ Stats,
19
+ WriteVResult,
19
20
  } from 'fs';
20
21
 
21
22
  interface FileHandle {
@@ -161,6 +162,8 @@ declare module 'fs/promises' {
161
162
  close(): Promise<void>;
162
163
  }
163
164
 
165
+ const constants: typeof fsConstants;
166
+
164
167
  /**
165
168
  * Asynchronously tests a user's permissions for the file specified by path.
166
169
  * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "14.18.23",
3
+ "version": "14.18.24",
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": "b5b491c97ebfa0f92fab2356a8663c88c63e3bb189ec9bbd4cd5679add975b4c",
223
+ "typesPublisherContentHash": "0d6282534ea851ab2bd3427dd6705c2353d9f3e55173f87ab76179d3deb892e9",
224
224
  "typeScriptVersion": "4.0"
225
225
  }