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

Dependabot not updating all versions in package.json #11706

Open
1 task done
xt0rted opened this issue Mar 1, 2025 · 0 comments
Open
1 task done

Dependabot not updating all versions in package.json #11706

xt0rted opened this issue Mar 1, 2025 · 0 comments
Labels
L: javascript T: bug 🐞 Something isn't working

Comments

@xt0rted
Copy link

xt0rted commented Mar 1, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

npm

Package manager version

No response

Language version

No response

Manifest location and content before the Dependabot update

real repo

minimal repo

dependabot.yml content

real repo

minimal repo

Updated dependency

  • @vitest/coverage-v8
  • vitest

Both went from 3.0.6 to 3.0.7

  • @tailwindcss/vite
  • tailwindcss

Both went from 4.0.0-beta.5 to 4.0.9

What you expected to see, versus what you actually saw

The PR says both packages were updated and that's reflected in the lock file, but it's not reflected in the package.json file where only the first package's version is updated.

There's different automatic versioning strategies for apps & libraries, but I would not expect a widening of a version for a dev dependency which both vitest & tailwindcss are. On top of that, this repo's versioning strategy set to increase which, unless I'm mistaken, means the versions in package.json should always change.

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

real repo

minimal repo

Smallest manifest that reproduces the issue

minimal repro with both sets of packages

https://github.com/xt0rted-test/dependabot-verions-not-increasing

@xt0rted xt0rted added the T: bug 🐞 Something isn't working label Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: javascript T: bug 🐞 Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant