@types/tar 4.0.2 → 4.0.3

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. tar/README.md +1 -1
  2. tar/index.d.ts +13 -0
  3. tar/package.json +2 -2
tar/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for tar (https://github.com/npm/node-tar)
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar
9
9
 
10
10
  Additional Details
11
- * Last updated: Wed, 03 Jul 2019 15:47:18 GMT
11
+ * Last updated: Wed, 10 Jul 2019 00:30:51 GMT
12
12
  * Dependencies: @types/minipass, @types/node
13
13
  * Global values: none
14
14
 
tar/index.d.ts CHANGED
@@ -489,6 +489,19 @@ export interface ExtractOptions {
489
489
  * filter.
490
490
  */
491
491
  onentry?(entry: ReadEntry): void;
492
+
493
+ // The following options are mostly internal, but can be modified in some
494
+ // advanced use cases, such as re-using caches between runs.
495
+
496
+ /**
497
+ * The maximum buffer size for fs.read() operations (in bytes). Defaults to 16 MB.
498
+ */
499
+ maxReadSize?: number;
500
+
501
+ /**
502
+ * The maximum size of meta entries that is supported. Defaults to 1 MB.
503
+ */
504
+ maxMetaEntrySize?: number;
492
505
  }
493
506
 
494
507
  export interface ListOptions {
tar/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/tar",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "TypeScript definitions for tar",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -27,6 +27,6 @@
27
27
  "@types/minipass": "*",
28
28
  "@types/node": "*"
29
29
  },
30
- "typesPublisherContentHash": "5eac56f7bdc16e812aeccc805b77236b23cb5e812ff295bbfaf69e1507b3ff6f",
30
+ "typesPublisherContentHash": "3153dd22505c6c845ae3b160de2304faee264aedd2b4b10af8894c76a3d80a02",
31
31
  "typeScriptVersion": "2.0"
32
32
  }