@types/node 12.6.3 → 12.6.4

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.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/buffer.d.ts +6 -0
  3. node/package.json +2 -2
node/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
9
9
 
10
10
  Additional Details
11
- * Last updated: Mon, 15 Jul 2019 16:49:55 GMT
11
+ * Last updated: Tue, 16 Jul 2019 17:19:16 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
 
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.6.3",
3
+ "version": "12.6.4",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -206,6 +206,6 @@
206
206
  },
207
207
  "scripts": {},
208
208
  "dependencies": {},
209
- "typesPublisherContentHash": "128e795452367cc7c19bd361d04ea03fa71718fb800872e964ac44cb1e6c742b",
209
+ "typesPublisherContentHash": "55e1dd2b48fbe58beb147b8157e825fd0074b7568f51f551ca1c7ada156dc083",
210
210
  "typeScriptVersion": "2.0"
211
211
  }