@types/node 7.10.1 → 7.10.2

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 v7/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/v7
9
9
 
10
10
  Additional Details
11
- * Last updated: Thu, 01 Nov 2018 17:34:44 GMT
11
+ * Last updated: Thu, 15 Nov 2018 00:16:17 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
 
node v7/index.d.ts CHANGED
@@ -3654,8 +3654,8 @@ declare module "crypto" {
3654
3654
  export interface Signer extends NodeJS.WritableStream {
3655
3655
  update(data: string | Buffer): Signer;
3656
3656
  update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Signer;
3657
- sign(private_key: string | { key: string; passphrase: string }): Buffer;
3658
- sign(private_key: string | { key: string; passphrase: string }, output_format: HexBase64Latin1Encoding): string;
3657
+ sign(private_key: string | { key: string; passphrase?: string }): Buffer;
3658
+ sign(private_key: string | { key: string; passphrase?: string }, output_format: HexBase64Latin1Encoding): string;
3659
3659
  }
3660
3660
  export function createVerify(algorith: string): Verify;
3661
3661
  export interface Verify extends NodeJS.WritableStream {
node v7/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "7.10.1",
3
+ "version": "7.10.2",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -46,13 +46,13 @@
46
46
  }
47
47
  ],
48
48
  "main": "",
49
- "types": "",
49
+ "types": "index",
50
50
  "repository": {
51
51
  "type": "git",
52
52
  "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
53
53
  },
54
54
  "scripts": {},
55
55
  "dependencies": {},
56
- "typesPublisherContentHash": "5b15ee4973939632b74cb845faecbb0f49b2025d39cf4eeac9ce58dfb9d903fe",
56
+ "typesPublisherContentHash": "55896a12ed8765c021f335913ef256ce4eb8ac2fc4b0c93611d7ce514e2906ea",
57
57
  "typeScriptVersion": "2.0"
58
58
  }