@types/node 13.13.27 → 13.13.28

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 v13.13/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/v13.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 20 Oct 2020 12:08:59 GMT
11
+ * Last updated: Wed, 21 Oct 2020 21:01:44 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
@@ -870,7 +870,7 @@ declare namespace NodeJS {
870
870
  /**
871
871
  * Can only be set if not in worker thread.
872
872
  */
873
- umask(mask?: number): number;
873
+ umask(mask?: string | number): number;
874
874
  uptime(): number;
875
875
  hrtime: HRTime;
876
876
  domain: Domain;
node v13.13/http.d.ts CHANGED
@@ -200,9 +200,12 @@ declare module "http" {
200
200
 
201
201
  // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L77
202
202
  class ClientRequest extends OutgoingMessage {
203
+ /**
204
+ * @deprecate Use `socket` instead.
205
+ */
203
206
  connection: Socket;
204
207
  socket: Socket;
205
- aborted: number;
208
+ aborted: boolean;
206
209
 
207
210
  constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
208
211
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "13.13.27",
3
+ "version": "13.13.28",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -241,6 +241,6 @@
241
241
  },
242
242
  "scripts": {},
243
243
  "dependencies": {},
244
- "typesPublisherContentHash": "d55b80ed0c5b8370fbf1c6356d99778697a1fbbdaf6407c8b7d6da5f7740228d",
244
+ "typesPublisherContentHash": "4668fedc7fe11e66f93ee7bfcc7286741b15a7a9b611ece3f4b922b53bfb878f",
245
245
  "typeScriptVersion": "3.2"
246
246
  }
node v13.13/tls.d.ts CHANGED
@@ -729,7 +729,7 @@ declare module "tls" {
729
729
  * @deprecated
730
730
  */
731
731
  function createSecurePair(credentials?: SecureContext, isServer?: boolean, requestCert?: boolean, rejectUnauthorized?: boolean): SecurePair;
732
- function createSecureContext(details: SecureContextOptions): SecureContext;
732
+ function createSecureContext(options?: SecureContextOptions): SecureContext;
733
733
  function getCiphers(): string[];
734
734
 
735
735
  /**