@types/tar
Advanced tools
Comparing version 6.1.9 to 6.1.10
@@ -818,3 +818,3 @@ /// <reference types="node" /> | ||
options: CreateOptions, | ||
fileList: ReadonlyArray<string>, | ||
fileList: readonly string[], | ||
callback?: (err?: Error) => void, | ||
@@ -829,7 +829,7 @@ ): stream.Readable; | ||
*/ | ||
export function create(options: CreateOptions & FileOptions, fileList: ReadonlyArray<string>): Promise<void>; | ||
export function create(options: CreateOptions & FileOptions & { sync: true }, fileList: ReadonlyArray<string>): void; | ||
export function create(options: CreateOptions & FileOptions, fileList: readonly string[]): Promise<void>; | ||
export function create(options: CreateOptions & FileOptions & { sync: true }, fileList: readonly string[]): void; | ||
export function create( | ||
options: CreateOptions & FileOptions, | ||
fileList: ReadonlyArray<string>, | ||
fileList: readonly string[], | ||
callback: (err?: Error) => void, | ||
@@ -857,3 +857,3 @@ ): void; | ||
options: ExtractOptions, | ||
fileList?: ReadonlyArray<string>, | ||
fileList?: readonly string[], | ||
callback?: (err?: Error) => void, | ||
@@ -872,7 +872,7 @@ ): stream.Writable; | ||
*/ | ||
export function extract(options: ExtractOptions & FileOptions, fileList?: ReadonlyArray<string>): Promise<void>; | ||
export function extract(options: ExtractOptions & FileOptions & { sync: true }, fileList?: ReadonlyArray<string>): void; | ||
export function extract(options: ExtractOptions & FileOptions, fileList?: readonly string[]): Promise<void>; | ||
export function extract(options: ExtractOptions & FileOptions & { sync: true }, fileList?: readonly string[]): void; | ||
export function extract( | ||
options: ExtractOptions & FileOptions, | ||
fileList: ReadonlyArray<string> | undefined, | ||
fileList: readonly string[] | undefined, | ||
callback: (err?: Error) => void, | ||
@@ -892,10 +892,10 @@ ): void; | ||
*/ | ||
export function list(options: ListOptions & RequiredFileOptions, fileList?: ReadonlyArray<string>): Promise<void>; | ||
export function list(options: ListOptions & RequiredFileOptions, fileList?: readonly string[]): Promise<void>; | ||
export function list( | ||
options: ListOptions & RequiredFileOptions & { sync: true }, | ||
fileList?: ReadonlyArray<string>, | ||
fileList?: readonly string[], | ||
): void; | ||
export function list(callback?: (err?: Error) => void): Parse; | ||
export function list(optionsOrFileList: ListOptions | ReadonlyArray<string>, callback?: (err?: Error) => void): Parse; | ||
export function list(options: ListOptions, fileList: ReadonlyArray<string>, callback?: (err?: Error) => void): Parse; | ||
export function list(optionsOrFileList: ListOptions | readonly string[], callback?: (err?: Error) => void): Parse; | ||
export function list(options: ListOptions, fileList: readonly string[], callback?: (err?: Error) => void): Parse; | ||
@@ -915,6 +915,6 @@ /** | ||
*/ | ||
export function replace(options: ReplaceOptions, fileList?: ReadonlyArray<string>): Promise<void>; | ||
export function replace(options: ReplaceOptions, fileList?: readonly string[]): Promise<void>; | ||
export function replace( | ||
options: ReplaceOptions, | ||
fileList: ReadonlyArray<string> | undefined, | ||
fileList: readonly string[] | undefined, | ||
callback: (err?: Error) => void, | ||
@@ -935,6 +935,6 @@ ): Promise<void>; | ||
*/ | ||
export function update(options: ReplaceOptions, fileList?: ReadonlyArray<string>): Promise<void>; | ||
export function update(options: ReplaceOptions, fileList?: readonly string[]): Promise<void>; | ||
export function update( | ||
options: ReplaceOptions, | ||
fileList: ReadonlyArray<string> | undefined, | ||
fileList: readonly string[] | undefined, | ||
callback: (err?: Error) => void, | ||
@@ -941,0 +941,0 @@ ): Promise<void>; |
{ | ||
"name": "@types/tar", | ||
"version": "6.1.9", | ||
"version": "6.1.10", | ||
"description": "TypeScript definitions for tar", | ||
@@ -31,4 +31,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar", | ||
}, | ||
"typesPublisherContentHash": "57421c0bc6a3554f6f686c8c82ee376f57b2d8ce46de5a5049d0d05bff0d3e79", | ||
"typesPublisherContentHash": "31f025dae81a85ec265ef7c9defb7ba06b3692ae5dc402cf34f734a7946c5850", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 10 Nov 2023 22:24:49 GMT | ||
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [minipass](https://npmjs.com/package/minipass) | ||
@@ -14,0 +14,0 @@ |
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
29787