@types/node 16.11.13 → 16.11.17
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 → node v16.11}/LICENSE +0 -0
- node/README.md → node v16.11/README.md +2 -2
- {node → node v16.11}/assert/strict.d.ts +0 -0
- {node → node v16.11}/assert.d.ts +0 -0
- {node → node v16.11}/async_hooks.d.ts +0 -0
- {node → node v16.11}/buffer.d.ts +0 -0
- {node → node v16.11}/child_process.d.ts +0 -0
- {node → node v16.11}/cluster.d.ts +0 -0
- {node → node v16.11}/console.d.ts +0 -0
- {node → node v16.11}/constants.d.ts +0 -0
- {node → node v16.11}/crypto.d.ts +0 -0
- {node → node v16.11}/dgram.d.ts +0 -0
- {node → node v16.11}/diagnostics_channel.d.ts +0 -0
- {node → node v16.11}/dns/promises.d.ts +0 -0
- {node → node v16.11}/dns.d.ts +0 -0
- {node → node v16.11}/domain.d.ts +0 -0
- {node → node v16.11}/events.d.ts +0 -0
- node/fs/promises.d.ts → node v16.11/fs/promises.d.ts +4 -4
- {node → node v16.11}/fs.d.ts +0 -0
- {node → node v16.11}/globals.d.ts +0 -0
- {node → node v16.11}/globals.global.d.ts +0 -0
- {node → node v16.11}/http.d.ts +0 -0
- node/http2.d.ts → node v16.11/http2.d.ts +1 -1
- {node → node v16.11}/https.d.ts +0 -0
- {node → node v16.11}/index.d.ts +0 -0
- {node → node v16.11}/inspector.d.ts +0 -0
- {node → node v16.11}/module.d.ts +0 -0
- {node → node v16.11}/net.d.ts +0 -0
- {node → node v16.11}/os.d.ts +0 -0
- node/package.json → node v16.11/package.json +2 -2
- node/path.d.ts → node v16.11/path.d.ts +8 -0
- node/perf_hooks.d.ts → node v16.11/perf_hooks.d.ts +2 -0
- {node → node v16.11}/process.d.ts +0 -0
- {node → node v16.11}/punycode.d.ts +0 -0
- {node → node v16.11}/querystring.d.ts +0 -0
- {node → node v16.11}/readline.d.ts +0 -0
- {node → node v16.11}/repl.d.ts +0 -0
- {node → node v16.11}/stream/consumers.d.ts +0 -0
- {node → node v16.11}/stream/promises.d.ts +0 -0
- {node → node v16.11}/stream/web.d.ts +0 -0
- {node → node v16.11}/stream.d.ts +0 -0
- {node → node v16.11}/string_decoder.d.ts +0 -0
- {node → node v16.11}/timers/promises.d.ts +0 -0
- {node → node v16.11}/timers.d.ts +0 -0
- {node → node v16.11}/tls.d.ts +0 -0
- {node → node v16.11}/trace_events.d.ts +0 -0
- {node → node v16.11}/tty.d.ts +0 -0
- {node → node v16.11}/url.d.ts +0 -0
- {node → node v16.11}/util.d.ts +0 -0
- {node → node v16.11}/v8.d.ts +0 -0
- {node → node v16.11}/vm.d.ts +0 -0
- {node → node v16.11}/wasi.d.ts +0 -0
- {node → node v16.11}/worker_threads.d.ts +0 -0
- {node → node v16.11}/zlib.d.ts +0 -0
{node → node v16.11}/LICENSE
RENAMED
|
File without changes
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
This package contains type definitions for Node.js (https://nodejs.org/).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
|
-
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v16.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 23 Dec 2021 09:01:23 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
|
File without changes
|
{node → node v16.11}/assert.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
{node → node v16.11}/buffer.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{node → node v16.11}/crypto.d.ts
RENAMED
|
File without changes
|
{node → node v16.11}/dgram.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{node → node v16.11}/dns.d.ts
RENAMED
|
File without changes
|
{node → node v16.11}/domain.d.ts
RENAMED
|
File without changes
|
{node → node v16.11}/events.d.ts
RENAMED
|
File without changes
|
|
@@ -42,11 +42,11 @@ declare module 'fs/promises' {
|
|
|
42
42
|
mode?: Mode | undefined;
|
|
43
43
|
flag?: OpenMode | undefined;
|
|
44
44
|
}
|
|
45
|
-
interface FileReadResult<T extends
|
|
45
|
+
interface FileReadResult<T extends ArrayBufferView> {
|
|
46
46
|
bytesRead: number;
|
|
47
47
|
buffer: T;
|
|
48
48
|
}
|
|
49
|
-
interface FileReadOptions<T extends
|
|
49
|
+
interface FileReadOptions<T extends ArrayBufferView = Buffer> {
|
|
50
50
|
/**
|
|
51
51
|
* @default `Buffer.alloc(0xffff)`
|
|
52
52
|
*/
|
|
@@ -207,8 +207,8 @@ declare module 'fs/promises' {
|
|
|
207
207
|
* integer, the current file position will remain unchanged.
|
|
208
208
|
* @return Fulfills upon success with an object with two properties:
|
|
209
209
|
*/
|
|
210
|
-
read<T extends
|
|
211
|
-
read<T extends
|
|
210
|
+
read<T extends ArrayBufferView>(buffer: T, offset?: number | null, length?: number | null, position?: number | null): Promise<FileReadResult<T>>;
|
|
211
|
+
read<T extends ArrayBufferView = Buffer>(options?: FileReadOptions<T>): Promise<FileReadResult<T>>;
|
|
212
212
|
/**
|
|
213
213
|
* Asynchronously reads the entire contents of a file.
|
|
214
214
|
*
|
{node → node v16.11}/fs.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{node → node v16.11}/http.d.ts
RENAMED
|
File without changes
|
|
@@ -1349,7 +1349,7 @@ declare module 'http2' {
|
|
|
1349
1349
|
* ```
|
|
1350
1350
|
* @since v8.4.0
|
|
1351
1351
|
*/
|
|
1352
|
-
|
|
1352
|
+
url: string;
|
|
1353
1353
|
/**
|
|
1354
1354
|
* Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is
|
|
1355
1355
|
* provided, then it is added as a listener on the `'timeout'` event on
|
{node → node v16.11}/https.d.ts
RENAMED
|
File without changes
|
{node → node v16.11}/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
{node → node v16.11}/module.d.ts
RENAMED
|
File without changes
|
{node → node v16.11}/net.d.ts
RENAMED
|
File without changes
|
{node → node v16.11}/os.d.ts
RENAMED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.11.
|
|
3
|
+
"version": "16.11.17",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -225,6 +225,6 @@
|
|
|
225
225
|
},
|
|
226
226
|
"scripts": {},
|
|
227
227
|
"dependencies": {},
|
|
228
|
-
"typesPublisherContentHash": "
|
|
228
|
+
"typesPublisherContentHash": "de06a9ab36ebee1c135eda3986378e39f96f6538bb668140f5fd7f54184549a6",
|
|
229
229
|
"typeScriptVersion": "3.8"
|
|
230
230
|
}
|
|
@@ -170,3 +170,11 @@ declare module 'node:path' {
|
|
|
170
170
|
import path = require('path');
|
|
171
171
|
export = path;
|
|
172
172
|
}
|
|
173
|
+
declare module 'node:path/posix' {
|
|
174
|
+
import path = require('path/posix');
|
|
175
|
+
export = path;
|
|
176
|
+
}
|
|
177
|
+
declare module 'node:path/win32' {
|
|
178
|
+
import path = require('path/win32');
|
|
179
|
+
export = path;
|
|
180
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{node → node v16.11}/repl.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{node → node v16.11}/stream.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{node → node v16.11}/timers.d.ts
RENAMED
|
File without changes
|
{node → node v16.11}/tls.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
{node → node v16.11}/tty.d.ts
RENAMED
|
File without changes
|
{node → node v16.11}/url.d.ts
RENAMED
|
File without changes
|
{node → node v16.11}/util.d.ts
RENAMED
|
File without changes
|
{node → node v16.11}/v8.d.ts
RENAMED
|
File without changes
|
{node → node v16.11}/vm.d.ts
RENAMED
|
File without changes
|
{node → node v16.11}/wasi.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
{node → node v16.11}/zlib.d.ts
RENAMED
|
File without changes
|