@types/node 12.6.2 → 12.6.6

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 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
9
9
 
10
10
  Additional Details
11
- * Last updated: Tue, 09 Jul 2019 23:33:23 GMT
11
+ * Last updated: Wed, 17 Jul 2019 00:23:12 GMT
12
12
  * Dependencies: none
13
13
  * Global values: Buffer, NodeJS, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, queueMicrotask, 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>, Alberto Schiabel <https://github.com/jkomyno>, Alexander T. <https://github.com/a-tarasyuk>, Alvis HT Tang <https://github.com/alvis>, Andrew Makarov <https://github.com/r3nya>, Benjamin Toueg <https://github.com/btoueg>, Bruno Scheufler <https://github.com/brunoscheufler>, Chigozirim C. <https://github.com/smac89>, Christian Vaagland Tellnes <https://github.com/tellnes>, David Junger <https://github.com/touffy>, Deividas Bakanas <https://github.com/DeividasBakanas>, Eugene Y. Q. Shen <https://github.com/eyqs>, Flarna <https://github.com/Flarna>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Huw <https://github.com/hoo29>, Kelvin Jin <https://github.com/kjin>, Klaus Meinhardt <https://github.com/ajafff>, Lishude <https://github.com/islishude>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, Matthieu Sieben <https://github.com/matthieusieben>, Mohsen Azimi <https://github.com/mohsen1>, Nicolas Even <https://github.com/n-e>, Nicolas Voigt <https://github.com/octo-sniffle>, Parambir Singh <https://github.com/parambirs>, Sebastian Silbermann <https://github.com/eps1lon>, Simon Schick <https://github.com/SimonSchick>, Thomas den Hollander <https://github.com/ThomasdenH>, Wilco Bakker <https://github.com/WilcoBakker>, wwwy3y3 <https://github.com/wwwy3y3>, Zane Hannan AU <https://github.com/ZaneHannanAU>, Jeremie Rodriguez <https://github.com/jeremiergz>, Samuel Ainsworth <https://github.com/samuela>, Kyle Uehlein <https://github.com/kuehlein>, 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>, Alberto Schiabel <https://github.com/jkomyno>, Alexander T. <https://github.com/a-tarasyuk>, Alvis HT Tang <https://github.com/alvis>, Andrew Makarov <https://github.com/r3nya>, Benjamin Toueg <https://github.com/btoueg>, Bruno Scheufler <https://github.com/brunoscheufler>, Chigozirim C. <https://github.com/smac89>, Christian Vaagland Tellnes <https://github.com/tellnes>, David Junger <https://github.com/touffy>, Deividas Bakanas <https://github.com/DeividasBakanas>, Eugene Y. Q. Shen <https://github.com/eyqs>, Flarna <https://github.com/Flarna>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Huw <https://github.com/hoo29>, Kelvin Jin <https://github.com/kjin>, Klaus Meinhardt <https://github.com/ajafff>, Lishude <https://github.com/islishude>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, Matthieu Sieben <https://github.com/matthieusieben>, Mohsen Azimi <https://github.com/mohsen1>, Nicolas Even <https://github.com/n-e>, Nicolas Voigt <https://github.com/octo-sniffle>, Parambir Singh <https://github.com/parambirs>, Sebastian Silbermann <https://github.com/eps1lon>, Simon Schick <https://github.com/SimonSchick>, Thomas den Hollander <https://github.com/ThomasdenH>, Wilco Bakker <https://github.com/WilcoBakker>, wwwy3y3 <https://github.com/wwwy3y3>, Zane Hannan AU <https://github.com/ZaneHannanAU>, Samuel Ainsworth <https://github.com/samuela>, Kyle Uehlein <https://github.com/kuehlein>, Jordi Oliveras Rovira <https://github.com/j-oliveras>, and Thanik Bhongbhibhat <https://github.com/bhongy>.
node/buffer.d.ts CHANGED
@@ -1,5 +1,11 @@
1
1
  declare module "buffer" {
2
2
  export const INSPECT_MAX_BYTES: number;
3
+ export const kMaxLength: number;
4
+ export const kStringMaxLength: number;
5
+ export const constants: {
6
+ MAX_LENGTH: number;
7
+ MAX_STRING_LENGTH: number;
8
+ };
3
9
  const BuffType: typeof Buffer;
4
10
 
5
11
  export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary";
node/crypto.d.ts CHANGED
@@ -296,7 +296,7 @@ declare module "crypto" {
296
296
  sign(private_key: SignPrivateKeyInput | KeyLike, output_format: HexBase64Latin1Encoding): string;
297
297
  }
298
298
 
299
- function createVerify(algorith: string, options?: stream.WritableOptions): Verify;
299
+ function createVerify(algorithm: string, options?: stream.WritableOptions): Verify;
300
300
  class Verify extends stream.Writable {
301
301
  private constructor();
302
302
 
node/index.d.ts CHANGED
@@ -32,7 +32,6 @@
32
32
  // Wilco Bakker <https://github.com/WilcoBakker>
33
33
  // wwwy3y3 <https://github.com/wwwy3y3>
34
34
  // Zane Hannan AU <https://github.com/ZaneHannanAU>
35
- // Jeremie Rodriguez <https://github.com/jeremiergz>
36
35
  // Samuel Ainsworth <https://github.com/samuela>
37
36
  // Kyle Uehlein <https://github.com/kuehlein>
38
37
  // Jordi Oliveras Rovira <https://github.com/j-oliveras>
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.6.2",
3
+ "version": "12.6.6",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -164,11 +164,6 @@
164
164
  "url": "https://github.com/ZaneHannanAU",
165
165
  "githubUsername": "ZaneHannanAU"
166
166
  },
167
- {
168
- "name": "Jeremie Rodriguez",
169
- "url": "https://github.com/jeremiergz",
170
- "githubUsername": "jeremiergz"
171
- },
172
167
  {
173
168
  "name": "Samuel Ainsworth",
174
169
  "url": "https://github.com/samuela",
@@ -206,6 +201,6 @@
206
201
  },
207
202
  "scripts": {},
208
203
  "dependencies": {},
209
- "typesPublisherContentHash": "db2b2951207bd07a64002e38de2a4758f8c5ae94942fa69ceb9b327bdef8f8f9",
204
+ "typesPublisherContentHash": "3c2a572639b5a4c44e85196706df9ff3cc9cb4a06ea0ec1d6a972dd96130f88d",
210
205
  "typeScriptVersion": "2.0"
211
206
  }
node/vm.d.ts CHANGED
@@ -84,6 +84,7 @@ declare module "vm" {
84
84
  runInContext(contextifiedSandbox: Context, options?: RunningScriptOptions): any;
85
85
  runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any;
86
86
  runInThisContext(options?: RunningScriptOptions): any;
87
+ createCachedData(): Buffer;
87
88
  }
88
89
  function createContext(sandbox?: Context, options?: CreateContextOptions): Context;
89
90
  function isContext(sandbox: Context): boolean;