@types/node 12.11.4 → 12.11.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.
Files changed (4) hide show
  1. node/README.md +1 -1
  2. node/crypto.d.ts +2 -0
  3. node/globals.d.ts +2 -1
  4. 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: Tue, 22 Oct 2019 20:42:50 GMT
11
+ * Last updated: Tue, 22 Oct 2019 21:00:17 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/crypto.d.ts CHANGED
@@ -398,6 +398,8 @@ declare module "crypto" {
398
398
  }
399
399
  function publicEncrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer;
400
400
  function publicDecrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer;
401
+ function privateDecrypt(private_key: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer;
402
+ function privateEncrypt(private_key: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer;
401
403
  function getCiphers(): string[];
402
404
  function getCurves(): string[];
403
405
  function getHashes(): string[];
node/globals.d.ts CHANGED
@@ -701,7 +701,8 @@ declare namespace NodeJS {
701
701
  | 'openbsd'
702
702
  | 'sunos'
703
703
  | 'win32'
704
- | 'cygwin';
704
+ | 'cygwin'
705
+ | 'netbsd';
705
706
 
706
707
  type Signals =
707
708
  "SIGABRT" | "SIGALRM" | "SIGBUS" | "SIGCHLD" | "SIGCONT" | "SIGFPE" | "SIGHUP" | "SIGILL" | "SIGINT" | "SIGIO" |
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.11.4",
3
+ "version": "12.11.5",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -211,6 +211,6 @@
211
211
  },
212
212
  "scripts": {},
213
213
  "dependencies": {},
214
- "typesPublisherContentHash": "bedbb31a04291dc8353d119386b33cbe6a90f0aad781ebe21fbb5c2ff46f9f65",
214
+ "typesPublisherContentHash": "a0748f68d9a61c534ca029a8a1dc9e6baaf3ca92dfb5e6f1250d6328dbb262c8",
215
215
  "typeScriptVersion": "2.0"
216
216
  }