Upgrading tar from 7.x to 8.x
Comparison of the public API of tar 7.5.24 and 8.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 18 |
|---|---|
| Removed exports | 24 |
| Changed signatures | 20 |
| Removed class or interface members | 242 |
| Changed class or interface members | 54 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 1 |
| New exports | 186 |
Removed import paths
| Removed import paths |
|---|
tar/c |
tar/r |
tar/t |
tar/u |
tar/x |
tar/pax |
tar/list |
tar/pack |
tar/parse |
tar/types |
tar/create |
tar/header |
tar/unpack |
tar/update |
tar/extract |
tar/replace |
tar/read-entry |
tar/write-entry |
Removed exports
| import | export | kind | Before |
|---|---|---|---|
tar | State | type | "begin" | "header" | "ignore" | "meta" | "body" |
tar | filesFilter | variable | (opt: TarOptions, files: string[]): void |
tar | WriteEntryTar | class | class |
tar | WriteEntrySync | class | class |
tar | TarOptionsWithAliases | interface | interface |
tar | TarOptionsWithAliasesFile | type | (TarOptionsWithAliases & { file: string; }) | (TarOptionsWithAliases & { f: string; }) |
tar | TarOptionsWithAliasesSync | type | TarOptionsWithAliases & { sync: true; } |
tar | TarOptionsWithAliasesAsync | type | TarOptionsWithAliases & { sync?: false | undefined; } |
tar | TarOptionsWithAliasesSyncFile | type | TarOptionsWithAliases & { sync: true; } & TarOptionsWithAliasesFile |
tar | TarOptionsWithAliasesAsyncFile | type | TarOptionsWithAliases & { sync?: false | undefined; } & TarOptionsWithAliasesFile |
tar | TarOptionsWithAliasesSyncNoFile | type | TarOptionsWithAliases & { sync: true; } & { f?: undefined; file?: undefined; } |
tar | TarOptionsWithAliasesAsyncNoFile | type | TarOptionsWithAliases & { sync?: false | undefined; } & { f?: undefined; file?: undefined; } |
tar/raw | State | type | "begin" | "header" | "ignore" | "meta" | "body" |
tar/raw | filesFilter | variable | (opt: TarOptions, files: string[]): void |
tar/raw | WriteEntryTar | class | class |
tar/raw | WriteEntrySync | class | class |
tar/raw | TarOptionsWithAliases | interface | interface |
tar/raw | TarOptionsWithAliasesFile | type | (TarOptionsWithAliases & { file: string; }) | (TarOptionsWithAliases & { f: string; }) |
tar/raw | TarOptionsWithAliasesSync | type | TarOptionsWithAliases & { sync: true; } |
tar/raw | TarOptionsWithAliasesAsync | type | TarOptionsWithAliases & { sync?: false | undefined; } |
tar/raw | TarOptionsWithAliasesSyncFile | type | TarOptionsWithAliases & { sync: true; } & TarOptionsWithAliasesFile |
tar/raw | TarOptionsWithAliasesAsyncFile | type | TarOptionsWithAliases & { sync?: false | undefined; } & TarOptionsWithAliasesFile |
tar/raw | TarOptionsWithAliasesSyncNoFile | type | TarOptionsWithAliases & { sync: true; } & { f?: undefined; file?: undefined; } |
tar/raw | TarOptionsWithAliasesAsyncNoFile | type | TarOptionsWithAliases & { sync?: false | undefined; } & { f?: undefined; file?: undefined; } |
Changed signatures
| export | Before | After |
|---|---|---|
tar · c | (): Pack | (opt: TarOptionsWithAliasesAsyncNoFile): Pack | (entries: string[]): Pack | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): Pack | (opt: TarOptionsWithAliasesSyncNoFile): PackSync | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): PackSync | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): void | (opt: … | (opt: Omit<CreateOptions, Aliased> & Partial<Pick<CreateOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preservePaths">> & { readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: any; readonly P?: boolean | undefined; readonly m?: boolean | undefined; readonly 'no-mtime'?: boolean | undefined; readonly L?: boolean | undefined; readonly h?: boolean | undefined; } & ({ file: string; } | { f: string; }), files: PackInput[]): Promise<void> | (opt: Omit<CreateOptions, Aliased> & Partial<Pick<CreateOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preserv… |
tar · r | (): never | (opt: TarOptionsWithAliasesAsyncNoFile): never | (entries: string[]): never | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesSyncNoFile): never | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): void | (opt: Ta… | (opt: Omit<ReplaceOptions, Aliased> & Partial<Pick<ReplaceOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preservePaths">> & ({ readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: any; readonly P?: boolean | undefined; readonly m?: boolean | undefined; readonly 'no-mtime'?: boolean | undefined; readonly L?: boolean | undefined; readonly h?: boolean | undefined; } & ({ file: string; } | { f: string; })), files: PackInput[]): Promise<void> |
tar · t | (): Parser | (opt: TarOptionsWithAliasesAsyncNoFile): Parser | (entries: string[]): Parser | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): Parser | (opt: TarOptionsWithAliasesSyncNoFile): Parser & { sync: true; } | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): Parser & { sync: true; } | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOp… | (opt: Omit<Omit<ListOptions, "fs" | "cwd"> & Partial<Pick<ListOptions, "fs">>, Aliased> & Partial<Pick<Omit<ListOptions, "fs" | "cwd"> & Partial<Pick<ListOptions, "fs">>, "file" | "onEntry">> & { readonly f?: string | undefined; readonly onentry?: ((entry: ReadEntry) => unknown) | undefined; readonly onReadEntry?: ((entry: ReadEntry) => unknown) | undefined; }, files?: string[] | undefined): Promise<void> |
tar · u | (): never | (opt: TarOptionsWithAliasesAsyncNoFile): never | (entries: string[]): never | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesSyncNoFile): never | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): void | (opt: Ta… | (opt: Omit<ReplaceOptions, Aliased> & Partial<Pick<ReplaceOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preservePaths">> & ({ readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: any; readonly P?: boolean | undefined; readonly m?: boolean | undefined; readonly 'no-mtime'?: boolean | undefined; readonly L?: boolean | undefined; readonly h?: boolean | undefined; } & ({ file: string; } | { f: string; })), files: PackInput[]): Promise<void> |
tar · x | (): Unpack | (opt: TarOptionsWithAliasesAsyncNoFile): Unpack | (entries: string[]): Unpack | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): Unpack | (opt: TarOptionsWithAliasesSyncNoFile): UnpackSync | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): UnpackSync | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): v… | (opt: WithAliases<ExtractOptions>, files?: string[] | undefined): Promise<void> |
tar · list | (): Parser | (opt: TarOptionsWithAliasesAsyncNoFile): Parser | (entries: string[]): Parser | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): Parser | (opt: TarOptionsWithAliasesSyncNoFile): Parser & { sync: true; } | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): Parser & { sync: true; } | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOp… | (opt: Omit<Omit<ListOptions, "fs" | "cwd"> & Partial<Pick<ListOptions, "fs">>, Aliased> & Partial<Pick<Omit<ListOptions, "fs" | "cwd"> & Partial<Pick<ListOptions, "fs">>, "file" | "onEntry">> & { readonly f?: string | undefined; readonly onentry?: ((entry: ReadEntry) => unknown) | undefined; readonly onReadEntry?: ((entry: ReadEntry) => unknown) | undefined; }, files?: string[] | undefined): Promise<void> |
tar · create | (): Pack | (opt: TarOptionsWithAliasesAsyncNoFile): Pack | (entries: string[]): Pack | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): Pack | (opt: TarOptionsWithAliasesSyncNoFile): PackSync | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): PackSync | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): void | (opt: … | (opt: Omit<CreateOptions, Aliased> & Partial<Pick<CreateOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preservePaths">> & { readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: any; readonly P?: boolean | undefined; readonly m?: boolean | undefined; readonly 'no-mtime'?: boolean | undefined; readonly L?: boolean | undefined; readonly h?: boolean | undefined; } & ({ file: string; } | { f: string; }), files: PackInput[]): Promise<void> | (opt: Omit<CreateOptions, Aliased> & Partial<Pick<CreateOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preserv… |
tar · update | (): never | (opt: TarOptionsWithAliasesAsyncNoFile): never | (entries: string[]): never | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesSyncNoFile): never | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): void | (opt: Ta… | (opt: Omit<ReplaceOptions, Aliased> & Partial<Pick<ReplaceOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preservePaths">> & ({ readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: any; readonly P?: boolean | undefined; readonly m?: boolean | undefined; readonly 'no-mtime'?: boolean | undefined; readonly L?: boolean | undefined; readonly h?: boolean | undefined; } & ({ file: string; } | { f: string; })), files: PackInput[]): Promise<void> |
tar · extract | (): Unpack | (opt: TarOptionsWithAliasesAsyncNoFile): Unpack | (entries: string[]): Unpack | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): Unpack | (opt: TarOptionsWithAliasesSyncNoFile): UnpackSync | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): UnpackSync | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): v… | (opt: WithAliases<ExtractOptions>, files?: string[] | undefined): Promise<void> |
tar · replace | (): never | (opt: TarOptionsWithAliasesAsyncNoFile): never | (entries: string[]): never | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesSyncNoFile): never | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): void | (opt: Ta… | (opt: Omit<ReplaceOptions, Aliased> & Partial<Pick<ReplaceOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preservePaths">> & ({ readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: any; readonly P?: boolean | undefined; readonly m?: boolean | undefined; readonly 'no-mtime'?: boolean | undefined; readonly L?: boolean | undefined; readonly h?: boolean | undefined; } & ({ file: string; } | { f: string; })), files: PackInput[]): Promise<void> |
tar/raw · c | (): Pack | (opt: TarOptionsWithAliasesAsyncNoFile): Pack | (entries: string[]): Pack | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): Pack | (opt: TarOptionsWithAliasesSyncNoFile): PackSync | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): PackSync | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): void | (opt: … | (opt: Omit<CreateOptions, Aliased> & Partial<Pick<CreateOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preservePaths">> & { readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: any; readonly P?: boolean | undefined; readonly m?: boolean | undefined; readonly 'no-mtime'?: boolean | undefined; readonly L?: boolean | undefined; readonly h?: boolean | undefined; } & ({ file: string; } | { f: string; }), files: PackInput[]): Promise<void> | (opt: Omit<CreateOptions, Aliased> & Partial<Pick<CreateOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preserv… |
tar/raw · r | (): never | (opt: TarOptionsWithAliasesAsyncNoFile): never | (entries: string[]): never | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesSyncNoFile): never | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): void | (opt: Ta… | (opt: Omit<ReplaceOptions, Aliased> & Partial<Pick<ReplaceOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preservePaths">> & ({ readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: any; readonly P?: boolean | undefined; readonly m?: boolean | undefined; readonly 'no-mtime'?: boolean | undefined; readonly L?: boolean | undefined; readonly h?: boolean | undefined; } & ({ file: string; } | { f: string; })), files: PackInput[]): Promise<void> |
tar/raw · t | (): Parser | (opt: TarOptionsWithAliasesAsyncNoFile): Parser | (entries: string[]): Parser | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): Parser | (opt: TarOptionsWithAliasesSyncNoFile): Parser & { sync: true; } | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): Parser & { sync: true; } | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOp… | (opt: Omit<Omit<ListOptions, "fs" | "cwd"> & Partial<Pick<ListOptions, "fs">>, Aliased> & Partial<Pick<Omit<ListOptions, "fs" | "cwd"> & Partial<Pick<ListOptions, "fs">>, "file" | "onEntry">> & { readonly f?: string | undefined; readonly onentry?: ((entry: ReadEntry) => unknown) | undefined; readonly onReadEntry?: ((entry: ReadEntry) => unknown) | undefined; }, files?: string[] | undefined): Promise<void> |
tar/raw · u | (): never | (opt: TarOptionsWithAliasesAsyncNoFile): never | (entries: string[]): never | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesSyncNoFile): never | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): void | (opt: Ta… | (opt: Omit<ReplaceOptions, Aliased> & Partial<Pick<ReplaceOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preservePaths">> & ({ readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: any; readonly P?: boolean | undefined; readonly m?: boolean | undefined; readonly 'no-mtime'?: boolean | undefined; readonly L?: boolean | undefined; readonly h?: boolean | undefined; } & ({ file: string; } | { f: string; })), files: PackInput[]): Promise<void> |
tar/raw · x | (): Unpack | (opt: TarOptionsWithAliasesAsyncNoFile): Unpack | (entries: string[]): Unpack | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): Unpack | (opt: TarOptionsWithAliasesSyncNoFile): UnpackSync | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): UnpackSync | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): v… | (opt: WithAliases<ExtractOptions>, files?: string[] | undefined): Promise<void> |
tar/raw · list | (): Parser | (opt: TarOptionsWithAliasesAsyncNoFile): Parser | (entries: string[]): Parser | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): Parser | (opt: TarOptionsWithAliasesSyncNoFile): Parser & { sync: true; } | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): Parser & { sync: true; } | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOp… | (opt: Omit<Omit<ListOptions, "fs" | "cwd"> & Partial<Pick<ListOptions, "fs">>, Aliased> & Partial<Pick<Omit<ListOptions, "fs" | "cwd"> & Partial<Pick<ListOptions, "fs">>, "file" | "onEntry">> & { readonly f?: string | undefined; readonly onentry?: ((entry: ReadEntry) => unknown) | undefined; readonly onReadEntry?: ((entry: ReadEntry) => unknown) | undefined; }, files?: string[] | undefined): Promise<void> |
tar/raw · create | (): Pack | (opt: TarOptionsWithAliasesAsyncNoFile): Pack | (entries: string[]): Pack | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): Pack | (opt: TarOptionsWithAliasesSyncNoFile): PackSync | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): PackSync | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): void | (opt: … | (opt: Omit<CreateOptions, Aliased> & Partial<Pick<CreateOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preservePaths">> & { readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: any; readonly P?: boolean | undefined; readonly m?: boolean | undefined; readonly 'no-mtime'?: boolean | undefined; readonly L?: boolean | undefined; readonly h?: boolean | undefined; } & ({ file: string; } | { f: string; }), files: PackInput[]): Promise<void> | (opt: Omit<CreateOptions, Aliased> & Partial<Pick<CreateOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preserv… |
tar/raw · update | (): never | (opt: TarOptionsWithAliasesAsyncNoFile): never | (entries: string[]): never | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesSyncNoFile): never | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): void | (opt: Ta… | (opt: Omit<ReplaceOptions, Aliased> & Partial<Pick<ReplaceOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preservePaths">> & ({ readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: any; readonly P?: boolean | undefined; readonly m?: boolean | undefined; readonly 'no-mtime'?: boolean | undefined; readonly L?: boolean | undefined; readonly h?: boolean | undefined; } & ({ file: string; } | { f: string; })), files: PackInput[]): Promise<void> |
tar/raw · extract | (): Unpack | (opt: TarOptionsWithAliasesAsyncNoFile): Unpack | (entries: string[]): Unpack | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): Unpack | (opt: TarOptionsWithAliasesSyncNoFile): UnpackSync | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): UnpackSync | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): v… | (opt: WithAliases<ExtractOptions>, files?: string[] | undefined): Promise<void> |
tar/raw · replace | (): never | (opt: TarOptionsWithAliasesAsyncNoFile): never | (entries: string[]): never | (opt: TarOptionsWithAliasesAsyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesSyncNoFile): never | (opt: TarOptionsWithAliasesSyncNoFile, entries: string[]): never | (opt: TarOptionsWithAliasesAsyncFile): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[]): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, cb: CB): Promise<void> | (opt: TarOptionsWithAliasesAsyncFile, entries: string[], cb: CB): Promise<void> | (opt: TarOptionsWithAliasesSyncFile): void | (opt: Ta… | (opt: Omit<ReplaceOptions, Aliased> & Partial<Pick<ReplaceOptions, "gzip" | "cwd" | "file" | "follow" | "noMtime" | "preservePaths">> & ({ readonly C?: string | undefined; readonly f?: string | undefined; readonly z?: any; readonly P?: boolean | undefined; readonly m?: boolean | undefined; readonly 'no-mtime'?: boolean | undefined; readonly L?: boolean | undefined; readonly h?: boolean | undefined; } & ({ file: string; } | { f: string; })), files: PackInput[]): Promise<void> |
Removed class or interface members
| member | import | Before |
|---|---|---|
Pack.zip | tar | any |
Pack.file | tar | string |
Pack.sync | tar | boolean |
Pack.warn | tar | (code: string, message: string | Error, data?: WarnData | undefined): void |
Pack.mtime | tar | Date | undefined |
Pack.noPax | tar | boolean |
Pack.pause | tar | (): void |
Pack.write | tar | (path: string | ReadEntry): boolean |
Pack.filter | tar | (path: string, entry: any): boolean |
Pack.follow | tar | boolean |
Pack.prefix | tar | string |
Pack.strict | tar | boolean |
Pack.noMtime | tar | boolean |
Pack.portable | tar | boolean |
Pack.linkCache | tar | Map<`${number}:${number}`, string> |
Pack.statCache | tar | Map<string, Stats> |
Pack.noDirRecurse | tar | boolean |
Pack.onWriteEntry | tar | ((entry: WriteEntry) => void) | undefined |
Pack.readdirCache | tar | Map<string, string[]> |
Pack.preservePaths | tar | boolean |
Parser.file | tar | string |
Parser.zstd | tar | any |
Parser.abort | tar | (error: Error): void |
Parser.write | tar | (buffer: string | Uint8Array<ArrayBufferLike>, cb?: ((err?: Error | null | undefined) => void) | undefined): boolean | (str: string, encoding?: any, cb?: ((err?: Error | null | undefined) => void) | undefined): boolean |
Parser.brotli | tar | any |
Parser.filter | tar | (path: string, entry: any): boolean |
Parser.strict | tar | boolean |
Parser.readable | tar | false |
Parser.writable | tar | true |
Parser.maxDecompressionRatio | tar | number |
Unpack.end | tar | (cb?: (() => void) | undefined): Unpack | (data: any, cb?: (() => void) | undefined): Unpack | (str: string, encoding?: any, cb?: (() => void) | undefined): Unpack |
Unpack.file | tar | string |
Unpack.zstd | tar | any |
Unpack.abort | tar | (error: Error): void |
Unpack.write | tar | (buffer: string | Uint8Array<ArrayBufferLike>, cb?: ((err?: Error | null | undefined) => void) | undefined): boolean | (str: string, encoding?: any, cb?: ((err?: Error | null | undefined) => void) | undefined): boolean |
Unpack.brotli | tar | any |
Unpack.filter | tar | (path: string, entry: any): boolean |
Unpack.strict | tar | boolean |
Unpack.readable | tar | false |
Unpack.setOwner | tar | boolean |
Unpack.writable | tar | true |
Unpack.transform | tar | ((entry: ReadEntry) => false | "" | 0 | ReadEntry | null | undefined) | undefined |
Unpack.reservations | tar | PathReservations |
Unpack.maxMetaEntrySize | tar | number |
Unpack.maxDecompressionRatio | tar | number |
PackJob.stat | tar | any |
PackJob.entry | tar | WriteEntry | WriteEntryTar | undefined |
PackJob.piped | tar | boolean |
PackJob.ignore | tar | boolean |
PackJob.pending | tar | boolean |
PackJob.readdir | tar | string[] | undefined |
PackJob.pendingLink | tar | boolean |
PackSync.zip | tar | any |
PackSync.file | tar | string |
PackSync.jobs | tar | number |
PackSync.sync | tar | true |
PackSync.warn | tar | (code: string, message: string | Error, data?: WarnData | undefined): void |
PackSync.mtime | tar | Date | undefined |
PackSync.noPax | tar | boolean |
PackSync.pause | tar | (): void |
PackSync.write | tar | (path: string | ReadEntry): boolean |
PackSync.filter | tar | (path: string, entry: any): boolean |
PackSync.follow | tar | boolean |
PackSync.prefix | tar | string |
PackSync.resume | tar | (): void |
PackSync.strict | tar | boolean |
PackSync.noMtime | tar | boolean |
PackSync.portable | tar | boolean |
PackSync.linkCache | tar | Map<`${number}:${number}`, string> |
PackSync.statCache | tar | Map<string, Stats> |
PackSync.noDirRecurse | tar | boolean |
PackSync.onWriteEntry | tar | ((entry: WriteEntry) => void) | undefined |
PackSync.readdirCache | tar | Map<string, string[]> |
PackSync.preservePaths | tar | boolean |
ReadEntry.meta | tar | boolean |
ReadEntry.write | tar | (data: Buffer): boolean |
ReadEntry.remain | tar | number |
ReadEntry.blockRemain | tar | number |
ReadEntry.startBlockSize | tar | number |
UnpackSync.end | tar | (cb?: (() => void) | undefined): UnpackSync | (data: any, cb?: (() => void) | undefined): UnpackSync | (str: string, encoding?: any, cb?: (() => void) | undefined): UnpackSync |
UnpackSync.file | tar | string |
UnpackSync.sync | tar | true |
UnpackSync.zstd | tar | any |
UnpackSync.abort | tar | (error: Error): void |
UnpackSync.write | tar | (buffer: string | Uint8Array<ArrayBufferLike>, cb?: ((err?: Error | null | undefined) => void) | undefined): boolean | (str: string, encoding?: any, cb?: ((err?: Error | null | undefined) => void) | undefined): boolean |
UnpackSync.brotli | tar | any |
UnpackSync.filter | tar | (path: string, entry: any): boolean |
UnpackSync.strict | tar | boolean |
UnpackSync.readable | tar | false |
UnpackSync.setOwner | tar | boolean |
UnpackSync.writable | tar | true |
UnpackSync.transform | tar | ((entry: ReadEntry) => false | "" | 0 | ReadEntry | null | undefined) | undefined |
UnpackSync.reservations | tar | PathReservations |
UnpackSync.maxMetaEntrySize | tar | number |
UnpackSync.maxDecompressionRatio | tar | number |
WriteEntry.fd | tar | number | undefined |
WriteEntry.buf | tar | any |
WriteEntry.cwd | tar | string |
WriteEntry.pos | tar | number |
WriteEntry.emit | tar | (ev: string | number | symbol, ...data: unknown[]): boolean |
WriteEntry.stat | tar | any |
WriteEntry.warn | tar | (code: string, message: string | Error, data?: WarnData | undefined): void |
WriteEntry.myuid | tar | number |
WriteEntry.noPax | tar | boolean |
WriteEntry.win32 | tar | boolean |
WriteEntry.write | tar | (buffer: any, cb?: (() => void) | undefined): boolean | (str: any, encoding?: any, cb?: (() => void) | undefined): boolean |
WriteEntry.length | tar | number |
WriteEntry.myuser | tar | string |
WriteEntry.offset | tar | number |
WriteEntry.prefix | tar | string | undefined |
WriteEntry.remain | tar | number |
WriteEntry.strict | tar | boolean |
WriteEntry.noMtime | tar | boolean |
WriteEntry.blockLen | tar | number |
WriteEntry.portable | tar | boolean |
WriteEntry.linkCache | tar | Map<`${number}:${number}`, string> |
WriteEntry.statCache | tar | Map<string, Stats> |
WriteEntry.blockRemain | tar | number |
WriteEntry.maxReadSize | tar | number |
WriteEntry.onWriteEntry | tar | ((entry: WriteEntry) => unknown) | undefined |
WriteEntry.preservePaths | tar | boolean |
Pack.zip | tar/raw | any |
Pack.file | tar/raw | string |
Pack.sync | tar/raw | boolean |
Pack.warn | tar/raw | (code: string, message: string | Error, data?: WarnData | undefined): void |
Pack.mtime | tar/raw | Date | undefined |
Pack.noPax | tar/raw | boolean |
Pack.pause | tar/raw | (): void |
Pack.write | tar/raw | (path: string | ReadEntry): boolean |
Pack.filter | tar/raw | (path: string, entry: any): boolean |
Pack.follow | tar/raw | boolean |
Pack.prefix | tar/raw | string |
Pack.strict | tar/raw | boolean |
Pack.noMtime | tar/raw | boolean |
Pack.portable | tar/raw | boolean |
Pack.linkCache | tar/raw | Map<`${number}:${number}`, string> |
Pack.statCache | tar/raw | Map<string, Stats> |
Pack.noDirRecurse | tar/raw | boolean |
Pack.onWriteEntry | tar/raw | ((entry: WriteEntry) => void) | undefined |
Pack.readdirCache | tar/raw | Map<string, string[]> |
Pack.preservePaths | tar/raw | boolean |
Parser.file | tar/raw | string |
Parser.zstd | tar/raw | any |
Parser.abort | tar/raw | (error: Error): void |
Parser.write | tar/raw | (buffer: string | Uint8Array<ArrayBufferLike>, cb?: ((err?: Error | null | undefined) => void) | undefined): boolean | (str: string, encoding?: any, cb?: ((err?: Error | null | undefined) => void) | undefined): boolean |
Parser.brotli | tar/raw | any |
Parser.filter | tar/raw | (path: string, entry: any): boolean |
Parser.strict | tar/raw | boolean |
Parser.readable | tar/raw | false |
Parser.writable | tar/raw | true |
Parser.maxDecompressionRatio | tar/raw | number |
Unpack.end | tar/raw | (cb?: (() => void) | undefined): Unpack | (data: any, cb?: (() => void) | undefined): Unpack | (str: string, encoding?: any, cb?: (() => void) | undefined): Unpack |
Unpack.file | tar/raw | string |
Unpack.zstd | tar/raw | any |
Unpack.abort | tar/raw | (error: Error): void |
Unpack.write | tar/raw | (buffer: string | Uint8Array<ArrayBufferLike>, cb?: ((err?: Error | null | undefined) => void) | undefined): boolean | (str: string, encoding?: any, cb?: ((err?: Error | null | undefined) => void) | undefined): boolean |
Unpack.brotli | tar/raw | any |
Unpack.filter | tar/raw | (path: string, entry: any): boolean |
Unpack.strict | tar/raw | boolean |
Unpack.readable | tar/raw | false |
Unpack.setOwner | tar/raw | boolean |
Unpack.writable | tar/raw | true |
Unpack.transform | tar/raw | ((entry: ReadEntry) => false | "" | 0 | ReadEntry | null | undefined) | undefined |
Unpack.reservations | tar/raw | PathReservations |
Unpack.maxMetaEntrySize | tar/raw | number |
Unpack.maxDecompressionRatio | tar/raw | number |
PackJob.stat | tar/raw | any |
PackJob.entry | tar/raw | WriteEntry | WriteEntryTar | undefined |
PackJob.piped | tar/raw | boolean |
PackJob.ignore | tar/raw | boolean |
PackJob.pending | tar/raw | boolean |
PackJob.readdir | tar/raw | string[] | undefined |
PackJob.pendingLink | tar/raw | boolean |
PackSync.zip | tar/raw | any |
PackSync.file | tar/raw | string |
PackSync.jobs | tar/raw | number |
PackSync.sync | tar/raw | true |
PackSync.warn | tar/raw | (code: string, message: string | Error, data?: WarnData | undefined): void |
PackSync.mtime | tar/raw | Date | undefined |
PackSync.noPax | tar/raw | boolean |
PackSync.pause | tar/raw | (): void |
PackSync.write | tar/raw | (path: string | ReadEntry): boolean |
PackSync.filter | tar/raw | (path: string, entry: any): boolean |
PackSync.follow | tar/raw | boolean |
PackSync.prefix | tar/raw | string |
PackSync.resume | tar/raw | (): void |
PackSync.strict | tar/raw | boolean |
PackSync.noMtime | tar/raw | boolean |
PackSync.portable | tar/raw | boolean |
PackSync.linkCache | tar/raw | Map<`${number}:${number}`, string> |
PackSync.statCache | tar/raw | Map<string, Stats> |
PackSync.noDirRecurse | tar/raw | boolean |
PackSync.onWriteEntry | tar/raw | ((entry: WriteEntry) => void) | undefined |
PackSync.readdirCache | tar/raw | Map<string, string[]> |
PackSync.preservePaths | tar/raw | boolean |
ReadEntry.meta | tar/raw | boolean |
ReadEntry.write | tar/raw | (data: Buffer): boolean |
ReadEntry.remain | tar/raw | number |
ReadEntry.blockRemain | tar/raw | number |
ReadEntry.startBlockSize | tar/raw | number |
UnpackSync.end | tar/raw | (cb?: (() => void) | undefined): UnpackSync | (data: any, cb?: (() => void) | undefined): UnpackSync | (str: string, encoding?: any, cb?: (() => void) | undefined): UnpackSync |
UnpackSync.file | tar/raw | string |
UnpackSync.sync | tar/raw | true |
UnpackSync.zstd | tar/raw | any |
UnpackSync.abort | tar/raw | (error: Error): void |
UnpackSync.write | tar/raw | (buffer: string | Uint8Array<ArrayBufferLike>, cb?: ((err?: Error | null | undefined) => void) | undefined): boolean | (str: string, encoding?: any, cb?: ((err?: Error | null | undefined) => void) | undefined): boolean |
UnpackSync.brotli | tar/raw | any |
UnpackSync.filter | tar/raw | (path: string, entry: any): boolean |
UnpackSync.strict | tar/raw | boolean |
UnpackSync.readable | tar/raw | false |
UnpackSync.setOwner | tar/raw | boolean |
UnpackSync.writable | tar/raw | true |
UnpackSync.transform | tar/raw | ((entry: ReadEntry) => false | "" | 0 | ReadEntry | null | undefined) | undefined |
UnpackSync.reservations | tar/raw | PathReservations |
UnpackSync.maxMetaEntrySize | tar/raw | number |
UnpackSync.maxDecompressionRatio | tar/raw | number |
WriteEntry.fd | tar/raw | number | undefined |
WriteEntry.buf | tar/raw | any |
WriteEntry.cwd | tar/raw | string |
WriteEntry.pos | tar/raw | number |
WriteEntry.emit | tar/raw | (ev: string | number | symbol, ...data: unknown[]): boolean |
WriteEntry.stat | tar/raw | any |
WriteEntry.warn | tar/raw | (code: string, message: string | Error, data?: WarnData | undefined): void |
WriteEntry.myuid | tar/raw | number |
WriteEntry.noPax | tar/raw | boolean |
WriteEntry.win32 | tar/raw | boolean |
WriteEntry.write | tar/raw | (buffer: any, cb?: (() => void) | undefined): boolean | (str: any, encoding?: any, cb?: (() => void) | undefined): boolean |
WriteEntry.length | tar/raw | number |
WriteEntry.myuser | tar/raw | string |
WriteEntry.offset | tar/raw | number |
WriteEntry.prefix | tar/raw | string | undefined |
WriteEntry.remain | tar/raw | number |
WriteEntry.strict | tar/raw | boolean |
WriteEntry.noMtime | tar/raw | boolean |
WriteEntry.blockLen | tar/raw | number |
WriteEntry.portable | tar/raw | boolean |
WriteEntry.linkCache | tar/raw | Map<`${number}:${number}`, string> |
WriteEntry.statCache | tar/raw | Map<string, Stats> |
WriteEntry.blockRemain | tar/raw | number |
WriteEntry.maxReadSize | tar/raw | number |
WriteEntry.onWriteEntry | tar/raw | ((entry: WriteEntry) => unknown) | undefined |
WriteEntry.preservePaths | tar/raw | boolean |
Changed class or interface members
| member | Before | After |
|---|---|---|
Pax.encode | (): Buffer<ArrayBuffer> | (): Uint8Array<ArrayBuffer> |
Pack.add | (path: string | ReadEntry): Pack | (item: string | ReadEntry | WriteEntry | AsyncIterable<ReadEntry | WriteEntry> | Iterable<ReadEntry | WriteEntry>): Pack |
Pack.cwd | string | string | undefined |
Pack.end | (cb?: (() => void) | undefined): Pack | (path: string | ReadEntry, cb?: (() => void) | undefined): Pack | (path: string | ReadEntry, encoding?: any, cb?: (() => void) | undefined): Pack | (): Pack |
Pack.opt | TarOptions | PackOptionsBase<ReadEntry> |
Pack.constructor | (opt?: TarOptions | undefined): Pack | (opt?: PackOptions | undefined): Pack |
Pack.maxReadSize | number | undefined | number |
Header.block | any | Uint8Array<ArrayBufferLike> | undefined |
Header.decode | (buf: Buffer, off: number, ex?: HeaderData | undefined, gex?: HeaderData | undefined): void | (buf: Uint8Array<ArrayBufferLike>, off: number, ex?: HeaderData | undefined, gex?: HeaderData | undefined): void |
Header.encode | (buf?: any, off?: number | undefined): boolean | (buf?: Uint8Array<ArrayBufferLike> | undefined, off?: number | undefined): boolean |
Header.constructor | (data?: any, off?: number | undefined, ex?: HeaderData | undefined, gex?: HeaderData | undefined): Header | (data?: Uint8Array<ArrayBufferLike> | HeaderData | undefined, off?: number | undefined, ex?: HeaderData | undefined, gex?: HeaderData | undefined): Header |
Parser.end | (cb?: (() => void) | undefined): Parser | (data: any, cb?: (() => void) | undefined): Parser | (str: string, encoding?: any, cb?: (() => void) | undefined): Parser | (): void |
Parser.constructor | (opt?: TarOptions | undefined): Parser | <E extends EntryData = EntryData>(opt?: ParserOptions<E> | undefined, createEntry?: CreateEntry<E> | undefined): Parser<E> |
Unpack.warn | (code: string, msg: string | Error, data?: WarnData | undefined): void | (code: string, message: string | Error, data?: WarnData | undefined): void |
Unpack.constructor | (opt?: TarOptions | undefined): Unpack | (opt: ExtractOptions): Unpack |
PackSync.add | (path: string | ReadEntry): PackSync | (item: string | WriteEntry | ReadEntrySync | Iterable<WriteEntry | ReadEntrySync>): PackSync |
PackSync.cwd | string | string | undefined |
PackSync.end | (cb?: (() => void) | undefined): PackSync | (path: string | ReadEntry, cb?: (() => void) | undefined): PackSync | (path: string | ReadEntry, encoding?: any, cb?: (() => void) | undefined): PackSync | (): PackSync |
PackSync.opt | TarOptions | PackOptionsBase<ReadEntrySync> |
PackSync.constructor | (opt: TarOptions): PackSync | (opt?: PackOptionsSync | undefined): PackSync |
PackSync.maxReadSize | number | undefined | number |
ReadEntry.constructor | (header: Header, ex?: Pax | undefined, gex?: Pax | undefined): ReadEntry | (header: Header, ex?: Pax | undefined, gex?: Pax | undefined, win32?: boolean | undefined, source?: BodySource | undefined): ReadEntry |
UnpackSync.warn | (code: string, msg: string | Error, data?: WarnData | undefined): void | (code: string, message: string | Error, data?: WarnData | undefined): void |
UnpackSync.constructor | (opt?: TarOptions | undefined): UnpackSync | (opt: ExtractOptionsSync): UnpackSync |
WriteEntry.type | EntryTypeName | undefined | EntryTypeName |
WriteEntry.absolute | string | string | undefined |
WriteEntry.constructor | (p: string, opt_?: TarOptionsWithAliases | undefined): WriteEntry | (data: WriteEntryData, body?: WriteBody | undefined): WriteEntry |
Pax.encode | (): Buffer<ArrayBuffer> | (): Uint8Array<ArrayBuffer> |
Pack.add | (path: string | ReadEntry): Pack | (item: string | ReadEntry | WriteEntry | AsyncIterable<ReadEntry | WriteEntry> | Iterable<ReadEntry | WriteEntry>): Pack |
Pack.cwd | string | string | undefined |
Pack.end | (cb?: (() => void) | undefined): Pack | (path: string | ReadEntry, cb?: (() => void) | undefined): Pack | (path: string | ReadEntry, encoding?: any, cb?: (() => void) | undefined): Pack | (): Pack |
Pack.opt | TarOptions | PackOptionsBase<ReadEntry> |
Pack.constructor | (opt?: TarOptions | undefined): Pack | (opt?: PackOptions | undefined): Pack |
Pack.maxReadSize | number | undefined | number |
Header.block | any | Uint8Array<ArrayBufferLike> | undefined |
Header.decode | (buf: Buffer, off: number, ex?: HeaderData | undefined, gex?: HeaderData | undefined): void | (buf: Uint8Array<ArrayBufferLike>, off: number, ex?: HeaderData | undefined, gex?: HeaderData | undefined): void |
Header.encode | (buf?: any, off?: number | undefined): boolean | (buf?: Uint8Array<ArrayBufferLike> | undefined, off?: number | undefined): boolean |
Header.constructor | (data?: any, off?: number | undefined, ex?: HeaderData | undefined, gex?: HeaderData | undefined): Header | (data?: Uint8Array<ArrayBufferLike> | HeaderData | undefined, off?: number | undefined, ex?: HeaderData | undefined, gex?: HeaderData | undefined): Header |
Parser.end | (cb?: (() => void) | undefined): Parser | (data: any, cb?: (() => void) | undefined): Parser | (str: string, encoding?: any, cb?: (() => void) | undefined): Parser | (): void |
Parser.constructor | (opt?: TarOptions | undefined): Parser | <E extends EntryData = EntryData>(opt?: ParserOptions<E> | undefined, createEntry?: CreateEntry<E> | undefined): Parser<E> |
Unpack.warn | (code: string, msg: string | Error, data?: WarnData | undefined): void | (code: string, message: string | Error, data?: WarnData | undefined): void |
Unpack.constructor | (opt?: TarOptions | undefined): Unpack | (opt: ExtractOptions): Unpack |
PackSync.add | (path: string | ReadEntry): PackSync | (item: string | WriteEntry | ReadEntrySync | Iterable<WriteEntry | ReadEntrySync>): PackSync |
PackSync.cwd | string | string | undefined |
PackSync.end | (cb?: (() => void) | undefined): PackSync | (path: string | ReadEntry, cb?: (() => void) | undefined): PackSync | (path: string | ReadEntry, encoding?: any, cb?: (() => void) | undefined): PackSync | (): PackSync |
PackSync.opt | TarOptions | PackOptionsBase<ReadEntrySync> |
PackSync.constructor | (opt: TarOptions): PackSync | (opt?: PackOptionsSync | undefined): PackSync |
PackSync.maxReadSize | number | undefined | number |
ReadEntry.constructor | (header: Header, ex?: Pax | undefined, gex?: Pax | undefined): ReadEntry | (header: Header, ex?: Pax | undefined, gex?: Pax | undefined, win32?: boolean | undefined, source?: BodySource | undefined): ReadEntry |
UnpackSync.warn | (code: string, msg: string | Error, data?: WarnData | undefined): void | (code: string, message: string | Error, data?: WarnData | undefined): void |
UnpackSync.constructor | (opt?: TarOptions | undefined): UnpackSync | (opt: ExtractOptionsSync): UnpackSync |
WriteEntry.type | EntryTypeName | undefined | EntryTypeName |
WriteEntry.absolute | string | string | undefined |
WriteEntry.constructor | (p: string, opt_?: TarOptionsWithAliases | undefined): WriteEntry | (data: WriteEntryData, body?: WriteBody | undefined): WriteEntry |
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.node | >=18 | >=22 |
New exports (186)
| import | export | kind |
|---|---|---|
tar | Zip | type |
tar | gzip | variable |
tar | Codec | type |
tar | Loose | type |
tar | TarFS | type |
tar | FileId | type |
tar | delete | variable |
tar | AliasOf | type |
tar | Aliased | type |
tar | Aliases | type |
tar | Packing | type |
tar | aliases | variable |
tar | entries | variable |
tar | Ancestor | type |
tar | CreateFS | type |
tar | CwdError | class |
tar | DeleteFS | type |
tar | PackBase | class |
tar | PackLoad | type |
tar | TarError | type |
tar | TarInput | type |
tar | WarnData | type |
tar | listSync | variable |
tar | EntryData | class |
tar | ExtractFS | type |
tar | PackInput | type |
tar | QueueNode | type |
tar | ReplaceFS | type |
tar | TarFSSync | type |
tar | TarReader | class |
tar | WriteBody | type |
tar | AppendScan | class |
tar | BodySource | type |
tar | FileOption | type |
tar | ParseEvent | type |
tar | UnpackBase | class |
tar | ZlibModule | type |
tar | createSync | function |
tar | deleteSync | variable |
tar | ownOptions | variable |
tar | updateSync | variable |
tar | zlibCodecs | variable |
tar | CodecStream | type |
tar | CreateEntry | type |
tar | CreateStats | type |
tar | EntryCursor | class |
tar | ListOptions | type |
tar | PackOptions | type |
tar | ReadOptions | type |
tar | WarnOptions | type |
tar | WithAliases | type |
tar | codecStream | variable |
tar | countOption | variable |
tar | entriesSync | variable |
tar | extractSync | variable |
tar | replaceSync | variable |
tar | BigIntOption | type |
tar | CreateFSSync | type |
tar | DeleteFSSync | type |
tar | ExtractStats | type |
tar | MkdirOptions | type |
tar | NoFileOption | type |
tar | SymlinkError | class |
tar | TarInputSync | type |
tar | CreateOptions | type |
tar | DeleteOptions | type |
tar | EncodeOptions | type |
tar | ExtractFSSync | type |
tar | OpenConstants | type |
tar | PackInputSync | type |
tar | ParserOptions | type |
tar | ReadEntrySync | class |
tar | ReplaceFSSync | type |
tar | TarFileHandle | type |
tar | TarReaderSync | class |
tar | UnpackOptions | type |
tar | BodySourceSync | type |
tar | ExtractOptions | type |
tar | ReplaceOptions | type |
tar | RequiredOption | type |
tar | WriteEntryData | type |
tar | ListOptionsSync | type |
tar | PackOptionsBase | type |
tar | PackOptionsSync | type |
tar | ReadOptionsSync | type |
tar | CreateFileHandle | type |
tar | PathReservations | class |
tar | CreateOptionsSync | type |
tar | DeleteOptionsSync | type |
tar | ExtractFileHandle | type |
tar | UnpackBaseOptions | type |
tar | ExtractOptionsSync | type |
tar | ReplaceOptionsSync | type |
tar/raw | Zip | type |
tar/raw | gzip | variable |
tar/raw | Codec | type |
tar/raw | Loose | type |
tar/raw | TarFS | type |
tar/raw | FileId | type |
tar/raw | delete | variable |
tar/raw | AliasOf | type |
tar/raw | Aliased | type |
tar/raw | Aliases | type |
tar/raw | Packing | type |
tar/raw | aliases | variable |
tar/raw | entries | variable |
tar/raw | Ancestor | type |
tar/raw | CreateFS | type |
tar/raw | CwdError | class |
tar/raw | DeleteFS | type |
tar/raw | PackBase | class |
tar/raw | PackLoad | type |
tar/raw | TarError | type |
tar/raw | TarInput | type |
tar/raw | WarnData | type |
tar/raw | listSync | variable |
tar/raw | EntryData | class |
tar/raw | ExtractFS | type |
tar/raw | PackInput | type |
tar/raw | QueueNode | type |
tar/raw | ReplaceFS | type |
tar/raw | TarFSSync | type |
tar/raw | TarReader | class |
tar/raw | WriteBody | type |
tar/raw | AppendScan | class |
tar/raw | BodySource | type |
tar/raw | FileOption | type |
tar/raw | ParseEvent | type |
tar/raw | UnpackBase | class |
tar/raw | ZlibModule | type |
tar/raw | createSync | function |
tar/raw | deleteSync | variable |
tar/raw | ownOptions | variable |
tar/raw | updateSync | variable |
tar/raw | zlibCodecs | variable |
tar/raw | CodecStream | type |
tar/raw | CreateEntry | type |
tar/raw | CreateStats | type |
tar/raw | EntryCursor | class |
tar/raw | ListOptions | type |
tar/raw | PackOptions | type |
tar/raw | ReadOptions | type |
tar/raw | WarnOptions | type |
tar/raw | WithAliases | type |
tar/raw | codecStream | variable |
tar/raw | countOption | variable |
tar/raw | entriesSync | variable |
tar/raw | extractSync | variable |
tar/raw | replaceSync | variable |
tar/raw | BigIntOption | type |
tar/raw | CreateFSSync | type |
tar/raw | DeleteFSSync | type |
tar/raw | ExtractStats | type |
tar/raw | MkdirOptions | type |
tar/raw | NoFileOption | type |
tar/raw | SymlinkError | class |
tar/raw | TarInputSync | type |
tar/raw | CreateOptions | type |
tar/raw | DeleteOptions | type |
tar/raw | EncodeOptions | type |
tar/raw | ExtractFSSync | type |
tar/raw | OpenConstants | type |
tar/raw | PackInputSync | type |
tar/raw | ParserOptions | type |
tar/raw | ReadEntrySync | class |
tar/raw | ReplaceFSSync | type |
tar/raw | TarFileHandle | type |
tar/raw | TarReaderSync | class |
tar/raw | UnpackOptions | type |
tar/raw | BodySourceSync | type |
tar/raw | ExtractOptions | type |
tar/raw | ReplaceOptions | type |
tar/raw | RequiredOption | type |
tar/raw | WriteEntryData | type |
tar/raw | ListOptionsSync | type |
tar/raw | PackOptionsBase | type |
tar/raw | PackOptionsSync | type |
tar/raw | ReadOptionsSync | type |
tar/raw | CreateFileHandle | type |
tar/raw | PathReservations | class |
tar/raw | CreateOptionsSync | type |
tar/raw | DeleteOptionsSync | type |
tar/raw | ExtractFileHandle | type |
tar/raw | UnpackBaseOptions | type |
tar/raw | ExtractOptionsSync | type |
tar/raw | ReplaceOptionsSync | type |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading tar from 7 to 8?
Between tar 7.5.24 and 8.0.0, Vigia found 24 removed exports, 20 changed signatures and 296 removed or changed class or interface members.
What became deprecated in tar 8?
0 exports or members are newly marked as deprecated in tar 8.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/tar/upgrade?from=7.5.24&to=8.0.0