non-optimal-dependency-setup-detection is not working correctly with prerelease-tags

#31 · closed · 1 comments

View on GitHub ↗

heikomat

When working with prerelease-tags in dependency-versions, they are incorrectly identified as incompatible, which results in warnings like this: ``` | 4 local modules are satisfied with version ^1.0.0-rc6 of @process-engine/process_engine, but some aren't: | version ^1.0.0-rc3 satisfies 1 local modules: | ./_integration_tests ``` `^1.0.0-rc3` obviously does satisfy `^1.0.0-rc6` because of the `^`. The reason this happens is, that semver-intersect manipulates the supplied ranges in an incompatible way. I opened an Issue for that here: https://github.com/snyamathi/semver-intersect/issues/4 This only makes the setup not be fully optimized, but should not result in broken installations!

Comments

heikomat

This is fixed in 3.0.4 Thanks to https://github.com/snyamathi/semver-intersect/pull/5 :)