Skip to content

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 6.3.58.4.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

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 - 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 becomes conflicted, 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 0245a22 to 8c8ee05 Compare July 2, 2024 05:18
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 84a2e7c to e02f67f Compare July 10, 2024 01:21
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 3a7323e to 7ca82d7 Compare July 11, 2024 21:15
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 7ca82d7 to 1c85c54 Compare August 22, 2024 11:57
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 1c85c54 to 710a44b Compare September 4, 2024 01:52
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 4 times, most recently from c47df98 to 8263787 Compare September 22, 2024 07:57
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 8a7e710 to 5d7e62e Compare October 2, 2024 17:05
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 4 times, most recently from 84dca3f to f032a7f Compare October 18, 2024 00:49
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 2298030 to 5e12a4e Compare October 23, 2024 23:13
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from cece492 to 3d964dd Compare November 2, 2024 02:15
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 9fb8693 to c5cd443 Compare November 15, 2024 03:38
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 9a40958 to 772b591 Compare December 4, 2024 01:43
@renovate renovate bot changed the title Update dependency replace-in-file to v8 Update dependency replace-in-file to v8 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/replace-in-file-8.x branch December 8, 2024 18:37
@renovate renovate bot changed the title Update dependency replace-in-file to v8 - autoclosed Update dependency replace-in-file to v8 Dec 9, 2024
@renovate renovate bot reopened this Dec 9, 2024
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 772b591 to be29747 Compare December 12, 2024 23:31
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from be29747 to 3dbae1f Compare December 17, 2024 11:18
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 3dbae1f to 56c26ae Compare January 4, 2025 04:32
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 9d9fee9 to 4876cf3 Compare January 14, 2025 18:31
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 1e02585 to 615946f Compare February 8, 2025 12:52
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 615946f to 3f89470 Compare February 14, 2025 02:11
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 3f89470 to 99fcf6a Compare February 25, 2025 01:50
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 99fcf6a to 230e671 Compare March 18, 2025 03:35
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 3 times, most recently from 38259e6 to cef4421 Compare April 4, 2025 03:23
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from cef4421 to b055256 Compare April 22, 2025 01:39
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 5e9031d to 1186598 Compare May 17, 2025 20:21
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 1186598 to 14a5333 Compare May 31, 2025 01:06
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 14a5333 to 18af366 Compare June 9, 2025 19:53
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 18af366 to f0b5165 Compare August 6, 2025 01:42
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch 2 times, most recently from 50c8891 to 12e61c4 Compare August 19, 2025 12:35
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 12e61c4 to b4e81a5 Compare August 25, 2025 21:44
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from b4e81a5 to 0fecf94 Compare September 6, 2025 20:36
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from 0fecf94 to dd20d28 Compare September 25, 2025 21:34
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from dd20d28 to fd6d295 Compare November 18, 2025 23:54
@renovate renovate bot force-pushed the renovate/replace-in-file-8.x branch from fd6d295 to d8590d6 Compare December 5, 2025 05:30
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.

1 participant