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.11 to 6.1.12

38

tar/index.d.ts

@@ -25,9 +25,2 @@ /// <reference types="node" />

export interface ExtractOptions {
type?: string | undefined;
Directory?: boolean | undefined;
path?: string | undefined;
strip?: number | undefined;
}
export interface ParseStream extends NodeJS.ReadWriteStream {

@@ -245,2 +238,7 @@ position: number;

/**
* Set to any truthy value to create a brotli-compressed archive,
* or an object with settings for zlib.BrotliCompress()
*/
brotli?: boolean | zlib.BrotliOptions;
/**
* A function that gets called with (path, stat) for each entry being added.

@@ -428,2 +426,8 @@ * Return true to add the entry to the archive, or false to omit it.

/**
* Set to any truthy value to create a brotli-compressed archive,
* or an object with settings for zlib.BrotliCompress()
*/
brotli?: boolean | zlib.BrotliOptions | undefined;
/**
* A function that gets called with (path, stat) for each entry being

@@ -552,2 +556,16 @@ * added. Return true to add the entry to the archive, or false to omit it.

/**
* Allow absolute paths, paths containing .., and extracting
* through symbolic links. By default, / is stripped from
* absolute paths, .. paths are not extracted, and any file
* whose location would be modified by a symbolic link is not
* extracted.
*/
preservePaths?: boolean | undefined;
/**
* Alias for presevePaths.
*/
P?: boolean | undefined;
/**
* Unlink files before creating them. Without this option, tar overwrites

@@ -738,8 +756,2 @@ * existing files, which preserves existing hardlinks. With this option,

/**
* Set to any truthy value to create a gzipped archive,
* or an object with settings for zlib.Gzip()
*/
gzip?: boolean | zlib.ZlibOptions | undefined;
/**
* A function that gets called with (path, stat) for each entry being

@@ -746,0 +758,0 @@ * added. Return true to emit the entry from the archive, or false to skip it.

{
"name": "@types/tar",
"version": "6.1.11",
"version": "6.1.12",
"description": "TypeScript definitions for tar",

@@ -31,4 +31,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar",

},
"typesPublisherContentHash": "189829b574735c37eec5a76be4fbd5dde6e8df5b4042f718532fcb7177a054f4",
"typeScriptVersion": "4.6"
"typesPublisherContentHash": "12af6944cac285eaefd8363264b57fc47d3060b01086375fcca3a960b5c7ba48",
"typeScriptVersion": "4.7"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 25 Jan 2024 07:07:05 GMT
* Last updated: Wed, 03 Apr 2024 22:35:26 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