Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 24, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
replace-in-file ^7.1.0 -> ^8.0.0 age adoption passing confidence

Release Notes

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

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


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 5 times, most recently from 7a6bfd9 to 2746070 Compare June 30, 2024 19:25
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 851b2d4 to 5fae4bb Compare July 7, 2024 20:25
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 5fae4bb to 1259ca8 Compare July 14, 2024 11:29
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 7 times, most recently from ff0e77f to 306f6c7 Compare August 2, 2024 15:49
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 3 times, most recently from 0fa1d7c to 397b333 Compare August 14, 2024 19:07
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from dc2b252 to 1944b3b Compare August 19, 2024 18:14
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 5 times, most recently from 6544a10 to a1f1e28 Compare August 30, 2024 21:09
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 4 times, most recently from 01d142a to 42a5c82 Compare September 8, 2024 19:39
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 42a5c82 to 990f8fa Compare September 24, 2024 20:45
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from c5be2e1 to 7f55134 Compare November 5, 2024 14:44
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 4 times, most recently from 69cd28e to eaf8d94 Compare November 30, 2024 16:57
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 5 times, most recently from ce6fbf5 to 507abd5 Compare December 13, 2024 18:21
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 507abd5 to a06e07d Compare December 21, 2024 22:14
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 12cf084 to 013e102 Compare January 4, 2025 18:24
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 013e102 to 76e1900 Compare January 15, 2025 20:49
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 8 times, most recently from 453fcaa to 7b53190 Compare March 13, 2025 10:52
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 77bb5b7 to d50e8dc Compare March 24, 2025 05:19
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from c51825f to 66d9f36 Compare April 4, 2025 08:00
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 66d9f36 to 5e5b138 Compare April 4, 2025 08:18
Copy link

sonarqubecloud bot commented Apr 4, 2025

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