Skip to content

Upgrade: Bump upath from 2.0.1 to 3.0.6#464

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/upath-3.0.6
Closed

Upgrade: Bump upath from 2.0.1 to 3.0.6#464
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/upath-3.0.6

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Bumps upath from 2.0.1 to 3.0.6.

Changelog

Sourced from upath's changelog.

3.0.6 - 2026-04-09

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.

[3.0.1] - [3.0.5]

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

3.0.0 - 2026-04-05

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.
Commits
  • 96c2efb ci: restore publish.yml — public-repo-only, excluded from Copybara sync
  • b50e53a fix: remove publish.yml from private repo — publishing belongs on public upat...
  • 4366991 Merge pull request #1 from anodynos/feat/UP-002-readme-hollywood
  • 04badc5 chore: remove sync-public.sh — replaced by Copybara GitHub Action
  • a86752a docs(): monetization?
  • cce45b0 chore: release v3.0.5
  • 4fa4e91 fix(ci): use Node 24 for publish (ships npm 11.x with OIDC support)
  • 5336b1a chore: release v3.0.4 — tokenless OIDC publish test
  • 7d449c1 fix(ci): use npm@latest for OIDC trusted publishing (tokenless)
  • 11d85f8 chore: release v3.0.3
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for upath since your current version.

Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [upath](https://github.com/anodynos/upath) from 2.0.1 to 3.0.6.
- [Changelog](https://github.com/anodynos/upath/blob/master/CHANGELOG.md)
- [Commits](anodynos/upath@v2.0.1...v3.0.6)

---
updated-dependencies:
- dependency-name: upath
  dependency-version: 3.0.6
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 13, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 27, 2026

Superseded by #468.

@dependabot dependabot Bot closed this Apr 27, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/upath-3.0.6 branch April 27, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants