activity icon indicating copy to clipboard operation
activity copied to clipboard

Chore(deps): Bump @nextcloud/paths from 2.4.0 to 3.0.0

Open dependabot[bot] opened this issue 6 days ago • 2 comments

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

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 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)

dependabot[bot] avatar Dec 20 '25 02:12 dependabot[bot]