Skip to content

chore(deps): update dependency replace-in-file to v8#137

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/replace-in-file-8.x
Open

chore(deps): update dependency replace-in-file to v8#137
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/replace-in-file-8.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 24, 2024

This PR contains the following updates:

Package Change Age Confidence
replace-in-file ^7.0.0^8.0.0 age confidence

Release Notes

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

v8.4.0

Compare Source

v8.3.1

Compare Source

v8.3.0

Compare Source

v8.2.0

Compare Source

v8.1.0

Compare Source

v8.0.3

Compare Source

v8.0.2

Compare Source

v8.0.1

Compare Source

v8.0.0

Compare Source

The package has been converted to an ES module and now requires Node 18 or higher. If you need support for Node 16 or below, please use version 7.x.x.

Breaking changes
  • Package has been converted to an ES module
  • No longer providing a default export. Use the named exports replaceInFile or replaceInFileSync instead.
  • The replace.sync syntax is no longer available. Use the named export replaceInFileSync instead.
  • The callback API has been removed for asynchronous replacements. Please use promises or async/await instead.
  • Configuration files provided to the CLI using the --configFile flag can now only be JSON.
  • To use a custom fs implementation, you must now specify fs config parameter for the async API, and fsSync for the sync API. For the asynchronous APIs, the provided fs must provide the readFile and writeFile methods. For the synchronous APIs, the provided fsSync must provide the readFileSync and writeFileSync methods.
  • If a cwd parameter is provided, it will no longer be prefixed to each path using basic string concatenation, but rather uses path.join() to ensure correct path concatenation.
New features
  • The isRegex flag is no longer required.
  • You can now specify a getTargetFile config param to modify the target file for saving the new file contents to. For example:
const options = {
  files: 'path/to/files/*.html',
  getTargetFile: source => `new/path/${source}`,
  from: 'foo',
  to: 'bar',
}

v7.2.0

Compare Source

v7.1.0

Compare Source

v7.0.2

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.

@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 095689d to fd0aab0 Compare August 23, 2024 14:00
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from fd0aab0 to 065133a Compare September 26, 2024 23:05
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 065133a to dc059e6 Compare October 7, 2024 21:14
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from dc059e6 to 1606750 Compare October 23, 2024 20:35
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 1606750 to 7f15920 Compare January 14, 2025 21:56
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 7f15920 to 6c2867e Compare August 10, 2025 12:41
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 6c2867e to 19a1974 Compare August 19, 2025 17:11
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 19a1974 to bc679ef Compare September 25, 2025 20:28
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from bc679ef to 43cc42e Compare November 18, 2025 12:02
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 43cc42e to a2f7758 Compare December 5, 2025 05:01
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from a2f7758 to 8bbf9dd Compare February 2, 2026 21:27
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 3829768 to 109af93 Compare February 17, 2026 20:28
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 109af93 to b22a5d2 Compare March 5, 2026 17:57
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from b22a5d2 to 0f1fe34 Compare March 14, 2026 18:20
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