Update dependency replace-in-file to v8 #230

Merged
samuel-p merged 1 commit from renovate/replace-in-file-8.x into develop 2024-07-05 20:12:35 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
replace-in-file devDependencies major ^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
  • 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: 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [replace-in-file](https://github.com/adamreisnz/replace-in-file) | devDependencies | major | [`^7.1.0` -> `^8.1.0`](https://renovatebot.com/diffs/npm/replace-in-file/7.1.0/8.1.0) | --- ### Release Notes <details> <summary>adamreisnz/replace-in-file (replace-in-file)</summary> ### [`v8.1.0`](https://github.com/adamreisnz/replace-in-file/compare/dc5e8cd2776d3cd9f855671c716e48b016bee0c3...d0b8c0d80eedfe5ef6f1ccf15ba91440d7902d98) [Compare Source](https://github.com/adamreisnz/replace-in-file/compare/dc5e8cd2776d3cd9f855671c716e48b016bee0c3...d0b8c0d80eedfe5ef6f1ccf15ba91440d7902d98) ### [`v8.0.3`](https://github.com/adamreisnz/replace-in-file/compare/760102a1824b169fc4e2ba47e0b621c7d1de6e22...dc5e8cd2776d3cd9f855671c716e48b016bee0c3) [Compare Source](https://github.com/adamreisnz/replace-in-file/compare/760102a1824b169fc4e2ba47e0b621c7d1de6e22...dc5e8cd2776d3cd9f855671c716e48b016bee0c3) ### [`v8.0.2`](https://github.com/adamreisnz/replace-in-file/compare/a5e19f544606487ba0fe7b26f27c160e4196f864...760102a1824b169fc4e2ba47e0b621c7d1de6e22) [Compare Source](https://github.com/adamreisnz/replace-in-file/compare/a5e19f544606487ba0fe7b26f27c160e4196f864...760102a1824b169fc4e2ba47e0b621c7d1de6e22) ### [`v8.0.1`](https://github.com/adamreisnz/replace-in-file/compare/3ea83fd0feabc7f199bee9a8e90ffad79c07d28b...a5e19f544606487ba0fe7b26f27c160e4196f864) [Compare Source](https://github.com/adamreisnz/replace-in-file/compare/3ea83fd0feabc7f199bee9a8e90ffad79c07d28b...a5e19f544606487ba0fe7b26f27c160e4196f864) ### [`v8.0.0`](https://github.com/adamreisnz/replace-in-file/blob/HEAD/CHANGELOG.md#800) [Compare Source](https://github.com/adamreisnz/replace-in-file/compare/aafb9b1d644bc0414d8402dab246510c89a9d183...3ea83fd0feabc7f199bee9a8e90ffad79c07d28b) 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: ```js const options = { files: 'path/to/files/*.html', getTargetFile: source => `new/path/${source}`, from: 'foo', to: 'bar', } ``` ### [`v7.2.0`](https://github.com/adamreisnz/replace-in-file/compare/2bec5b78f83848c318741f2bae4bc8f22fe25ca5...aafb9b1d644bc0414d8402dab246510c89a9d183) [Compare Source](https://github.com/adamreisnz/replace-in-file/compare/2bec5b78f83848c318741f2bae4bc8f22fe25ca5...aafb9b1d644bc0414d8402dab246510c89a9d183) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTQuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxNC4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119-->
renovate-bot added 1 commit 2024-06-24 03:00:55 +00:00
Update dependency replace-in-file to v8
Some checks failed
Build and Deploy Website / Build Website (push) Has been skipped
Build and Deploy Website / Deploy Website (push) Has been skipped
Build and Deploy Website / Build Dev Website (push) Failing after 52s
Build and Deploy Website / Deploy Dev Website (push) Has been skipped
3005d59d49
samuel-p was assigned by renovate-bot 2024-06-24 03:00:55 +00:00
renovate-bot force-pushed renovate/replace-in-file-8.x from 3005d59d49 to d7ae51cdcf 2024-06-25 05:00:57 +00:00 Compare
renovate-bot force-pushed renovate/replace-in-file-8.x from d7ae51cdcf to b9cf690834 2024-07-02 03:01:02 +00:00 Compare
renovate-bot force-pushed renovate/replace-in-file-8.x from b9cf690834 to ee7b6a8e8c 2024-07-02 22:00:57 +00:00 Compare
renovate-bot force-pushed renovate/replace-in-file-8.x from ee7b6a8e8c to b65a9d6c22 2024-07-05 20:00:58 +00:00 Compare
samuel-p merged commit dd963d736f into develop 2024-07-05 20:12:35 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: samuel-p/sp-codes.de#230
No description provided.