fix(deps): update dependency replace-in-file to v8 #1332
Merged
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:
7.2.0
->8.1.0
Release Notes
adamreisnz/replace-in-file (replace-in-file)
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
You can now specify a
getTargetFile
config param to modify the target file for saving the new file contents to. For example:Configuration
📅 Schedule: Branch creation - "on sunday" in timezone Asia/Shanghai, 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 has been generated by Mend Renovate. View repository job log here.