@types/tar
Advanced tools
Comparing version 6.1.5 to 6.1.6
@@ -9,5 +9,5 @@ // Type definitions for tar 6.1 | ||
import stream = require('stream'); | ||
import zlib = require('zlib'); | ||
import MiniPass = require('minipass'); | ||
import stream = require("stream"); | ||
import zlib = require("zlib"); | ||
import MiniPass = require("minipass"); | ||
@@ -105,4 +105,4 @@ // #region Interfaces | ||
0: string; | ||
'\0': string; | ||
'': string; | ||
"\0": string; | ||
"": string; | ||
1: string; | ||
@@ -212,12 +212,12 @@ 2: string; | ||
export interface Parse extends ParseStream { | ||
on(event: 'end' | 'close', listener: () => void): this; | ||
on(event: 'entry', listener: (entry: ReadEntry) => void): this; | ||
on(event: "end" | "close", listener: () => void): this; | ||
on(event: "entry", listener: (entry: ReadEntry) => void): this; | ||
} | ||
export const Parse: { | ||
new (opt?: ParseOptions): Parse; | ||
new(opt?: ParseOptions): Parse; | ||
}; | ||
//#endregion | ||
// #endregion | ||
//#region Global Methods | ||
// #region Global Methods | ||
@@ -327,5 +327,5 @@ export interface PackOptions { | ||
export class Pack extends MiniPass { | ||
linkCache: PackOptions['linkCache']; | ||
readdirCache: PackOptions['readdirCache']; | ||
statCache: PackOptions['statCache']; | ||
linkCache: PackOptions["linkCache"]; | ||
readdirCache: PackOptions["readdirCache"]; | ||
statCache: PackOptions["statCache"]; | ||
@@ -534,3 +534,3 @@ static Sync: typeof PackSync; | ||
*/ | ||
'keep-newer'?: boolean | undefined; | ||
"keep-newer"?: boolean | undefined; | ||
@@ -540,3 +540,3 @@ /** | ||
*/ | ||
'keep-newer-files'?: boolean | undefined; | ||
"keep-newer-files"?: boolean | undefined; | ||
@@ -557,3 +557,3 @@ /** | ||
*/ | ||
'keep-existing'?: boolean | undefined; | ||
"keep-existing"?: boolean | undefined; | ||
@@ -578,3 +578,3 @@ /** | ||
*/ | ||
'strip-components'?: number | undefined; | ||
"strip-components"?: number | undefined; | ||
@@ -624,3 +624,3 @@ /** | ||
m?: boolean | undefined; | ||
'no-mtime'?: boolean | undefined; | ||
"no-mtime"?: boolean | undefined; | ||
@@ -903,3 +903,6 @@ /** | ||
export function list(options: ListOptions & RequiredFileOptions, fileList?: ReadonlyArray<string>): Promise<void>; | ||
export function list(options: ListOptions & RequiredFileOptions & { sync: true }, fileList?: ReadonlyArray<string>): void; | ||
export function list( | ||
options: ListOptions & RequiredFileOptions & { sync: true }, | ||
fileList?: ReadonlyArray<string>, | ||
): void; | ||
export function list(callback?: (err?: Error) => void): Parse; | ||
@@ -906,0 +909,0 @@ export function list(optionsOrFileList: ListOptions | ReadonlyArray<string>, callback?: (err?: Error) => void): Parse; |
{ | ||
"name": "@types/tar", | ||
"version": "6.1.5", | ||
"version": "6.1.6", | ||
"description": "TypeScript definitions for tar", | ||
@@ -31,4 +31,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar", | ||
}, | ||
"typesPublisherContentHash": "e0e9c306b0a501a7d753543d5a95ddc55bef6a6be7f2423a03ba6f5de5adaf26", | ||
"typesPublisherContentHash": "4065914f29cd646640ddaebd234ed76cb5ab458fbb475ff60250404bd13f561c", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 09 May 2023 22:02:56 GMT | ||
* Last updated: Tue, 12 Sep 2023 12:34:30 GMT | ||
* Dependencies: [@types/minipass](https://npmjs.com/package/@types/minipass), [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30254
827