@types/node 13.13.46 → 13.13.50
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 v13.13/LICENSE +0 -0
- node v13.13/README.md +1 -1
- node v13.13/assert.d.ts +0 -0
- node v13.13/async_hooks.d.ts +1 -1
- node v13.13/base.d.ts +0 -0
- node v13.13/buffer.d.ts +0 -0
- node v13.13/child_process.d.ts +0 -0
- node v13.13/cluster.d.ts +0 -0
- node v13.13/console.d.ts +0 -0
- node v13.13/constants.d.ts +0 -0
- node v13.13/crypto.d.ts +0 -0
- node v13.13/dgram.d.ts +0 -0
- node v13.13/dns.d.ts +0 -0
- node v13.13/domain.d.ts +0 -0
- node v13.13/events.d.ts +0 -0
- node v13.13/fs.d.ts +0 -0
- node v13.13/globals.d.ts +42 -1
- node v13.13/globals.global.d.ts +0 -0
- node v13.13/http.d.ts +1 -0
- node v13.13/http2.d.ts +1 -1
- node v13.13/https.d.ts +0 -0
- node v13.13/index.d.ts +0 -0
- node v13.13/inspector.d.ts +0 -0
- node v13.13/module.d.ts +0 -0
- node v13.13/net.d.ts +0 -0
- node v13.13/os.d.ts +0 -0
- node v13.13/package.json +2 -2
- node v13.13/path.d.ts +0 -0
- node v13.13/perf_hooks.d.ts +0 -0
- node v13.13/process.d.ts +0 -0
- node v13.13/punycode.d.ts +0 -0
- node v13.13/querystring.d.ts +0 -0
- node v13.13/readline.d.ts +0 -0
- node v13.13/repl.d.ts +0 -0
- node v13.13/stream.d.ts +0 -0
- node v13.13/string_decoder.d.ts +0 -0
- node v13.13/timers.d.ts +0 -0
- node v13.13/tls.d.ts +0 -0
- node v13.13/trace_events.d.ts +0 -0
- node v13.13/ts3.6/assert.d.ts +0 -0
- node v13.13/ts3.6/base.d.ts +0 -0
- node v13.13/ts3.6/index.d.ts +0 -0
- node v13.13/tty.d.ts +0 -0
- node v13.13/url.d.ts +0 -0
- node v13.13/util.d.ts +0 -0
- node v13.13/v8.d.ts +0 -0
- node v13.13/vm.d.ts +0 -0
- node v13.13/wasi.d.ts +0 -0
- node v13.13/worker_threads.d.ts +0 -0
- node v13.13/zlib.d.ts +0 -0
node v13.13/LICENSE
CHANGED
|
File without changes
|
node v13.13/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/v13.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 15 Apr 2021 17:31:23 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
node v13.13/assert.d.ts
CHANGED
|
File without changes
|
node v13.13/async_hooks.d.ts
CHANGED
node v13.13/base.d.ts
CHANGED
|
File without changes
|
node v13.13/buffer.d.ts
CHANGED
|
File without changes
|
node v13.13/child_process.d.ts
CHANGED
|
File without changes
|
node v13.13/cluster.d.ts
CHANGED
|
File without changes
|
node v13.13/console.d.ts
CHANGED
|
File without changes
|
node v13.13/constants.d.ts
CHANGED
|
File without changes
|
node v13.13/crypto.d.ts
CHANGED
|
File without changes
|
node v13.13/dgram.d.ts
CHANGED
|
File without changes
|
node v13.13/dns.d.ts
CHANGED
|
File without changes
|
node v13.13/domain.d.ts
CHANGED
|
File without changes
|
node v13.13/events.d.ts
CHANGED
|
File without changes
|
node v13.13/fs.d.ts
CHANGED
|
File without changes
|
node v13.13/globals.d.ts
CHANGED
|
@@ -783,6 +783,32 @@ declare namespace NodeJS {
|
|
|
783
783
|
voluntaryContextSwitches: number;
|
|
784
784
|
}
|
|
785
785
|
|
|
786
|
+
interface EmitWarningOptions {
|
|
787
|
+
/**
|
|
788
|
+
* When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted.
|
|
789
|
+
*
|
|
790
|
+
* @default 'Warning'
|
|
791
|
+
*/
|
|
792
|
+
type?: string;
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* A unique identifier for the warning instance being emitted.
|
|
796
|
+
*/
|
|
797
|
+
code?: string;
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace.
|
|
801
|
+
*
|
|
802
|
+
* @default process.emitWarning
|
|
803
|
+
*/
|
|
804
|
+
ctor?: Function;
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* Additional text to include with the error.
|
|
808
|
+
*/
|
|
809
|
+
detail?: string;
|
|
810
|
+
}
|
|
811
|
+
|
|
786
812
|
interface Process extends EventEmitter {
|
|
787
813
|
/**
|
|
788
814
|
* Can also be a tty.WriteStream, not typed due to limitation.s
|
|
@@ -802,7 +828,22 @@ declare namespace NodeJS {
|
|
|
802
828
|
chdir(directory: string): void;
|
|
803
829
|
cwd(): string;
|
|
804
830
|
debugPort: number;
|
|
805
|
-
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* The `process.emitWarning()` method can be used to emit custom or application specific process warnings.
|
|
834
|
+
*
|
|
835
|
+
* These can be listened for by adding a handler to the `'warning'` event.
|
|
836
|
+
*
|
|
837
|
+
* @param warning The warning to emit.
|
|
838
|
+
* @param type When `warning` is a `string`, `type` is the name to use for the _type_ of warning being emitted. Default: `'Warning'`.
|
|
839
|
+
* @param code A unique identifier for the warning instance being emitted.
|
|
840
|
+
* @param ctor When `warning` is a `string`, `ctor` is an optional function used to limit the generated stack trace. Default: `process.emitWarning`.
|
|
841
|
+
*/
|
|
842
|
+
emitWarning(warning: string | Error, ctor?: Function): void;
|
|
843
|
+
emitWarning(warning: string | Error, type?: string, ctor?: Function): void;
|
|
844
|
+
emitWarning(warning: string | Error, type?: string, code?: string, ctor?: Function): void;
|
|
845
|
+
emitWarning(warning: string | Error, options?: EmitWarningOptions): void;
|
|
846
|
+
|
|
806
847
|
env: ProcessEnv;
|
|
807
848
|
exit(code?: number): never;
|
|
808
849
|
exitCode?: number;
|
node v13.13/globals.global.d.ts
CHANGED
|
File without changes
|
node v13.13/http.d.ts
CHANGED
node v13.13/http2.d.ts
CHANGED
|
@@ -638,7 +638,7 @@ declare module "http2" {
|
|
|
638
638
|
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
639
639
|
}
|
|
640
640
|
|
|
641
|
-
export class Http2ServerResponse extends stream.
|
|
641
|
+
export class Http2ServerResponse extends stream.Writable {
|
|
642
642
|
constructor(stream: ServerHttp2Stream);
|
|
643
643
|
|
|
644
644
|
readonly connection: net.Socket | tls.TLSSocket;
|
node v13.13/https.d.ts
CHANGED
|
File without changes
|
node v13.13/index.d.ts
CHANGED
|
File without changes
|
node v13.13/inspector.d.ts
CHANGED
|
File without changes
|
node v13.13/module.d.ts
CHANGED
|
File without changes
|
node v13.13/net.d.ts
CHANGED
|
File without changes
|
node v13.13/os.d.ts
CHANGED
|
File without changes
|
node v13.13/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "13.13.
|
|
3
|
+
"version": "13.13.50",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -221,6 +221,6 @@
|
|
|
221
221
|
},
|
|
222
222
|
"scripts": {},
|
|
223
223
|
"dependencies": {},
|
|
224
|
-
"typesPublisherContentHash": "
|
|
224
|
+
"typesPublisherContentHash": "1bfd8b60ca54a042077f6721f60bd6a07c653fce3be37184d14cca2ec92a1f63",
|
|
225
225
|
"typeScriptVersion": "3.5"
|
|
226
226
|
}
|
node v13.13/path.d.ts
CHANGED
|
File without changes
|
node v13.13/perf_hooks.d.ts
CHANGED
|
File without changes
|
node v13.13/process.d.ts
CHANGED
|
File without changes
|
node v13.13/punycode.d.ts
CHANGED
|
File without changes
|
node v13.13/querystring.d.ts
CHANGED
|
File without changes
|
node v13.13/readline.d.ts
CHANGED
|
File without changes
|
node v13.13/repl.d.ts
CHANGED
|
File without changes
|
node v13.13/stream.d.ts
CHANGED
|
File without changes
|
node v13.13/string_decoder.d.ts
CHANGED
|
File without changes
|
node v13.13/timers.d.ts
CHANGED
|
File without changes
|
node v13.13/tls.d.ts
CHANGED
|
File without changes
|
node v13.13/trace_events.d.ts
CHANGED
|
File without changes
|
node v13.13/ts3.6/assert.d.ts
CHANGED
|
File without changes
|
node v13.13/ts3.6/base.d.ts
CHANGED
|
File without changes
|
node v13.13/ts3.6/index.d.ts
CHANGED
|
File without changes
|
node v13.13/tty.d.ts
CHANGED
|
File without changes
|
node v13.13/url.d.ts
CHANGED
|
File without changes
|
node v13.13/util.d.ts
CHANGED
|
File without changes
|
node v13.13/v8.d.ts
CHANGED
|
File without changes
|
node v13.13/vm.d.ts
CHANGED
|
File without changes
|
node v13.13/wasi.d.ts
CHANGED
|
File without changes
|
node v13.13/worker_threads.d.ts
CHANGED
|
File without changes
|
node v13.13/zlib.d.ts
CHANGED
|
File without changes
|