Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

271
Views
Updating version of dependency in package-lock.json

How to update version of a dependency which is required by other dependencies.

├─┬ vue-svgicon@3.2.9
│ └─┬ yargs@12.0.5
│   └── yargs-parser@11.1.1

In my case, yargs-parser needs to be updated to 13.1.1. Making any changes in the package-lock.json just overwrites it when you run npm install.

  1. npm audit fix doesnt update it either

  1. Tried doing with npm-shrinkwrap.json as an override for package-lock.json but want to find out some other alternative.

  1. Another alternative is to do a define
"resolutions"

in the package.json file in addition to

"preinstall": "npm-force-resolutions"

but this adds an additional dependency of npm-force-resolutions which is not desired

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!