build(deps): update dependency upath to v3#451
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #451 +/- ##
=======================================
Coverage 96.49% 96.49%
=======================================
Files 7 7
Lines 171 171
=======================================
Hits 165 165
Misses 6 6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
066b08d to
c663f3f
Compare
c663f3f to
c2677bb
Compare
c2677bb to
6546485
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0.1→3.0.7Release Notes
anodynos/upath (upath)
v3.0.7Compare Source
Patch Changes
7f1590a: Fix@types/node>= 25 compatibility.PlatformPathwas removed from@types/nodev25; upath now derives itsPlatformPathtype fromtypeof pathinstead of re-exporting the removed interface. Works with@types/nodev20 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.6Compare Source
Added
.github/FUNDING.ymlandpackage.jsonalongside existing GitHub Sponsors and Tidelift.Changed
pathvsupathbehavior side-by-side, inspired by the v2-era docs. Every extra function now explains why it exists (whatpathdoes wrong).docs/API.mdgeneration -- 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
node_modules-- the hook falls back to the main worktree'snode_modules/.binwhen lint-staged isn't found locally.v3.0.5Compare 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.0Compare Source
Breaking Changes
enginesfield.__esModuleanddefaultproperties —require('upath')still works for all standard usage (no.defaultneeded). 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.join(...paths: any[])→join(...paths: string[]), same forresolveandjoinSafe. If you pass non-string args, add explicit casts:join(myVar as string)._makeLongremoved from top-level exports — this was a deprecated Node.js internal. UsetoNamespacedPathinstead (available in upath v2+ and Node.js 8.3+). Note:_makeLongremains accessible via the.defaultproperty on CJS exports (it's part of the fullpathproxy), but this is not a supported API.Stringobjects no longer accepted —new String('foo')is rejected; use plain string primitives. This is unlikely to affect anyone.Added
importandrequire()both work via package.jsonexports.import { normalize, join, toUnix } from 'upath'.matchesGlobtyped export (wraps Node 22+path.matchesGlob).toNamespacedPathtyped export.UPathinterface exported for TypeScript consumers.docs/API.mdbuilt from test suite.Changed
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.