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

Update semver #57

Open
csparker247 opened this issue Sep 19, 2023 · 3 comments
Open

Update semver #57

csparker247 opened this issue Sep 19, 2023 · 3 comments

Comments

@csparker247
Copy link

I've been using the Doks theme in my project and just got the following warning from Dependabot.

@hyas/doks-core@1.0.7 requires semver@7.3.x via a transitive dependency on hugo-installer@4.0.1

It links to this vulnerability. Since I don't really know your code base, I thought I'd ask if it's a problem to update semver to >= 7.5.2?

@h-enk
Copy link

h-enk commented Oct 12, 2023

@dominique-mueller, if you have some time, would you mind bumping the dependencies to their latest versions? Thanks in advance!

@h-enk
Copy link

h-enk commented Dec 22, 2023

For a quick fix, use overrides in your project's package.json:

  "overrides": {
    "semver": "^7.5.4"
  },

@csparker247
Copy link
Author

In case anyone is a Node noob like me, I needed to run npm install again to update package-lock.json with the override. Works, though.

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

No branches or pull requests

2 participants