unstale

npm / replace-in-file

replace-in-file

What changed in replace-in-file 4 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

2 breaking3 new APIs and options

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

replace-in-file 61 changes

Breaking changes 1

  • Version 6.0.0 requires Node 10 or higher; use version 5.x.x for Node 8 support.

    6.0.0release notes

replace-in-file 44 changes

Breaking changes 1

  • The return value is now a results array containing each processed file, whether it changed, and optionally match and replacement counts.

    4.0.0release notes

New APIs and options 3

  • Adds a flag to count the number of matches and replacements per file.

    4.0.0release notes

  • Adds a configuration parameter for network drive replacements.

    4.0.0release notes

  • Adds a CLI flag to suppress success output.

    4.0.0release notes