dependency mismatch between github and npm
See original GitHub issueš Bug Report
jest-environment-jsdom@24.9.0 installs old jsdom 11.12.0 that includes left-pad@1.3.0
in github seems to be fixed, but in practice the version installed is still the one above, not the one in the package.json on github
To Reproduce
mkdir test-jestjsdom cd jestjsdom npm init --yest npm i -D jest npm ls left-pad
Expected behavior
no left-pad to appear as a dependency
envinfo
System:
OS: macOS 10.15.1
CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
Binaries:
Node: 13.1.0 - ~/.nvm/versions/node/v13.1.0/bin/node
Yarn: 1.13.0 - /usr/local/bin/yarn
npm: 6.13.0 - ~/.nvm/versions/node/v13.1.0/bin/npm
npmPackages:
jest: ^24.9.0 => 24.9.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
Dependency name mismatches in package.json for git ...
I'm opening this issue because: [ x ] npm is producing an incorrect install. What's going wrong? If a github dependency's name doesn't...
Read more >Installing a package with a mismatching peer dependency ...
I'm opening this issue because: npm is crashing. npm is doing something I don't understand. npm is producing incorrect or undesirableĀ ...
Read more >Mismatch package version between NPM and Github #1759
I downloaded the latest version 16.1.0 because I am expecting to use this specific commit: 4817a6b#diff-3077b2e090cd9baca8d3b203af907422 ButĀ ...
Read more >Updating git dependency urls does not work #1727 - GitHub
Currently npm does not notice when the version reference of a previously installed package is upgrade to a git url. So in order...
Read more >dependency version mismatch in `instrumentation-express`
What version of OpenTelemetry are you using? @opentelemetry/api: 1.1.0 @opentelemetry/sdk-node: 0.29.0Ā ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@markdingram Thank you, I appreciate both your and @thymikeeās time that you put into answering me in this issue. Though, there seems to be a misunderstanding. No amount of detail about the past answers my question, because it is about the future. My question is, what is my solution? We are in the second part of November, end of Fall. This change was introduced a season ago, at the end of August. It seems bizarre to me that millions of jest users still use left-pad because āthe patch missed the releaseā. You seem to consider these things as something out of your power, like the weather. But it is not the weather, itās software, the thing we created exactly because itās malleable. So please tell me, what is my solution here? Waiting for the weather to change and the release to arrive is not a solution, is the opposite of a solution š
P.S. I tried 25.0.0 which btw I think worked more or less on linux, but on catalina it didnāt even install, probably for reasons not even related to jest. My overall frustration - if detectable - has nothing to do with this current issue, donāt take me too seriously.
Well, itās a bug to get a different thing than what you are promised - or thatās what I thought. And I wasnāt sure what else I could say it is? I also do not get you answer, whatās the solution here for me?