@types/node 10.5.1 → 10.5.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.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/index.d.ts +17 -3
  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: Fri, 29 Jun 2018 03:18:45 GMT
11
+ * Last updated: Fri, 06 Jul 2018 00:07:02 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/index.d.ts CHANGED
@@ -1249,6 +1249,7 @@ declare module "http" {
1249
1249
  }
1250
1250
 
1251
1251
  export class Agent {
1252
+ maxFreeSockets: number;
1252
1253
  maxSockets: number;
1253
1254
  sockets: any;
1254
1255
  requests: any;
@@ -4471,6 +4472,17 @@ declare module "fs" {
4471
4472
  /** Constant for fs.access(). File can be executed by the calling process. */
4472
4473
  export const X_OK: number;
4473
4474
 
4475
+ // File Copy Constants
4476
+
4477
+ /** Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists. */
4478
+ export const COPYFILE_EXCL: number;
4479
+
4480
+ /** Constant for fs.copyFile. copy operation will attempt to create a copy-on-write reflink. If the underlying platform does not support copy-on-write, then a fallback copy mechanism is used. */
4481
+ export const COPYFILE_FICLONE: number;
4482
+
4483
+ /** Constant for fs.copyFile. Copy operation will attempt to create a copy-on-write reflink. If the underlying platform does not support copy-on-write, then the operation will fail with an error. */
4484
+ export const COPYFILE_FICLONE_FORCE: number;
4485
+
4474
4486
  // File Open Constants
4475
4487
 
4476
4488
  /** Constant for fs.open(). Flag indicating to open a file for read-only access. */
@@ -4584,9 +4596,6 @@ declare module "fs" {
4584
4596
 
4585
4597
  /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */
4586
4598
  export const S_IXOTH: number;
4587
-
4588
- /** Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists. */
4589
- export const COPYFILE_EXCL: number;
4590
4599
  }
4591
4600
 
4592
4601
  /**
@@ -6417,6 +6426,8 @@ declare module "assert" {
6417
6426
  export function rejects(block: Function | Promise<any>, error: Function | RegExp | Object | Error, message?: string): Promise<void>;
6418
6427
  export function doesNotReject(block: Function | Promise<any>, message?: string): Promise<void>;
6419
6428
  export function doesNotReject(block: Function | Promise<any>, error: Function | RegExp | Object | Error, message?: string): Promise<void>;
6429
+
6430
+ export var strict: typeof internal;
6420
6431
  }
6421
6432
 
6422
6433
  export = internal;
@@ -6700,6 +6711,9 @@ declare module "constants" {
6700
6711
  export var R_OK: number;
6701
6712
  export var W_OK: number;
6702
6713
  export var X_OK: number;
6714
+ export var COPYFILE_EXCL: number;
6715
+ export var COPYFILE_FICLONE: number;
6716
+ export var COPYFILE_FICLONE_FORCE: number;
6703
6717
  export var UV_UDP_REUSEADDR: number;
6704
6718
  export var SIGQUIT: number;
6705
6719
  export var SIGTRAP: number;
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "10.5.1",
3
+ "version": "10.5.2",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -140,6 +140,6 @@
140
140
  },
141
141
  "scripts": {},
142
142
  "dependencies": {},
143
- "typesPublisherContentHash": "6e45ef959fabda11786bc0885f1e7d4b71ba41b2091a8f601f03de0fbc7bd973",
143
+ "typesPublisherContentHash": "6805f5cefcfd70ab67f521919cd1b191301cdf6bf44990a54a16133ff4bc95d0",
144
144
  "typeScriptVersion": "2.0"
145
145
  }