Replies: 1 comment
-
|
In my project i added I now run into the problem that
and stops. I checked https://github.com/npm/node-semver/blob/main/CHANGELOG.md to make sure that it's safe to use more up to date version of that package (no breaking changes). So i added "pnpm": {
"overrides": {
"semver": "7.7.3"
}
}to my When i now run So my question is if I am aware of https://github.com/un-ts/eslint-plugin-import-x as an up to date alternative to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use resolutions/overrides quite extensively, both for forcing single versions of transient dependencies across packages, but also to lock a specific dependency while i.e. waiting for a bug fix to land. If in the latter use-case you're dealing with a transient dependency, it can be hard to find out when a new version has landed and your override needs to be removed or updated since it won't be included in the output of
pnpm outdated. This means custom scripts or having to individually look up overrides one by one.Yarn v1 used to include
resolutionDependenciesin the output ofyarn outdatedso there's definitely a precedent for this. None of the package managers or standalone version checker tools appear to support this functionality today, however. Personally I found this extremely useful since overrides need to be handled with care so should also be visible (if desired) when reviewing dependencies.Beta Was this translation helpful? Give feedback.
All reactions