Skip to content

chore(deps): update dependency replace-in-file to v9 - #576

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/replace-in-file-9.x
Open

chore(deps): update dependency replace-in-file to v9#576
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/replace-in-file-9.x

Conversation

@renovate

@renovate renovate Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
replace-in-file ^8.4.0^9.0.0 age confidence

Release Notes

adamreisnz/replace-in-file (replace-in-file)

v9.0.0

Compare Source

The package now requires Node 22.12.0 or higher, as Node 18 and Node 20 have reached end of life. If you need support for older versions of Node, please use version 8.x.x.

Breaking changes
  • Node 22.12.0 or higher is now required (dependencies yargs@18 and chalk@6 require it)
  • Strings passed to from are now only converted to a regular expression if they both start and end with a slash (e.g. "/cat/g"), as documented. Previously, plain strings that merely ended in a slash and optional flag characters (e.g. "assets/img" or "foo/") were silently converted to regular expressions as well.
New features
  • Added a streaming option for processing large files with bounded memory usage. Files are streamed through Node streams instead of being read into memory in full, with matches found across chunk boundaries. This also enables processing of files larger than the maximum string size supported by Node.js (about 500MB), which previously failed outright. Regex matches are guaranteed up to a configurable maxMatchLength window (default 1024 characters); plain string values are always matched exactly. Streaming is available for asynchronous replacement via the API (streaming: true) and in the CLI via --streaming. See the README for details and constraints.
Other changes
  • The codebase has been converted to TypeScript. Type definitions are now generated from the source code instead of being maintained by hand, fixing several inaccuracies in the previous type definitions:
    • The types incorrectly declared a default export and a replaceInFile.replaceInFileSync namespace API, both of which were removed from the runtime in 8.0.0
    • processFile and processFileSync were missing from the types
    • The cwd, verbose, quiet, fs and fsSync options were missing from the config type
  • The package now ships compiled output from the dist folder, and an exports map has been added. Deep imports into package internals (e.g. replace-in-file/src/...) are no longer possible
  • Upgraded all dependencies, including chalk to 6.x
  • The repository now uses pnpm as its package manager

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

File Coverage
All files 92%
www/build/src/components/six-breadcrumbs/six-breadcrumbs.tsx 83%
www/build/src/components/six-button/six-button.tsx 91%
www/build/src/components/six-checkbox/six-checkbox.tsx 93%
www/build/src/components/six-date/calendar-grid.ts 93%
www/build/src/components/six-date/six-date.tsx 96%
www/build/src/components/six-date/components/month-selection.tsx 90%
www/build/src/components/six-date/components/year-selection.tsx 91%
www/build/src/components/six-details/six-details.tsx 98%
www/build/src/components/six-dialog/six-dialog.tsx 98%
www/build/src/components/six-dropdown/six-dropdown.tsx 94%
www/build/src/components/six-error-page/six-error-page.tsx 91%
www/build/src/components/six-file-upload/six-file-upload.tsx 95%
www/build/src/components/six-group-label/six-group-label.tsx 83%
www/build/src/components/six-icon/six-icon.tsx 66%
www/build/src/components/six-icon-button/six-icon-button.tsx 90%
www/build/src/components/six-input/six-input.tsx 97%
www/build/src/components/six-item-picker/six-item-picker.tsx 99%
www/build/src/components/six-menu/six-menu.tsx 80%
www/build/src/components/six-menu-item/six-menu-item.tsx 99%
www/build/src/components/six-paginator/six-paginator.tsx 90%
www/build/src/components/six-picto/six-picto.tsx 66%
www/build/src/components/six-progress-ring/six-progress-ring.tsx 75%
www/build/src/components/six-range/six-range.tsx 92%
www/build/src/components/six-rating/six-rating.tsx 96%
www/build/src/components/six-search-field/six-search-field.tsx 90%
www/build/src/components/six-select/six-select.tsx 88%
www/build/src/components/six-select/util.ts 75%
www/build/src/components/six-sidebar/six-sidebar.tsx 92%
www/build/src/components/six-sidebar-item-group/six-sidebar-item-group.tsx 95%
www/build/src/components/six-switch/six-switch.tsx 95%
www/build/src/components/six-tab/six-tab.tsx 91%
www/build/src/components/six-tab-group/six-tab-group.tsx 78%
www/build/src/components/six-textarea/six-textarea.tsx 88%
www/build/src/components/six-tile/six-tile.tsx 83%
www/build/src/components/six-tooltip/six-tooltip.tsx 94%
www/build/src/functional-components/form-control/form-control.tsx 90%
www/build/src/utils/animation.ts 88%
www/build/src/utils/error-messages.ts 84%
www/build/src/utils/event-listeners.ts 91%
www/build/src/utils/execution-control.ts 90%
www/build/src/utils/focus-visible.ts 83%
www/build/src/utils/icon.ts 92%
www/build/src/utils/modal.ts 75%
www/build/src/utils/popover.ts 83%
www/build/src/utils/scroll.ts 87%
www/build/src/utils/slot.ts 90%

Minimum allowed coverage is 0%

Generated by 🐒 cobertura-action against 6f37914

@renovate
renovate Bot force-pushed the renovate/replace-in-file-9.x branch from 8504ef6 to 6f37914 Compare September 3, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants