Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump braces from 3.0.2 to 3.0.3 #602

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 2, 2024

Bumps braces from 3.0.2 to 3.0.3.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner August 2, 2024 12:49
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 2, 2024
Copy link

changeset-bot bot commented Aug 2, 2024

⚠️ No Changeset found

Latest commit: 62088d8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@hitesh-parmar hitesh-parmar self-assigned this Aug 2, 2024
@hitesh-parmar hitesh-parmar self-requested a review August 2, 2024 12:57
@@ -7131,7 +7146,7 @@ packages:
resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==}
engines: {node: '>=8.6'}
dependencies:
braces: 3.0.2
braces: 3.0.3
Copy link
Contributor

@hitesh-parmar hitesh-parmar Aug 2, 2024

Choose a reason for hiding this comment

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

This change looks incorrect. Seems like dependabot made a direct change in the lock file.

Running pnpm update does not update the entry to 3.0.3

Copy link
Contributor

@hitesh-parmar hitesh-parmar Aug 2, 2024

Choose a reason for hiding this comment

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

Okay this seems also correct, but I wonder why the specifier "^" is not mentioned in the lock file

I checked the code and the following dependency is listed in the package.json of micromatch@4.0.5

 "dependencies": {
    "braces": "^3.0.2",
    "picomatch": "^2.3.1"
  },

Choose a reason for hiding this comment

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

Dependabot (and renovate for that mater) do not fully understand how to write overrides, so they just make direct lock changes.
These can work sometimes, but is not always consistent.
Such as for braces, which is always referenced as ^3 (that I have seen), this is OK.
For PNPM you can use the following cli as well:
pnpm update braces

@@ -6731,7 +6746,7 @@ packages:
dependencies:
universalify: 2.0.0
optionalDependencies:
graceful-fs: 4.2.10
graceful-fs: 4.2.11
Copy link
Contributor

Choose a reason for hiding this comment

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

This update looks correct when I check the package.json of the jsonfile module
It has the following entry:

 "optionalDependencies": {
    "graceful-fs": "^4.1.6"
  }, 

Choose a reason for hiding this comment

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

It is best to also update the optional to be ^4.2.11

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for answering @donal-tobin-sap, but this has to be done manually if I understand correctly.

Shouldn't this be doable by some pnpm command or maybe this is just a gap in pnpm as I do not see the usage of ^ in dependencies and optionalDependencies, but only in peeerDependencies section

Choose a reason for hiding this comment

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

Yes, some manual work will be required.
Renovate (nor dependabot) do not do everything.

Copy link

sonarqubecloud bot commented Aug 2, 2024

@hitesh-parmar
Copy link
Contributor

hitesh-parmar commented Aug 2, 2024

This issue should get fixed by #603

Edit: Issue is fixed

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 5, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@hitesh-parmar hitesh-parmar deleted the dependabot/npm_and_yarn/braces-3.0.3 branch August 5, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants