@types/tar 6.1.4 → 6.1.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.
- tar/README.md +1 -1
- tar/index.d.ts +9 -9
- tar/package.json +3 -3
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:
|
|
11
|
+
* Last updated: Tue, 09 May 2023 22:02:56 GMT
|
|
12
12
|
* Dependencies: [@types/minipass](https://npmjs.com/package/@types/minipass), [@types/node](https://npmjs.com/package/@types/node)
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
tar/index.d.ts
CHANGED
|
@@ -396,10 +396,10 @@ export interface ReadEntry extends MiniPass, HeaderProperties {
|
|
|
396
396
|
|
|
397
397
|
export interface CreateOptions {
|
|
398
398
|
/**
|
|
399
|
-
* A function that will get called with (message, data)
|
|
400
|
-
*
|
|
399
|
+
* A function that will get called with (code, message, data) for any
|
|
400
|
+
* warnings encountered. (See "Warnings and Errors")
|
|
401
401
|
*/
|
|
402
|
-
onwarn?(message: string, data: Buffer): void;
|
|
402
|
+
onwarn?(code: string, message: string, data: Buffer): void;
|
|
403
403
|
|
|
404
404
|
/**
|
|
405
405
|
* Treat warnings as crash-worthy errors. Default false.
|
|
@@ -491,10 +491,10 @@ export interface CreateOptions {
|
|
|
491
491
|
|
|
492
492
|
export interface ExtractOptions {
|
|
493
493
|
/**
|
|
494
|
-
* A function that will get called with (message, data)
|
|
495
|
-
*
|
|
494
|
+
* A function that will get called with (code, message, data) for any
|
|
495
|
+
* warnings encountered. (See "Warnings and Errors")
|
|
496
496
|
*/
|
|
497
|
-
onwarn?(message: string, data: Buffer): void;
|
|
497
|
+
onwarn?(code: string, message: string, data: Buffer): void;
|
|
498
498
|
|
|
499
499
|
/**
|
|
500
500
|
* Treat warnings as crash-worthy errors. Default false.
|
|
@@ -709,10 +709,10 @@ export interface ReplaceOptions {
|
|
|
709
709
|
sync?: boolean | undefined;
|
|
710
710
|
|
|
711
711
|
/**
|
|
712
|
-
* A function that will get called with (message, data)
|
|
713
|
-
*
|
|
712
|
+
* A function that will get called with (code, message, data) for any
|
|
713
|
+
* warnings encountered. (See "Warnings and Errors")
|
|
714
714
|
*/
|
|
715
|
-
onwarn?(message: string, data: Buffer): void;
|
|
715
|
+
onwarn?(code: string, message: string, data: Buffer): void;
|
|
716
716
|
|
|
717
717
|
/**
|
|
718
718
|
* Treat warnings as crash-worthy errors. Default false.
|
tar/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/tar",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.5",
|
|
4
4
|
"description": "TypeScript definitions for tar",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
"@types/node": "*",
|
|
29
29
|
"minipass": "^4.0.0"
|
|
30
30
|
},
|
|
31
|
-
"typesPublisherContentHash": "
|
|
32
|
-
"typeScriptVersion": "4.
|
|
31
|
+
"typesPublisherContentHash": "e0e9c306b0a501a7d753543d5a95ddc55bef6a6be7f2423a03ba6f5de5adaf26",
|
|
32
|
+
"typeScriptVersion": "4.3"
|
|
33
33
|
}
|