wearemd / wordpress-starter

📦 A starter template for WordPress websites
GNU General Public License v3.0
41 stars 10 forks source link

Update dependency replace-in-file to v8 #119

Open renovate[bot] opened 4 months ago

renovate[bot] commented 4 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
replace-in-file 6.3.5 -> 8.2.0 age adoption passing confidence

Release Notes

adamreisnz/replace-in-file (replace-in-file) ### [`v8.2.0`](https://redirect.github.com/adamreisnz/replace-in-file/compare/d0b8c0d80eedfe5ef6f1ccf15ba91440d7902d98...fc5af6d35f046a9d70d68795a89c0afbca4511a2) [Compare Source](https://redirect.github.com/adamreisnz/replace-in-file/compare/d0b8c0d80eedfe5ef6f1ccf15ba91440d7902d98...fc5af6d35f046a9d70d68795a89c0afbca4511a2) ### [`v8.1.0`](https://redirect.github.com/adamreisnz/replace-in-file/compare/dc5e8cd2776d3cd9f855671c716e48b016bee0c3...d0b8c0d80eedfe5ef6f1ccf15ba91440d7902d98) [Compare Source](https://redirect.github.com/adamreisnz/replace-in-file/compare/dc5e8cd2776d3cd9f855671c716e48b016bee0c3...d0b8c0d80eedfe5ef6f1ccf15ba91440d7902d98) ### [`v8.0.3`](https://redirect.github.com/adamreisnz/replace-in-file/compare/760102a1824b169fc4e2ba47e0b621c7d1de6e22...dc5e8cd2776d3cd9f855671c716e48b016bee0c3) [Compare Source](https://redirect.github.com/adamreisnz/replace-in-file/compare/760102a1824b169fc4e2ba47e0b621c7d1de6e22...dc5e8cd2776d3cd9f855671c716e48b016bee0c3) ### [`v8.0.2`](https://redirect.github.com/adamreisnz/replace-in-file/compare/a5e19f544606487ba0fe7b26f27c160e4196f864...760102a1824b169fc4e2ba47e0b621c7d1de6e22) [Compare Source](https://redirect.github.com/adamreisnz/replace-in-file/compare/a5e19f544606487ba0fe7b26f27c160e4196f864...760102a1824b169fc4e2ba47e0b621c7d1de6e22) ### [`v8.0.1`](https://redirect.github.com/adamreisnz/replace-in-file/compare/3ea83fd0feabc7f199bee9a8e90ffad79c07d28b...a5e19f544606487ba0fe7b26f27c160e4196f864) [Compare Source](https://redirect.github.com/adamreisnz/replace-in-file/compare/3ea83fd0feabc7f199bee9a8e90ffad79c07d28b...a5e19f544606487ba0fe7b26f27c160e4196f864) ### [`v8.0.0`](https://redirect.github.com/adamreisnz/replace-in-file/blob/HEAD/CHANGELOG.md#800) [Compare Source](https://redirect.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://redirect.github.com/adamreisnz/replace-in-file/compare/2bec5b78f83848c318741f2bae4bc8f22fe25ca5...aafb9b1d644bc0414d8402dab246510c89a9d183) [Compare Source](https://redirect.github.com/adamreisnz/replace-in-file/compare/2bec5b78f83848c318741f2bae4bc8f22fe25ca5...aafb9b1d644bc0414d8402dab246510c89a9d183) ### [`v7.1.0`](https://redirect.github.com/adamreisnz/replace-in-file/compare/40a3b59894e87a74182903259029366ab55a99b4...2bec5b78f83848c318741f2bae4bc8f22fe25ca5) [Compare Source](https://redirect.github.com/adamreisnz/replace-in-file/compare/40a3b59894e87a74182903259029366ab55a99b4...2bec5b78f83848c318741f2bae4bc8f22fe25ca5) ### [`v7.0.2`](https://redirect.github.com/adamreisnz/replace-in-file/compare/a8619da2db61ee3247f5161279c95ab61e0bb0db...40a3b59894e87a74182903259029366ab55a99b4) [Compare Source](https://redirect.github.com/adamreisnz/replace-in-file/compare/a8619da2db61ee3247f5161279c95ab61e0bb0db...40a3b59894e87a74182903259029366ab55a99b4) ### [`v7.0.1`](https://redirect.github.com/adamreisnz/replace-in-file/compare/e766b0e9be983a22979ffbe600c5efb657062db9...a8619da2db61ee3247f5161279c95ab61e0bb0db) [Compare Source](https://redirect.github.com/adamreisnz/replace-in-file/compare/e766b0e9be983a22979ffbe600c5efb657062db9...a8619da2db61ee3247f5161279c95ab61e0bb0db) ### [`v7.0.0`](https://redirect.github.com/adamreisnz/replace-in-file/blob/HEAD/CHANGELOG.md#700) [Compare Source](https://redirect.github.com/adamreisnz/replace-in-file/compare/v6.3.5...e766b0e9be983a22979ffbe600c5efb657062db9) 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.



This PR was generated by Mend Renovate. View the repository job log.