Socket
Socket
Sign inDemoInstall

@types/tar

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/tar - npm Package Compare versions

Comparing version 6.1.9 to 6.1.10

32

tar/index.d.ts

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc