Skip to content

chore(deps): update dependency replace-in-file to v7#13922

Merged
tay1orjones merged 16 commits into
mainfrom
renovate/replace-in-file-7.x
Jul 17, 2023
Merged

chore(deps): update dependency replace-in-file to v7#13922
tay1orjones merged 16 commits into
mainfrom
renovate/replace-in-file-7.x

Conversation

@renovate

@renovate renovate Bot commented Jun 5, 2023

Copy link
Copy Markdown
Contributor

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
replace-in-file ^3.4.2 -> ^7.0.0 age adoption passing confidence
replace-in-file ^6.1.0 -> ^7.0.0 age adoption passing confidence

Release Notes

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

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.

v6.3.5

Compare Source

v6.3.4

Compare Source

v6.3.3

Compare Source

v6.3.2

Compare Source

v6.3.1

Compare Source

v6.3.0

Compare Source

v6.2.0

Compare Source

v6.1.1

Compare Source

v6.1.0

Compare Source

v6.0.0

Compare Source

From version 6.0.0 onwards, replace in file requires Node 10 or higher. If you need support for Node 8, please use version 5.x.x.

v5.0.2

Compare Source

v5.0.1

Compare Source

v4.3.1

Compare Source

v4.3.0

Compare Source

v4.2.0

Compare Source

v4.1.3

Compare Source

v4.1.2

Compare Source

v4.1.1

Compare Source

v4.1.0

Compare Source

v4.0.0

Compare Source

Breaking changes

The return value is now a results array instead of an array with changed files. The new results array includes each file that was processed, with a flag to indicate whether or not the file was changed, and optionally information about the number of matches and replacements that were made. See the readme for more details.

To update existing code and obtain an array of changed files again, simply convert the results array as follows:

const results = await replace(options);
const changedFiles = results
  .filter(result => result.hasChanged)
  .map(result => result.file);
New features
  • Added countMatches flag to count the number of matches and replacements per file #​38, #​42, #​61
  • Added --quiet flag for CLI to suppress success output #​63
  • Added cwd configuration parameter for network drive replacements #​56

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate Bot requested a review from a team as a code owner June 5, 2023 01:23
@renovate renovate Bot requested review from andreancardona and tw15egan June 5, 2023 01:23
@netlify

netlify Bot commented Jun 5, 2023

Copy link
Copy Markdown

Deploy Preview for carbon-components-react ready!

Name Link
🔨 Latest commit f274780
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/64b53d842cd95100073a9cd1
😎 Deploy Preview https://deploy-preview-13922--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify

netlify Bot commented Jun 5, 2023

Copy link
Copy Markdown

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit f274780
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/64b53d84d0e1dd0008553c4c
😎 Deploy Preview https://deploy-preview-13922--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@tay1orjones tay1orjones left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good if CI passes 👍

@tw15egan

Copy link
Copy Markdown
Contributor

@tay1orjones looks like this one has some issues

@tw15egan tw15egan closed this Jul 14, 2023
@renovate

renovate Bot commented Jul 14, 2023

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 7.x releases. But if you manually upgrade to 7.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate Bot deleted the renovate/replace-in-file-7.x branch July 14, 2023 15:52
@tay1orjones tay1orjones restored the renovate/replace-in-file-7.x branch July 17, 2023 12:55
@renovate renovate Bot deleted the renovate/replace-in-file-7.x branch July 17, 2023 12:56
@tay1orjones tay1orjones restored the renovate/replace-in-file-7.x branch July 17, 2023 13:04
@tay1orjones tay1orjones reopened this Jul 17, 2023
@renovate renovate Bot closed this Jul 17, 2023
@renovate renovate Bot deleted the renovate/replace-in-file-7.x branch July 17, 2023 13:05
@tay1orjones tay1orjones restored the renovate/replace-in-file-7.x branch July 17, 2023 13:06
@tay1orjones tay1orjones reopened this Jul 17, 2023
@renovate renovate Bot force-pushed the renovate/replace-in-file-7.x branch from d6ddd0a to a6e2f8b Compare July 17, 2023 13:08
@renovate

renovate Bot commented Jul 17, 2023

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@tay1orjones tay1orjones added this pull request to the merge queue Jul 17, 2023
Merged via the queue into main with commit 1bf2d4f Jul 17, 2023
@tay1orjones tay1orjones deleted the renovate/replace-in-file-7.x branch July 17, 2023 16:54
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.

3 participants