Packages

@npmcli/fs

6.0.0 · 15 May 2026ISC40.4M / weekRepositoryHomepagenpmAtom feed

Upgrading @npmcli/fs From 2.1.2 to 6.0.0

6 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 2.1.2yours
  2. 3.0.0major
  3. 3.1.0
  4. 3.1.1
  5. 4.0.0major
  6. 5.0.0major
  7. 6.0.0target

Before you upgrade

Tick each one off as you go
  • Breaking6.0.0
  • Breaking6.0.0
  • Breaking5.0.0
  • Breaking4.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Release by release

  1. 6.0.0

    Migration needed15 May 20261 new
    • Breaking

      @npmcli/fs now supports node ^22.22.2 || ^24.15.0 || >=26.0.0

    • Breaking

      template-oss-apply

    • New

      Bump to new node engine range

  2. 5.0.0

    Migration needed23 Oct 20251 fix
    • Breaking

      @npmcli/fs now supports node ^20.17.0 || >=22.9.0

    • Fixed

      Align to npm 11 node engine range

  3. 4.0.0

    Migration needed23 Sep 20241 fix
    • Breaking

      @npmcli/fs now supports node ^18.17.0 || >=20.5.0

    • Fixed

      Align to npm 10 node engine range

  4. 3.1.1nothing new or fixed in the note

  5. 3.1.0

    3 Nov 20222 new
    • New

      Port @npmcli/move-file

    • New

      Add readdirScoped method

  6. 3.0.0

    Migration needed12 Oct 20223 new
    • Breaking

      This package no longer exports the full set of core fs functions

    • Breaking

      This removes the owner option from all methods that previously supported it, as well as the withOwner and withOwnerSync methods

    • Breaking

      @npmcli/fs is now compatible with the following semver range for node: ^14.17.0 || ^16.13.0 || >=18.0.0

    • New

      Remove custom promisification in favor of fs/promises

    • New

      Remove owner related code as well as stale polyfills

    • New

      Postinstall for dependabot template-oss PR

11 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.