@types/node 12.6.1 → 12.6.5
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 +1 -1
- node/buffer.d.ts +6 -0
- node/crypto.d.ts +1 -1
- node/globals.d.ts +1 -0
- node/package.json +2 -2
- node/vm.d.ts +1 -0
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:
|
|
11
|
+
* Last updated: Tue, 16 Jul 2019 21:57:49 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/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(
|
|
299
|
+
function createVerify(algorithm: string, options?: stream.WritableOptions): Verify;
|
|
300
300
|
class Verify extends stream.Writable {
|
|
301
301
|
private constructor();
|
|
302
302
|
|
node/globals.d.ts
CHANGED
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "12.6.
|
|
3
|
+
"version": "12.6.5",
|
|
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": "
|
|
209
|
+
"typesPublisherContentHash": "affae106e5384884b6881026d3163a8513e02f6ad07451395fe464203ebf4074",
|
|
210
210
|
"typeScriptVersion": "2.0"
|
|
211
211
|
}
|
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;
|