@types/node 8.10.54 → 8.10.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 v8/README.md CHANGED
@@ -8,9 +8,9 @@ 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/v8
9
9
 
10
10
  Additional Details
11
- * Last updated: Wed, 11 Sep 2019 05:46:31 GMT
11
+ * Last updated: Wed, 30 Oct 2019 16:12:00 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
 
15
15
  # Credits
16
- These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Parambir Singh <https://github.com/parambirs>, Christian Vaagland Tellnes <https://github.com/tellnes>, Wilco Bakker <https://github.com/WilcoBakker>, Nicolas Voigt <https://github.com/octo-sniffle>, Chigozirim C. <https://github.com/smac89>, Flarna <https://github.com/Flarna>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, wwwy3y3 <https://github.com/wwwy3y3>, Deividas Bakanas <https://github.com/DeividasBakanas>, Kelvin Jin <https://github.com/kjin>, Alvis HT Tang <https://github.com/alvis>, Sebastian Silbermann <https://github.com/eps1lon>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Alberto Schiabel <https://github.com/jkomyno>, Huw <https://github.com/hoo29>, Nicolas Even <https://github.com/n-e>, Bruno Scheufler <https://github.com/brunoscheufler>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Lishude <https://github.com/islishude>, Andrew Makarov <https://github.com/r3nya>, Jordi Oliveras Rovira <https://github.com/j-oliveras>, and Thanik Bhongbhibhat <https://github.com/bhongy>.
16
+ These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Parambir Singh <https://github.com/parambirs>, Christian Vaagland Tellnes <https://github.com/tellnes>, Wilco Bakker <https://github.com/WilcoBakker>, Nicolas Voigt <https://github.com/octo-sniffle>, Chigozirim C. <https://github.com/smac89>, Flarna <https://github.com/Flarna>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, wwwy3y3 <https://github.com/wwwy3y3>, Deividas Bakanas <https://github.com/DeividasBakanas>, Kelvin Jin <https://github.com/kjin>, Alvis HT Tang <https://github.com/alvis>, Sebastian Silbermann <https://github.com/eps1lon>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Alberto Schiabel <https://github.com/jkomyno>, Huw <https://github.com/hoo29>, Nicolas Even <https://github.com/n-e>, Nikita Galkin <https://github.com/galkin>, Bruno Scheufler <https://github.com/brunoscheufler>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Lishude <https://github.com/islishude>, Andrew Makarov <https://github.com/r3nya>, Jordi Oliveras Rovira <https://github.com/j-oliveras>, and Thanik Bhongbhibhat <https://github.com/bhongy>.
node v8/base.d.ts CHANGED
@@ -431,6 +431,7 @@ declare namespace NodeJS {
431
431
  remove(emitter: Events): void;
432
432
  bind(cb: (err: Error, data: any) => any): any;
433
433
  intercept(cb: (data: any) => any): any;
434
+ /** @deprecated since v0.11.7 - recover from failed I/O actions explicitly via error event handlers set on the domain instead. */
434
435
  dispose(): void;
435
436
 
436
437
  addListener(event: string, listener: (...args: any[]) => void): this;
@@ -1182,6 +1183,7 @@ declare module "cluster" {
1182
1183
  export class Worker extends events.EventEmitter {
1183
1184
  id: number;
1184
1185
  process: child.ChildProcess;
1186
+ /** @deprecated since v6.0.0 - use `worker.exitedAfterDisconnect` instead. */
1185
1187
  suicide: boolean;
1186
1188
  send(message: any, sendHandle?: any, callback?: (error: Error) => void): boolean;
1187
1189
  kill(signal?: string): void;
@@ -1598,6 +1600,7 @@ declare module "os" {
1598
1600
  export function userInfo(options?: { encoding: string }): { username: string, uid: number, gid: number, shell: any, homedir: string };
1599
1601
  export var constants: {
1600
1602
  UV_UDP_REUSEADDR: number,
1603
+ // signals: { [key in NodeJS.Signals]: number; }; @todo: change after migration to typescript 2.1
1601
1604
  signals: {
1602
1605
  SIGHUP: number;
1603
1606
  SIGINT: number;
@@ -1620,6 +1623,7 @@ declare module "os" {
1620
1623
  SIGCONT: number;
1621
1624
  SIGSTOP: number;
1622
1625
  SIGTSTP: number;
1626
+ SIGBREAK: number;
1623
1627
  SIGTTIN: number;
1624
1628
  SIGTTOU: number;
1625
1629
  SIGURG: number;
@@ -1630,7 +1634,9 @@ declare module "os" {
1630
1634
  SIGWINCH: number;
1631
1635
  SIGIO: number;
1632
1636
  SIGPOLL: number;
1637
+ SIGLOST: number;
1633
1638
  SIGPWR: number;
1639
+ SIGINFO: number;
1634
1640
  SIGSYS: number;
1635
1641
  SIGUNUSED: number;
1636
1642
  },
@@ -3467,7 +3473,7 @@ declare module "fs" {
3467
3473
  * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
3468
3474
  * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
3469
3475
  */
3470
- export function link(existingPath: PathLike, newPath: PathLike): Promise<void>;
3476
+ export function __promisify__(existingPath: PathLike, newPath: PathLike): Promise<void>;
3471
3477
  }
3472
3478
 
3473
3479
  /**
@@ -5251,7 +5257,9 @@ declare module "crypto" {
5251
5257
  crl: string | string[];
5252
5258
  ciphers: string;
5253
5259
  }
5260
+ /** @deprecated since v0.11.13 - use tls.SecureContext instead. */
5254
5261
  export interface Credentials { context?: any; }
5262
+ /** @deprecated since v0.11.13 - use tls.createSecureContext instead. */
5255
5263
  export function createCredentials(details: CredentialDetails): Credentials;
5256
5264
  export function createHash(algorithm: string): Hash;
5257
5265
  export function createHmac(algorithm: string, key: string | Buffer): Hmac;
@@ -5658,7 +5666,7 @@ declare module "util" {
5658
5666
  export function isString(object: any): object is string;
5659
5667
  export function isSymbol(object: any): object is symbol;
5660
5668
  export function isUndefined(object: any): object is undefined;
5661
- export function deprecate<T extends Function>(fn: T, message: string): T;
5669
+ export function deprecate<T extends Function>(fn: T, message: string, code?: string): T;
5662
5670
 
5663
5671
  export interface CustomPromisify<TCustom extends Function> extends Function {
5664
5672
  __promisify__: TCustom;
@@ -5793,6 +5801,7 @@ declare module "domain" {
5793
5801
  remove(emitter: events.EventEmitter): void;
5794
5802
  bind(cb: (err: Error, data: any) => any): any;
5795
5803
  intercept(cb: (data: any) => any): any;
5804
+ /** @deprecated since v0.11.7 - recover from failed I/O actions explicitly via error event handlers set on the domain instead. */
5796
5805
  dispose(): void;
5797
5806
  members: any[];
5798
5807
  enter(): void;
@@ -5802,6 +5811,7 @@ declare module "domain" {
5802
5811
  export function create(): Domain;
5803
5812
  }
5804
5813
 
5814
+ /** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */
5805
5815
  declare module "constants" {
5806
5816
  export var E2BIG: number;
5807
5817
  export var EACCES: number;
@@ -5937,15 +5947,25 @@ declare module "constants" {
5937
5947
  export var WSA_E_NO_MORE: number;
5938
5948
  export var WSA_E_CANCELLED: number;
5939
5949
  export var WSAEREFUSED: number;
5950
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGHUP` instead. */
5940
5951
  export var SIGHUP: number;
5952
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGINT` instead. */
5941
5953
  export var SIGINT: number;
5954
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGILL` instead. */
5942
5955
  export var SIGILL: number;
5956
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGABRT` instead. */
5943
5957
  export var SIGABRT: number;
5958
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGFPE` instead. */
5944
5959
  export var SIGFPE: number;
5960
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGKILL` instead. */
5945
5961
  export var SIGKILL: number;
5962
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGSEGV` instead. */
5946
5963
  export var SIGSEGV: number;
5964
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTERM` instead. */
5947
5965
  export var SIGTERM: number;
5966
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGBREAK` instead. */
5948
5967
  export var SIGBREAK: number;
5968
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGWINCH` instead. */
5949
5969
  export var SIGWINCH: number;
5950
5970
  export var SSL_OP_ALL: number;
5951
5971
  export var SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number;
@@ -6048,30 +6068,55 @@ declare module "constants" {
6048
6068
  export var W_OK: number;
6049
6069
  export var X_OK: number;
6050
6070
  export var UV_UDP_REUSEADDR: number;
6071
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGQUIT` instead. */
6051
6072
  export var SIGQUIT: number;
6073
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTRAP` instead. */
6052
6074
  export var SIGTRAP: number;
6075
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGIOT` instead. */
6053
6076
  export var SIGIOT: number;
6077
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGBUS` instead. */
6054
6078
  export var SIGBUS: number;
6079
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGUSR1` instead. */
6055
6080
  export var SIGUSR1: number;
6081
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGUSR2` instead. */
6056
6082
  export var SIGUSR2: number;
6083
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGPIPE` instead. */
6057
6084
  export var SIGPIPE: number;
6085
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGALRM` instead. */
6058
6086
  export var SIGALRM: number;
6087
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGCHLD` instead. */
6059
6088
  export var SIGCHLD: number;
6089
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGSTKFLT` instead. */
6060
6090
  export var SIGSTKFLT: number;
6091
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGCONT` instead. */
6061
6092
  export var SIGCONT: number;
6093
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGSTOP` instead. */
6062
6094
  export var SIGSTOP: number;
6095
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTSTP` instead. */
6063
6096
  export var SIGTSTP: number;
6097
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTTIN` instead. */
6064
6098
  export var SIGTTIN: number;
6099
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTTOU` instead. */
6065
6100
  export var SIGTTOU: number;
6101
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGURG` instead. */
6066
6102
  export var SIGURG: number;
6103
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGXCPU` instead. */
6067
6104
  export var SIGXCPU: number;
6105
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGXFSZ` instead. */
6068
6106
  export var SIGXFSZ: number;
6107
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGVTALRM` instead. */
6069
6108
  export var SIGVTALRM: number;
6109
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGPROF` instead. */
6070
6110
  export var SIGPROF: number;
6111
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGIO` instead. */
6071
6112
  export var SIGIO: number;
6113
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGPOLL` instead. */
6072
6114
  export var SIGPOLL: number;
6115
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGPWR` instead. */
6073
6116
  export var SIGPWR: number;
6117
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGSYS` instead. */
6074
6118
  export var SIGSYS: number;
6119
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGUNUSED` instead. */
6075
6120
  export var SIGUNUSED: number;
6076
6121
  export var defaultCoreCipherList: string;
6077
6122
  export var defaultCipherList: string;
node v8/index.d.ts CHANGED
@@ -18,6 +18,7 @@
18
18
  // Alberto Schiabel <https://github.com/jkomyno>
19
19
  // Huw <https://github.com/hoo29>
20
20
  // Nicolas Even <https://github.com/n-e>
21
+ // Nikita Galkin <https://github.com/galkin>
21
22
  // Bruno Scheufler <https://github.com/brunoscheufler>
22
23
  // Hoàng Văn Khải <https://github.com/KSXGitHub>
23
24
  // Lishude <https://github.com/islishude>
node v8/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "8.10.54",
3
+ "version": "8.10.58",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -94,6 +94,11 @@
94
94
  "url": "https://github.com/n-e",
95
95
  "githubUsername": "n-e"
96
96
  },
97
+ {
98
+ "name": "Nikita Galkin",
99
+ "url": "https://github.com/galkin",
100
+ "githubUsername": "galkin"
101
+ },
97
102
  {
98
103
  "name": "Bruno Scheufler",
99
104
  "url": "https://github.com/brunoscheufler",
@@ -141,6 +146,6 @@
141
146
  },
142
147
  "scripts": {},
143
148
  "dependencies": {},
144
- "typesPublisherContentHash": "fab8c0a9e7959815844678bc327b83c8c837d39953dcb1924c4a536ccf4b9c2b",
149
+ "typesPublisherContentHash": "7c17209c1a75aa13389e48fc18b41010e445bd124668f9122ecd832ff3d102a8",
145
150
  "typeScriptVersion": "2.1"
146
151
  }