Skip to content

build(deps): update dependency upath to v3#502

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/upath-3.x
Open

build(deps): update dependency upath to v3#502
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/upath-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 6, 2026

This PR contains the following updates:

Package Change Age Confidence
upath 2.0.13.0.7 age confidence

Release Notes

anodynos/upath (upath)

v3.0.7

Compare Source

Patch Changes
  • 7f1590a: Fix @types/node >= 25 compatibility. PlatformPath was removed from @types/node v25; upath now derives its PlatformPath type from typeof path instead of re-exporting the removed interface. Works with @types/node v20 through v25+.

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

v3.0.6

Compare Source

Added
  • Polar.sh funding -- added to .github/FUNDING.yml and package.json alongside existing GitHub Sponsors and Tidelift.
  • "Who Uses upath" section in README -- trust signals with notable dependents (Chokidar, Nuxt, 1,300+ npm packages).
  • Architecture section in README -- explains the dynamic proxy pattern and how upath stays in sync with Node.js.
Changed
  • README revamped -- pain-first API docs showing path vs upath behavior side-by-side, inspired by the v2-era docs. Every extra function now explains why it exists (what path does wrong).
  • Deterministic docs/API.md generation -- test files are now sorted by name before the doc reporter processes them, eliminating spurious diffs caused by Jest's non-deterministic parallel execution order.
Fixed
  • Pre-commit hook now works in git worktrees without node_modules -- the hook falls back to the main worktree's node_modules/.bin when lint-staged isn't found locally.

v3.0.5

Compare Source

Patch releases for CI/CD setup (Copybara bidirectional sync, Trusted Publishing OIDC), build fixes, and internal tooling. No user-facing API changes.

v3.0.0

Compare Source

Breaking Changes
  • Node >= 20 required — dropped support for Node 4–18. Update your CI matrix and engines field.
  • CJS exports now include __esModule and default propertiesrequire('upath') still works for all standard usage (no .default needed). However, Object.keys(require('upath')) now includes "__esModule" and "default". Bundlers using Babel-style interop (mod.__esModule ? mod.default : mod) will resolve to .default, which IS the full upath object, so it works correctly.
  • TypeScript type params narrowedjoin(...paths: any[])join(...paths: string[]), same for resolve and joinSafe. If you pass non-string args, add explicit casts: join(myVar as string).
  • _makeLong removed from top-level exports — this was a deprecated Node.js internal. Use toNamespacedPath instead (available in upath v2+ and Node.js 8.3+). Note: _makeLong remains accessible via the .default property on CJS exports (it's part of the full path proxy), but this is not a supported API.
  • Boxed String objects no longer acceptednew String('foo') is rejected; use plain string primitives. This is unlikely to affect anyone.
Added
  • TypeScript rewrite — full type safety, source-of-truth types shipped with the package.
  • Dual CJS/ESMimport and require() both work via package.json exports.
  • Named ESM importsimport { normalize, join, toUnix } from 'upath'.
  • matchesGlob typed export (wraps Node 22+ path.matchesGlob).
  • toNamespacedPath typed export.
  • UPath interface exported for TypeScript consumers.
  • Auto-generated API docsdocs/API.md built from test suite.
Changed
  • Source rewritten from CoffeeScript/JavaScript to TypeScript.
  • Build toolchain changed to tsup (dual CJS + ESM output).
  • Test framework changed to Jest with ts-jest.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies label Apr 6, 2026
@renovate renovate Bot requested a review from a team April 6, 2026 02:39
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.98%. Comparing base (fb52201) to head (9da0655).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #502   +/-   ##
=======================================
  Coverage   96.98%   96.98%           
=======================================
  Files          13       13           
  Lines         232      232           
=======================================
  Hits          225      225           
  Misses          7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate Bot force-pushed the renovate/upath-3.x branch from aa27639 to af00662 Compare April 10, 2026 02:49
@renovate renovate Bot force-pushed the renovate/upath-3.x branch from af00662 to fe85b35 Compare April 20, 2026 17:49
@renovate renovate Bot force-pushed the renovate/upath-3.x branch from fe85b35 to 9da0655 Compare May 12, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants