Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 16, 2025

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 basename and dirname was fixed to behave similar to the methods from the Node.js paths module and the PHP methods. This mainly affects special cases:
    • trailing slash on basename is ignored
    basename('subdir/')
    - ""
    + "subdir"
    • dirname always respects the root path:
    dirname('/')
    - ""
    + "/"
    dirname('')
    - ""
    + "."
    dirname('/file')
    - ""
    + "/"
    dirname('file')
    - ""
    + "."

Added

  • feat(basename): add support for removing an extension (#843)

Fixed

  • fix!: make dirname and basename behave like PHP and Node (#839)

Changed

  • chore!: drop commonJs entry points
  • chore!: remove deprecated joinPaths in favor of join
  • 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 basename and dirname was fixed to behave similar to the methods from the Node.js paths module and the PHP methods. This mainly affects special cases:
    • trailing slash on basename is ignored
    basename('subdir/')
    - ""
    + "subdir"
    • dirname always respects the root path:
    dirname('/')
    - ""
    + "/"
    dirname('')
    - ""
    + "."
    dirname('/file')
    - ""
    + "/"
    dirname('file')
    - ""
    + "."

Added

  • feat(basename): add support for removing an extension (#843)

Fixed

  • fix!: make dirname and basename behave like PHP and Node (#839)

Changed

  • chore!: drop commonJs entry points
  • chore!: remove deprecated joinPaths in favor of join
  • test: add unit tests for encodePath
Commits
  • a57d821 Merge pull request #846 from nextcloud-libraries/chore/v3
  • 7ecb855 Merge pull request #838 from nextcloud-libraries/chore/update-wf
  • 5cd6673 chore: prepare v3.0.0
  • aca865f Merge pull request #839 from nextcloud-libraries/fix/compat
  • eccf0f7 test: adjust test description
  • b866d96 Merge pull request #845 from nextcloud-libraries/test/coverage
  • 099f2c7 Merge pull request #844 from nextcloud-libraries/chore/remove-joinPaths
  • 30abadd Merge pull request #840 from nextcloud-libraries/chore/esm
  • 8214c5f test: add unit tests for encodePath
  • 5c5eb0a chore!: remove deprecated joinPaths in favor of join
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [@nextcloud/paths](https://github.com/nextcloud-libraries/nextcloud-paths) from 2.4.0 to 3.0.0.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-paths/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-paths/blob/main/CHANGELOG.md)
- [Commits](nextcloud-libraries/nextcloud-paths@v2.4.0...v3.0.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/paths"
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added 3. to review Waiting for reviews dependencies Pull requests that update a dependency file labels Dec 16, 2025
@github-actions github-actions bot enabled auto-merge December 16, 2025 18:07
@github-actions github-actions bot merged commit 5006c94 into main Dec 16, 2025
15 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/nextcloud/paths-3.0.0 branch December 16, 2025 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant