@types/node 10.17.54 → 10.17.58
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 v10.17/LICENSE +0 -0
- node v10.17/README.md +1 -1
- node v10.17/assert.d.ts +0 -0
- node v10.17/async_hooks.d.ts +1 -1
- node v10.17/base.d.ts +0 -0
- node v10.17/buffer.d.ts +0 -0
- node v10.17/child_process.d.ts +0 -0
- node v10.17/cluster.d.ts +0 -0
- node v10.17/console.d.ts +0 -0
- node v10.17/constants.d.ts +0 -0
- node v10.17/crypto.d.ts +0 -0
- node v10.17/dgram.d.ts +0 -0
- node v10.17/dns.d.ts +0 -0
- node v10.17/domain.d.ts +0 -0
- node v10.17/events.d.ts +0 -0
- node v10.17/fs.d.ts +0 -0
- node v10.17/globals.d.ts +42 -1
- node v10.17/http.d.ts +1 -0
- node v10.17/http2.d.ts +0 -0
- node v10.17/https.d.ts +0 -0
- node v10.17/index.d.ts +0 -0
- node v10.17/inspector.d.ts +0 -0
- node v10.17/module.d.ts +0 -0
- node v10.17/net.d.ts +0 -0
- node v10.17/os.d.ts +0 -0
- node v10.17/package.json +3 -3
- node v10.17/path.d.ts +0 -0
- node v10.17/perf_hooks.d.ts +0 -0
- node v10.17/process.d.ts +0 -0
- node v10.17/punycode.d.ts +0 -0
- node v10.17/querystring.d.ts +0 -0
- node v10.17/readline.d.ts +1 -1
- node v10.17/repl.d.ts +0 -0
- node v10.17/stream.d.ts +0 -0
- node v10.17/string_decoder.d.ts +0 -0
- node v10.17/timers.d.ts +0 -0
- node v10.17/tls.d.ts +0 -0
- node v10.17/trace_events.d.ts +0 -0
- node v10.17/ts3.6/assert.d.ts +0 -0
- node v10.17/ts3.6/base.d.ts +0 -0
- node v10.17/ts3.6/index.d.ts +0 -0
- node v10.17/tty.d.ts +0 -0
- node v10.17/url.d.ts +0 -0
- node v10.17/util.d.ts +0 -0
- node v10.17/v8.d.ts +0 -0
- node v10.17/vm.d.ts +0 -0
- node v10.17/worker_threads.d.ts +0 -0
- node v10.17/zlib.d.ts +0 -0
node v10.17/LICENSE
CHANGED
|
File without changes
|
node v10.17/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v10.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 15 Apr 2021 17:31:28 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `NodeJS`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
node v10.17/assert.d.ts
CHANGED
|
File without changes
|
node v10.17/async_hooks.d.ts
CHANGED
node v10.17/base.d.ts
CHANGED
|
File without changes
|
node v10.17/buffer.d.ts
CHANGED
|
File without changes
|
node v10.17/child_process.d.ts
CHANGED
|
File without changes
|
node v10.17/cluster.d.ts
CHANGED
|
File without changes
|
node v10.17/console.d.ts
CHANGED
|
File without changes
|
node v10.17/constants.d.ts
CHANGED
|
File without changes
|
node v10.17/crypto.d.ts
CHANGED
|
File without changes
|
node v10.17/dgram.d.ts
CHANGED
|
File without changes
|
node v10.17/dns.d.ts
CHANGED
|
File without changes
|
node v10.17/domain.d.ts
CHANGED
|
File without changes
|
node v10.17/events.d.ts
CHANGED
|
File without changes
|
node v10.17/fs.d.ts
CHANGED
|
File without changes
|
node v10.17/globals.d.ts
CHANGED
|
@@ -712,6 +712,32 @@ declare namespace NodeJS {
|
|
|
712
712
|
bigint(): bigint;
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
+
interface EmitWarningOptions {
|
|
716
|
+
/**
|
|
717
|
+
* When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted.
|
|
718
|
+
*
|
|
719
|
+
* @default 'Warning'
|
|
720
|
+
*/
|
|
721
|
+
type?: string;
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* A unique identifier for the warning instance being emitted.
|
|
725
|
+
*/
|
|
726
|
+
code?: string;
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace.
|
|
730
|
+
*
|
|
731
|
+
* @default process.emitWarning
|
|
732
|
+
*/
|
|
733
|
+
ctor?: Function;
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Additional text to include with the error.
|
|
737
|
+
*/
|
|
738
|
+
detail?: string;
|
|
739
|
+
}
|
|
740
|
+
|
|
715
741
|
interface Process extends EventEmitter {
|
|
716
742
|
stdout: WriteStream;
|
|
717
743
|
stderr: WriteStream;
|
|
@@ -725,7 +751,22 @@ declare namespace NodeJS {
|
|
|
725
751
|
chdir(directory: string): void;
|
|
726
752
|
cwd(): string;
|
|
727
753
|
debugPort: number;
|
|
728
|
-
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* The `process.emitWarning()` method can be used to emit custom or application specific process warnings.
|
|
757
|
+
*
|
|
758
|
+
* These can be listened for by adding a handler to the `'warning'` event.
|
|
759
|
+
*
|
|
760
|
+
* @param warning The warning to emit.
|
|
761
|
+
* @param type When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted. Default: `'Warning'`.
|
|
762
|
+
* @param code A unique identifier for the warning instance being emitted.
|
|
763
|
+
* @param ctor When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace. Default: `process.emitWarning`.
|
|
764
|
+
*/
|
|
765
|
+
emitWarning(warning: string | Error, ctor?: Function): void;
|
|
766
|
+
emitWarning(warning: string | Error, type?: string, ctor?: Function): void;
|
|
767
|
+
emitWarning(warning: string | Error, type?: string, code?: string, ctor?: Function): void;
|
|
768
|
+
emitWarning(warning: string | Error, options?: EmitWarningOptions): void;
|
|
769
|
+
|
|
729
770
|
env: ProcessEnv;
|
|
730
771
|
exit(code?: number): never;
|
|
731
772
|
exitCode?: number;
|
node v10.17/http.d.ts
CHANGED
node v10.17/http2.d.ts
CHANGED
|
File without changes
|
node v10.17/https.d.ts
CHANGED
|
File without changes
|
node v10.17/index.d.ts
CHANGED
|
File without changes
|
node v10.17/inspector.d.ts
CHANGED
|
File without changes
|
node v10.17/module.d.ts
CHANGED
|
File without changes
|
node v10.17/net.d.ts
CHANGED
|
File without changes
|
node v10.17/os.d.ts
CHANGED
|
File without changes
|
node v10.17/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "10.17.
|
|
3
|
+
"version": "10.17.58",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -181,6 +181,6 @@
|
|
|
181
181
|
},
|
|
182
182
|
"scripts": {},
|
|
183
183
|
"dependencies": {},
|
|
184
|
-
"typesPublisherContentHash": "
|
|
185
|
-
"typeScriptVersion": "3.
|
|
184
|
+
"typesPublisherContentHash": "fc8b202fb70125505792af7ce55808619dc40e9dd39e1a586623c58e5b1a4755",
|
|
185
|
+
"typeScriptVersion": "3.5"
|
|
186
186
|
}
|
node v10.17/path.d.ts
CHANGED
|
File without changes
|
node v10.17/perf_hooks.d.ts
CHANGED
|
File without changes
|
node v10.17/process.d.ts
CHANGED
|
File without changes
|
node v10.17/punycode.d.ts
CHANGED
|
File without changes
|
node v10.17/querystring.d.ts
CHANGED
|
File without changes
|
node v10.17/readline.d.ts
CHANGED
|
@@ -136,7 +136,7 @@ declare module "readline" {
|
|
|
136
136
|
function createInterface(options: ReadLineOptions): Interface;
|
|
137
137
|
|
|
138
138
|
function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number): void;
|
|
139
|
-
function emitKeypressEvents(stream: NodeJS.ReadableStream,
|
|
139
|
+
function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void;
|
|
140
140
|
function moveCursor(stream: NodeJS.WritableStream, dx: number | string, dy: number | string): void;
|
|
141
141
|
function clearLine(stream: NodeJS.WritableStream, dir: number): void;
|
|
142
142
|
function clearScreenDown(stream: NodeJS.WritableStream): void;
|
node v10.17/repl.d.ts
CHANGED
|
File without changes
|
node v10.17/stream.d.ts
CHANGED
|
File without changes
|
node v10.17/string_decoder.d.ts
CHANGED
|
File without changes
|
node v10.17/timers.d.ts
CHANGED
|
File without changes
|
node v10.17/tls.d.ts
CHANGED
|
File without changes
|
node v10.17/trace_events.d.ts
CHANGED
|
File without changes
|
node v10.17/ts3.6/assert.d.ts
CHANGED
|
File without changes
|
node v10.17/ts3.6/base.d.ts
CHANGED
|
File without changes
|
node v10.17/ts3.6/index.d.ts
CHANGED
|
File without changes
|
node v10.17/tty.d.ts
CHANGED
|
File without changes
|
node v10.17/url.d.ts
CHANGED
|
File without changes
|
node v10.17/util.d.ts
CHANGED
|
File without changes
|
node v10.17/v8.d.ts
CHANGED
|
File without changes
|
node v10.17/vm.d.ts
CHANGED
|
File without changes
|
node v10.17/worker_threads.d.ts
CHANGED
|
File without changes
|
node v10.17/zlib.d.ts
CHANGED
|
File without changes
|