Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: isaacs/node-tar
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.5.11
Choose a base ref
...
head repository: isaacs/node-tar
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.5.17
Choose a head ref
  • 18 commits
  • 50 files changed
  • 4 contributors

Commits on Mar 17, 2026

  1. Configuration menu
    Copy the full SHA
    35a1ffe View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2026

  1. linting

    isaacs committed Mar 20, 2026
    Configuration menu
    Copy the full SHA
    dd1c36a View commit details
    Browse the repository at this point in the history
  2. fix: reject top promise on floating addFilesAsync rejections

    PR-URL: #455
    Credit: @pieh
    Close: #455
    Reviewed-by: @isaacs
    pieh authored and isaacs committed Mar 20, 2026
    Configuration menu
    Copy the full SHA
    01082a4 View commit details
    Browse the repository at this point in the history
  3. 7.5.12

    isaacs committed Mar 20, 2026
    Configuration menu
    Copy the full SHA
    2a294d3 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2026

  1. fix(extract): prevent raced symlink writes outside cwd

    Fix a race in file extraction where a destination path could be swapped
    to a symlink after the existing `lstat()` check but before the file was
    opened.
    
    This change uses `O_NOFOLLOW` for extracted file writes on non-Windows
    platforms so the final open does not follow a symlink at the destination
    path.
    
    Also adds a regression test that reproduces the race and checks that
    extraction does not overwrite a file outside the target directory.
    
    PR-URL: #456
    Credit: @Jvr2022
    Close: #456
    Reviewed-by: @isaacs
    Jvr2022 authored and isaacs committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    119c401 View commit details
    Browse the repository at this point in the history
  2. 7.5.13

    isaacs committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    d6611ae View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2026

  1. update workflows and deps

    isaacs committed Mar 24, 2026
    Configuration menu
    Copy the full SHA
    700734f View commit details
    Browse the repository at this point in the history

Commits on May 5, 2026

  1. Configuration menu
    Copy the full SHA
    9704d8c View commit details
    Browse the repository at this point in the history
  2. 7.5.14

    isaacs committed May 5, 2026
    Configuration menu
    Copy the full SHA
    6244eb3 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2026

  1. fix: regression in pending links detection

    If one of the hard links to a file included in a pack job was not
    eventually seen, it would hang forever waiting for the real one, if the
    first that is encountered happens to not be the current job.
    
    Fix the problem by only deferring if and only if the job in question is
    not the current job, and then if it is encountered again as the current
    job, if it's still pending for that reason, proceed with it as the
    target 'File' entry.
    isaacs committed May 7, 2026
    Configuration menu
    Copy the full SHA
    7aef486 View commit details
    Browse the repository at this point in the history
  2. 7.5.15

    isaacs committed May 7, 2026
    Configuration menu
    Copy the full SHA
    87cc309 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2026

  1. remove some uses of mutate-fs

    That module is not future-proof for ESM, or TS compatible.
    isaacs committed May 8, 2026
    Configuration menu
    Copy the full SHA
    55dbb99 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2026

  1. Configuration menu
    Copy the full SHA
    302f51f View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2026

  1. update project deps

    isaacs committed Jun 1, 2026
    Configuration menu
    Copy the full SHA
    52632cf View commit details
    Browse the repository at this point in the history
  2. do not apply PAX header fields to meta entries

    A PAX extended header (x/g) describes the *next file entry*, per POSIX
    pax, not the GNU long-name (L) / long-link (K) or further PAX (x/g)
    headers that may sit between it and that file. Header.decode previously
    applied the pending ex/gex overrides (notably size) to whatever header
    was decoded next, including those intermediary extension headers. A
    crafted stream ordered x(size=N) -> L -> file would advance the cursor
    by N for the L header instead of by L's true payload length,
    desynchronizing the parser relative to GNU tar, libarchive, Python
    tarfile and the (now-fixed) Rust tar crates. This is a tar
    interpretation-conflict / file-smuggling primitive (CWE-436).
    
    Only apply extended headers to entries that represent known filesystem
    entry types.
    
    EDIT(@isaacs):
    
    - Added test
    - Updated block-list of meta types to allow-list of fs types.
    
    Fix: GHSA-vmf3-w455-68vh
    tonghuaroot authored and isaacs committed Jun 1, 2026
    Configuration menu
    Copy the full SHA
    21a8220 View commit details
    Browse the repository at this point in the history
  3. 7.5.16

    isaacs committed Jun 1, 2026
    Configuration menu
    Copy the full SHA
    cf21338 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2026

  1. Configuration menu
    Copy the full SHA
    7a635c2 View commit details
    Browse the repository at this point in the history
  2. 7.5.17

    isaacs committed Jun 25, 2026
    Configuration menu
    Copy the full SHA
    9cbdb31 View commit details
    Browse the repository at this point in the history
Loading