chore(deps): update dependency replace-in-file to v8 #1845
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.3.5
->8.3.0
Release Notes
adamreisnz/replace-in-file (replace-in-file)
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
replaceInFile
orreplaceInFileSync
instead.replace.sync
syntax is no longer available. Use the named exportreplaceInFileSync
instead.async/await
instead.--configFile
flag can now only be JSON.fs
implementation, you must now specifyfs
config parameter for the async API, andfsSync
for the sync API. For the asynchronous APIs, the providedfs
must provide thereadFile
andwriteFile
methods. For the synchronous APIs, the providedfsSync
must provide thereadFileSync
andwriteFileSync
methods.cwd
parameter is provided, it will no longer be prefixed to each path using basic string concatenation, but rather usespath.join()
to ensure correct path concatenation.New features
isRegex
flag is no longer required.getTargetFile
config param to modify the target file for saving the new file contents to. For example:v7.2.0
Compare Source
v7.1.0
Compare Source
v7.0.2
Compare Source
v7.0.1
Compare Source
v7.0.0
Compare Source
Strings provided to the
from
value are now escaped for regex matching when counting of matches is enabled. This is unlikely to result in any breaking changes, but as a precaution the major version has been bumped.Configuration
📅 Schedule: Branch creation - "* * * * 1-5" (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.