Update dependency replace-in-file to v8 #174

Open
mr.renovate wants to merge 1 commit from renovate/replace-in-file-8.x into master
Member

This PR contains the following updates:

Package Type Update Change
replace-in-file dependencies major 7.1.0 -> 8.3.0

Release Notes

adamreisnz/replace-in-file (replace-in-file)

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


  • 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) | dependencies | major | [`7.1.0` -> `8.3.0`](https://renovatebot.com/diffs/npm/replace-in-file/7.1.0/8.3.0) | --- ### Release Notes <details> <summary>adamreisnz/replace-in-file (replace-in-file)</summary> ### [`v8.3.0`](https://github.com/adamreisnz/replace-in-file/compare/fc5af6d35f046a9d70d68795a89c0afbca4511a2...e9f4f16fbb136fc45e8e5dfab4c7cb319f028bda) [Compare Source](https://github.com/adamreisnz/replace-in-file/compare/fc5af6d35f046a9d70d68795a89c0afbca4511a2...e9f4f16fbb136fc45e8e5dfab4c7cb319f028bda) ### [`v8.2.0`](https://github.com/adamreisnz/replace-in-file/compare/d0b8c0d80eedfe5ef6f1ccf15ba91440d7902d98...fc5af6d35f046a9d70d68795a89c0afbca4511a2) [Compare Source](https://github.com/adamreisnz/replace-in-file/compare/d0b8c0d80eedfe5ef6f1ccf15ba91440d7902d98...fc5af6d35f046a9d70d68795a89c0afbca4511a2) ### [`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> --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy42MC4yIiwidXBkYXRlZEluVmVyIjoiMzkuNTcuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
mr.renovate added 1 commit 2024-06-25 06:33:57 +02:00
Update dependency replace-in-file to v8
Some checks failed
renovate/artifacts Artifact file update failure
forgejo/Procyon/seedling/pipeline/pr-master There was a failure building this commit
forgejo/Procyon/seedling/pipeline/head There was a failure building this commit
3937504cb5
requested review from romanjaros 2024-06-25 06:33:57 +02:00
mr.renovate force-pushed renovate/replace-in-file-8.x from 3937504cb5 to ccdfcb8faa 2024-06-26 06:33:42 +02:00 Compare
mr.renovate force-pushed renovate/replace-in-file-8.x from ccdfcb8faa to fba86f9eb0 2024-07-02 06:34:39 +02:00 Compare
mr.renovate force-pushed renovate/replace-in-file-8.x from fba86f9eb0 to 16e77cbd18 2024-07-03 06:34:49 +02:00 Compare
Author
Member

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
Scope: all 5 projects
source/e2e                               | Progress: resolved 1, reused 0, downloaded 0, added 0
Progress: resolved 0, reused 0, downloaded 1, added 0

   ╭──────────────────────────────────────────────────────────────────╮
   │                                                                  │
   │                Update available! 8.10.2 → 9.11.0.                │
   │   Changelog: https://github.com/pnpm/pnpm/releases/tag/v9.11.0   │
   │     Run "corepack prepare pnpm@9.11.0 --activate" to update.     │
   │                                                                  │
   │      Follow @pnpmjs for updates: https://twitter.com/pnpmjs      │
   │                                                                  │
   ╰──────────────────────────────────────────────────────────────────╯

source/global                            | Progress: resolved 1, reused 0, downloaded 0, added 0
source/rest                              | Progress: resolved 1, reused 0, downloaded 0, added 0
source/e2e                               |  WARN  deprecated eslint-plugin-typescript@0.14.0
source/e2e                               | Progress: resolved 23, reused 0, downloaded 17, added 0
source/rest                              |  WARN  deprecated reflect-metadata@0.2.1
source/global                            | Progress: resolved 2, reused 0, downloaded 2, added 0, done
Progress: resolved 2, reused 0, downloaded 2, added 0
source/ui                                | Progress: resolved 1, reused 0, downloaded 0, added 0
source/ui                                |  WARN  deprecated eslint-plugin-typescript@0.14.0
source/rest                              | Progress: resolved 34, reused 0, downloaded 25, added 0
undefined
/tmp/renovate/repos/gitea/procyon/seedling/source/ui:
 ERROR  Cannot read properties of undefined (reading 'latest')

This error happened while installing a direct dependency of /tmp/renovate/repos/gitea/procyon/seedling/source/ui

TypeError: Cannot read properties of undefined (reading 'latest')
    at resolveNpm (/root/.cache/node/corepack/pnpm/8.10.2/dist/pnpm.cjs:63111:35)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.resolve (/root/.cache/node/corepack/pnpm/8.10.2/dist/pnpm.cjs:167741:28)
    at async run (/root/.cache/node/corepack/pnpm/8.10.2/dist/pnpm.cjs:179787:23)

### ⚠ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: pnpm-lock.yaml ``` Scope: all 5 projects source/e2e | Progress: resolved 1, reused 0, downloaded 0, added 0 Progress: resolved 0, reused 0, downloaded 1, added 0 ╭──────────────────────────────────────────────────────────────────╮ │ │ │ Update available! 8.10.2 → 9.11.0. │ │ Changelog: https://github.com/pnpm/pnpm/releases/tag/v9.11.0 │ │ Run "corepack prepare pnpm@9.11.0 --activate" to update. │ │ │ │ Follow @pnpmjs for updates: https://twitter.com/pnpmjs │ │ │ ╰──────────────────────────────────────────────────────────────────╯ source/global | Progress: resolved 1, reused 0, downloaded 0, added 0 source/rest | Progress: resolved 1, reused 0, downloaded 0, added 0 source/e2e |  WARN  deprecated eslint-plugin-typescript@0.14.0 source/e2e | Progress: resolved 23, reused 0, downloaded 17, added 0 source/rest |  WARN  deprecated reflect-metadata@0.2.1 source/global | Progress: resolved 2, reused 0, downloaded 2, added 0, done Progress: resolved 2, reused 0, downloaded 2, added 0 source/ui | Progress: resolved 1, reused 0, downloaded 0, added 0 source/ui |  WARN  deprecated eslint-plugin-typescript@0.14.0 source/rest | Progress: resolved 34, reused 0, downloaded 25, added 0 undefined /tmp/renovate/repos/gitea/procyon/seedling/source/ui:  ERROR  Cannot read properties of undefined (reading 'latest') This error happened while installing a direct dependency of /tmp/renovate/repos/gitea/procyon/seedling/source/ui TypeError: Cannot read properties of undefined (reading 'latest') at resolveNpm (/root/.cache/node/corepack/pnpm/8.10.2/dist/pnpm.cjs:63111:35) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.resolve (/root/.cache/node/corepack/pnpm/8.10.2/dist/pnpm.cjs:167741:28) at async run (/root/.cache/node/corepack/pnpm/8.10.2/dist/pnpm.cjs:179787:23) ```
mr.renovate force-pushed renovate/replace-in-file-8.x from 16e77cbd18 to 856d8539b0 2024-09-23 06:33:00 +02:00 Compare
Author
Member

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c.
! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager


### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: pnpm-lock.yaml ``` ! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c. ! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager ```
mr.renovate force-pushed renovate/replace-in-file-8.x from 856d8539b0 to 2bd8d50472 2024-12-18 06:34:25 +01:00 Compare
Some checks failed
renovate/artifacts Artifact file update failure
forgejo/Procyon/seedling/pipeline/pr-master There was a failure building this commit
forgejo/Procyon/seedling/pipeline/head There was a failure building this commit
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/replace-in-file-8.x:renovate/replace-in-file-8.x
git checkout renovate/replace-in-file-8.x
Sign in to join this conversation.
No reviewers
No labels
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: procyon/seedling#174
No description provided.