@types/node 8.10.13 → 8.10.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 v8/README.md +1 -1
- node v8/index.d.ts +5 -4
- node v8/package.json +2 -2
node v8/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.git/tree/master/types/node/v8
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 18 May 2018 21:07:30 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: Buffer, NodeJS, SlowBuffer, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
node v8/index.d.ts
CHANGED
|
@@ -561,6 +561,7 @@ declare namespace NodeJS {
|
|
|
561
561
|
abort(): void;
|
|
562
562
|
chdir(directory: string): void;
|
|
563
563
|
cwd(): string;
|
|
564
|
+
debugPort: number;
|
|
564
565
|
emitWarning(warning: string | Error, name?: string, ctor?: Function): void;
|
|
565
566
|
env: ProcessEnv;
|
|
566
567
|
exit(code?: number): never;
|
|
@@ -895,7 +896,7 @@ declare module "querystring" {
|
|
|
895
896
|
decodeURIComponent?: Function;
|
|
896
897
|
}
|
|
897
898
|
|
|
898
|
-
interface ParsedUrlQuery { [key: string]: string | string[]; }
|
|
899
|
+
interface ParsedUrlQuery { [key: string]: string | string[] | undefined; }
|
|
899
900
|
|
|
900
901
|
export function stringify<T>(obj: T, sep?: string, eq?: string, options?: StringifyOptions): string;
|
|
901
902
|
export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery;
|
|
@@ -2851,8 +2852,8 @@ declare module "dgram" {
|
|
|
2851
2852
|
export function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket;
|
|
2852
2853
|
|
|
2853
2854
|
export class Socket extends events.EventEmitter {
|
|
2854
|
-
send(msg: Buffer |
|
|
2855
|
-
send(msg: Buffer |
|
|
2855
|
+
send(msg: Buffer | string | Uint8Array | any[], port: number, address?: string, callback?: (error: Error | null, bytes: number) => void): void;
|
|
2856
|
+
send(msg: Buffer | string | Uint8Array, offset: number, length: number, port: number, address?: string, callback?: (error: Error | null, bytes: number) => void): void;
|
|
2856
2857
|
bind(port?: number, address?: string, callback?: () => void): void;
|
|
2857
2858
|
bind(port?: number, callback?: () => void): void;
|
|
2858
2859
|
bind(callback?: () => void): void;
|
|
@@ -5588,7 +5589,7 @@ declare module "util" {
|
|
|
5588
5589
|
);
|
|
5589
5590
|
decode(
|
|
5590
5591
|
input?:
|
|
5591
|
-
|
|
5592
|
+
Int8Array
|
|
5592
5593
|
| Int16Array
|
|
5593
5594
|
| Int32Array
|
|
5594
5595
|
| Uint8Array
|
node v8/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.17",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -120,6 +120,6 @@
|
|
|
120
120
|
},
|
|
121
121
|
"scripts": {},
|
|
122
122
|
"dependencies": {},
|
|
123
|
-
"typesPublisherContentHash": "
|
|
123
|
+
"typesPublisherContentHash": "252e7942caa9370eac19c3ac7e2d2baab649d991c63345590a06e548f7cb97ce",
|
|
124
124
|
"typeScriptVersion": "2.1"
|
|
125
125
|
}
|