Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.5 to 6.1.6

41

tar/index.d.ts

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

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