Update dependency replace-in-file to v8 #230
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: samuel-p/sp-codes.de#230
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/replace-in-file-8.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^7.1.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
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
Configuration
📅 Schedule: 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 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.
This PR has been generated by Renovate Bot.
3005d59d49
tod7ae51cdcf
d7ae51cdcf
tob9cf690834
b9cf690834
toee7b6a8e8c
ee7b6a8e8c
tob65a9d6c22