I wish to update a sub-dependency to a specific version, for example:
"original": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz",
"integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==",
"dev": true,
"requires": {
"url-parse": "^1.4.3"
}
},
the package original that require url-parse version ^1.4.3 and I wish to change it to require version ^1.5.10
I have seen npm's overrides feature:
"overrides": {
"url-parse": "^1.5.10"
}
but I can't run npm update or npm i since I'm using lerna with symlinks.
lerna update wizard (cli tool), lerna bootstrap, lerna bootstrap --hoist didn't really help with any thing, any idea how can I do it?
My Versions:
lerna: 4.0.0
npm: 8.5.5
node: 14.16.0