Bump tar and nitropack
Bumps tar to 7.5.16 and updates ancestor dependency nitropack. These dependencies need to be updated together.
Updates tar from 6.2.1 to 7.5.16
Changelog
Sourced from tar's changelog.
Changelog
7.5
- Added
zstdcompression support.- Consistent TOCTOU behavior in sync t.list
- Only read from ustar block if not specified in Pax
- Fix sync tar.list when file size reduces while reading
- Sanitize absolute linkpaths properly
- Prevent writing hardlink entries to the archive ahead of their file target
7.4
- Deprecate
onentryin favor ofonReadEntryfor clarity.7.3
- Add
onWriteEntryoption7.2
- DRY the command definitions into a single
makeCommandmethod, and update the type signatures to more appropriately infer the return type from the options and arguments provided.7.1
- Update minipass to v7.1.0
- Update the type definitions of
write()andend()methods onUnpackandParserclasses to be compatible with the NodeJS.WritableStream type in the latest versions of@types/node.7.0
- Drop support for node <18
- Rewrite in TypeScript, provide ESM and CommonJS hybrid interface
- Add tree-shake friendly exports, like
import('tar/create')andimport('tar/read-entry')to get individual functions or classes.- Add
chmodoption that defaults to false, and deprecatenoChmod. That is, reverse the default option regarding explicitly setting file system modes to match tar entry settings.- Add
processUmaskoption to avoid having to callprocess.umask()whenchmod: true(ornoChmod: false) is set.
... (truncated)
Commits
cf213387.5.1621a8220do not apply PAX header fields to meta entries52632cfupdate project deps302f51ffix inconsequential typo in PENDINGLINKS symbol name55dbb99remove some uses of mutate-fs87cc3097.5.157aef486fix: regression in pending links detection6244eb37.5.149704d8cstricter protection against hardlinks preempting their targets700734fupdate workflows and deps- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by isaacs, a new releaser for tar since your current version.
Install script changes
This version adds prepare script that runs during installation. Review the package contents before updating.
Updates nitropack from 2.9.7 to 2.13.4
Release notes
Sourced from nitropack's releases.
v2.13.4
[!IMPORTANT] This release patches two medium-severity vulnerabilities in
proxyandredirectroute rules. Users relying on either are strongly encouraged to upgrade. See GHSA-5w89-w975-hf9q and GHSA-9phm-9p8f-hw5m for details.🚀 Enhancements
- Add version meta (#4194)
🩹 Fixes
- route-rules: Reject out-of-scope requests (#4223)
- route-rules: Prevent open redirect via protocol-relative url bypass (8d6bfb0b)
🏡 Chore
❤️ Contributors
- Pooya Parsa (
@pi0)- Rihan Arfan (
@RihanArfan)v2.13.3
📦 Dependency Updates
Package From To httpxy^0.3.1 ^0.5.0 h3^1.15.9 ^1.15.10 esbuild^0.27.4 ^0.27.5 rollup^4.59.0 ^4.60.1 @vercel/nft^1.4.0 ^1.5.0 c12^3.3.3 ^3.3.4 citty^0.2.1 ^0.2.2 defu^6.1.4 ^6.1.6 globby^16.1.1 ^16.2.0 listhen^1.9.0 ^1.9.1 unstorage^1.17.4 ^1.17.5 cookie-es^2.0.0 ^2.0.1 youch^4.1.0 ^4.1.1 v2.13.2
[!NOTE] This release upgrades h3 to latest
1.15.9which contains security fixes.🩹 Fixes
... (truncated)
Commits
f92e684chore: apply automated updates112e215chore: basic dist-diff script932f628chore: ignore vite7 from pnpm outdated705069fchore: update depsbc1dd9dfix(route-rules): prevent open redirect via protocol-relative url bypass (#4236)6edbf84chore(deps): update all non-major dependencies (#4227)feebdc1refactor: use built-in escapeRegExp util (#4109)f8cf6ccfeat(tracing): enable tracing channels for unstorage (#4226)0bbbb79docs: improve jsdocs (#4199)d0d8d91types(vite): makeexperimental.viteoptional (#4225)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrade tar to 7.5.16 and nitropack to 2.13.4. Fixes Nitro route-rule vulnerabilities and keeps dependencies in sync; tar v7 requires Node 18+.
-
Dependencies
tar: 6.2.1 → 7.5.16 (Node 18+, TS/ESM hybrid, zstd support, safer hardlink handling).nitropack: 2.9.7 → 2.13.4 (patches proxy/redirect route-rule vulns; minor dep updates).
-
Migration
- Ensure Node >= 18 in local, CI, and production.
- If importing
tardirectly, use v7 exports and reviewchmoddefault behavior.