activity
activity copied to clipboard
Chore(deps): Bump @nextcloud/paths from 2.4.0 to 3.0.0
Bumps @nextcloud/paths from 2.4.0 to 3.0.0.
Release notes
Sourced from @nextcloud/paths's releases.
v3.0.0
3.0.0 - 2025-12-16
Breaking changes
- This package now does only provide an ES module, the CJS entry point is removed.
- The behavior of
basenameanddirnamewas fixed to behave similar to the methods from the Node.jspathsmodule and the PHP methods. This mainly affects special cases:
- trailing slash on
basenameis ignoredbasename('subdir/') - "" + "subdir"
dirnamealways respects the root path:dirname('/') - "" + "/"dirname('') - "" + "."dirname('/file') - "" + "/"dirname('file') - "" + "."Added
- feat(basename): add support for removing an extension (#843)
Fixed
- fix!: make
dirnameandbasenamebehave like PHP and Node (#839)Changed
- chore!: drop commonJs entry points
- chore!: remove deprecated
joinPathsin favor ofjoin- test: add unit tests for
encodePath
Changelog
Sourced from @nextcloud/paths's changelog.
3.0.0 - 2025-12-16
Breaking changes
- This package now does only provide an ES module, the CJS entry point is removed.
- The behavior of
basenameanddirnamewas fixed to behave similar to the methods from the Node.jspathsmodule and the PHP methods. This mainly affects special cases:
- trailing slash on
basenameis ignoredbasename('subdir/') - "" + "subdir"
dirnamealways respects the root path:dirname('/') - "" + "/"dirname('') - "" + "."dirname('/file') - "" + "/"dirname('file') - "" + "."Added
- feat(basename): add support for removing an extension (#843)
Fixed
- fix!: make
dirnameandbasenamebehave like PHP and Node (#839)Changed
- chore!: drop commonJs entry points
- chore!: remove deprecated
joinPathsin favor ofjoin- test: add unit tests for
encodePath
Commits
a57d821Merge pull request #846 from nextcloud-libraries/chore/v37ecb855Merge pull request #838 from nextcloud-libraries/chore/update-wf5cd6673chore: prepare v3.0.0aca865fMerge pull request #839 from nextcloud-libraries/fix/compateccf0f7test: adjust test descriptionb866d96Merge pull request #845 from nextcloud-libraries/test/coverage099f2c7Merge pull request #844 from nextcloud-libraries/chore/remove-joinPaths30abaddMerge pull request #840 from nextcloud-libraries/chore/esm8214c5ftest: add unit tests forencodePath5c5eb0achore!: remove deprecatedjoinPathsin favor ofjoin- Additional commits viewable in compare view
You can trigger a rebase of this PR 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 mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@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)