@types/node 18.7.17 → 18.7.19
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/globals.d.ts +1 -0
- node/index.d.ts +1 -1
- node/package.json +9 -2
- node/path.d.ts +2 -2
- node/ts4.8/assert/strict.d.ts +8 -0
- node/ts4.8/assert.d.ts +911 -0
- node/ts4.8/async_hooks.d.ts +501 -0
- node/ts4.8/buffer.d.ts +2238 -0
- node/ts4.8/child_process.d.ts +1369 -0
- node/ts4.8/cluster.d.ts +410 -0
- node/ts4.8/console.d.ts +412 -0
- node/ts4.8/constants.d.ts +18 -0
- node/ts4.8/crypto.d.ts +3961 -0
- node/ts4.8/dgram.d.ts +545 -0
- node/ts4.8/diagnostics_channel.d.ts +153 -0
- node/ts4.8/dns/promises.d.ts +370 -0
- node/ts4.8/dns.d.ts +659 -0
- node/ts4.8/domain.d.ts +170 -0
- node/ts4.8/events.d.ts +641 -0
- node/ts4.8/fs/promises.d.ts +1120 -0
- node/ts4.8/fs.d.ts +3872 -0
- node/ts4.8/globals.d.ts +294 -0
- node/ts4.8/globals.global.d.ts +1 -0
- node/ts4.8/http.d.ts +1553 -0
- node/ts4.8/http2.d.ts +2106 -0
- node/ts4.8/https.d.ts +541 -0
- node/ts4.8/index.d.ts +87 -0
- node/ts4.8/inspector.d.ts +2741 -0
- node/ts4.8/module.d.ts +114 -0
- node/ts4.8/net.d.ts +838 -0
- node/ts4.8/os.d.ts +465 -0
- node/ts4.8/path.d.ts +191 -0
- node/ts4.8/perf_hooks.d.ts +610 -0
- node/ts4.8/process.d.ts +1482 -0
- node/ts4.8/punycode.d.ts +117 -0
- node/ts4.8/querystring.d.ts +131 -0
- node/ts4.8/readline/promises.d.ts +143 -0
- node/ts4.8/readline.d.ts +653 -0
- node/ts4.8/repl.d.ts +424 -0
- node/ts4.8/stream/consumers.d.ts +24 -0
- node/ts4.8/stream/promises.d.ts +42 -0
- node/ts4.8/stream/web.d.ts +330 -0
- node/ts4.8/stream.d.ts +1339 -0
- node/ts4.8/string_decoder.d.ts +67 -0
- node/ts4.8/test.d.ts +190 -0
- node/ts4.8/timers/promises.d.ts +68 -0
- node/ts4.8/timers.d.ts +94 -0
- node/ts4.8/tls.d.ts +1028 -0
- node/ts4.8/trace_events.d.ts +171 -0
- node/ts4.8/tty.d.ts +206 -0
- node/ts4.8/url.d.ts +897 -0
- node/ts4.8/util.d.ts +1792 -0
- node/ts4.8/v8.d.ts +396 -0
- node/ts4.8/vm.d.ts +509 -0
- node/ts4.8/wasi.d.ts +158 -0
- node/ts4.8/worker_threads.d.ts +646 -0
- node/ts4.8/zlib.d.ts +517 -0
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: Fri, 23 Sep 2022 18:33:21 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
node/globals.d.ts
CHANGED
node/index.d.ts
CHANGED
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.7.
|
|
3
|
+
"version": "18.7.19",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -213,6 +213,13 @@
|
|
|
213
213
|
],
|
|
214
214
|
"main": "",
|
|
215
215
|
"types": "index.d.ts",
|
|
216
|
+
"typesVersions": {
|
|
217
|
+
"<4.9.0-0": {
|
|
218
|
+
"*": [
|
|
219
|
+
"ts4.8/*"
|
|
220
|
+
]
|
|
221
|
+
}
|
|
222
|
+
},
|
|
216
223
|
"repository": {
|
|
217
224
|
"type": "git",
|
|
218
225
|
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
@@ -220,6 +227,6 @@
|
|
|
220
227
|
},
|
|
221
228
|
"scripts": {},
|
|
222
229
|
"dependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
230
|
+
"typesPublisherContentHash": "8668bf76fd126d771eafbf06282865709afa740cc209465ac22ccbee29653cff",
|
|
224
231
|
"typeScriptVersion": "4.1"
|
|
225
232
|
}
|
node/path.d.ts
CHANGED
|
@@ -137,11 +137,11 @@ declare module 'path' {
|
|
|
137
137
|
/**
|
|
138
138
|
* The platform-specific file separator. '\\' or '/'.
|
|
139
139
|
*/
|
|
140
|
-
readonly sep:
|
|
140
|
+
readonly sep: '\\' | '/';
|
|
141
141
|
/**
|
|
142
142
|
* The platform-specific file delimiter. ';' or ':'.
|
|
143
143
|
*/
|
|
144
|
-
readonly delimiter:
|
|
144
|
+
readonly delimiter: ';' | ':';
|
|
145
145
|
/**
|
|
146
146
|
* Returns an object from a path string - the opposite of format().
|
|
147
147
|
*
|