Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v7: Port to TypeScript, provide hybrid cjs/esm interface #408

Merged
merged 12 commits into from
Apr 10, 2024
Merged

Commits on Apr 8, 2024

  1. first pass TS refactor

    isaacs committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    114c7ac View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. finish typescript/esm port

    isaacs committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    9522a69 View commit details
    Browse the repository at this point in the history
  2. changelog v7, flip default chmod behavior

    The `noChmod` option is deprecated, and replaced with the `chmod`
    option. The default is now to *not* explicitly set the mode of created
    filesystem entries.
    
    This is a deviation from `tar(1)` implementations, but prevents the need
    to call `process.umask()`, which is deprecated and not thread safe.
    
    To still set modes explicitly, while avoiding the need to call
    `process.umask()`, a `processUmask` numeric option may now be provided
    along with `chmod: true`.
    isaacs committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    734434c View commit details
    Browse the repository at this point in the history
  3. tighten up changelog entries

    isaacs committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    578f34f View commit details
    Browse the repository at this point in the history
  4. ci: update versions

    isaacs committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    dfb6b6c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ae9ce7e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2330416 View commit details
    Browse the repository at this point in the history
  7. unpack test: use modern tap features

    This replaces a lot of manual mkdir/rimraf with t.testdir()
    isaacs committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    b3afdbb View commit details
    Browse the repository at this point in the history
  8. list: close file even if no error thrown

    Fix: #404
    isaacs committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    314ec7e View commit details
    Browse the repository at this point in the history
  9. Properly handle long linkpath in PaxHeader

    tar-stream creates some interesting tarballs, but they are technically
    allowed, and should be handled properly.
    
    Fix: #312
    
    Also, this cleans up a flaky race condition in the unpack test.
    isaacs committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    2d89a4e View commit details
    Browse the repository at this point in the history
  10. test verifying #398 is fixed

    isaacs committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    9a260c2 View commit details
    Browse the repository at this point in the history
  11. remove old lib folder

    isaacs committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    957da75 View commit details
    Browse the repository at this point in the history