-
-
Notifications
You must be signed in to change notification settings - Fork 771
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
Sinon 9.0.0 installs duplicate dependencies #2224
Comments
Does this cause issues for you? Although we do try to keep these versions in sync, there is strictly speaking no need to. One downside is that browser builds might be a tad bit larger, but it's not a library that is included for production builds anyway, so ... 🤷♂ |
It does not present any immediate issues, other than the inconvenience of wasted resources, but in the future it could produce inconsistent results since those package versions will eventually deviate. |
This will remove some duplication in Sinon, see sinonjs/sinon#2224
This will remove some duplication in Sinon, see sinonjs/sinon#2224
This helps dedupe dependencies in Sinon. See sinonjs/sinon#2224
This helps dedupe dependencies when installing Sinon. See sinonjs/sinon#2224
This will help dedupe dependencies. See sinonjs/sinon#2224
This helps dedupe dependencies when installing Sinon. See sinonjs/sinon#2224
This will help dedupe dependencies. See sinonjs/sinon#2224
In the PRs listed above, I've updated the libraries that Sinon depends on, so they can be deduped properly. When installing Sinon, I now see this:
|
@mroderick, thanks for addressing this. I've left a comment in the |
I am not convinced of this. Each package depends on a separate version, and runs tests against that version, so no surprises should happen. And it has never occurred AFAIK this far in the history of Sinon. So yeah, wasted resourced (2kb) is the only thing that could present a minor nuisance AFAIK. |
There is a potential issue with matchers. The |
Describe the bug
sinon@9.0.0
depends on@sinonjs/formatio@5.0.0
directly, but also on@sinonjs/formatio@4.0.1
transitively vianise
. Similar for@sinonjs/samsam@5.0.1
and@sinonjs/samsam@4.2.2
To Reproduce
Steps to reproduce the behavior:
npm i -D sinon
npm ls
Expected behavior
There should be no duplicate dependencies.
The text was updated successfully, but these errors were encountered: