7 ms·
I would not say the main reason for wildcards is to save disk space. It's to allow updates to happen automatically. > Package A contains the correct Dependenc
by Dylan16807 10y ago
I would not say the main reason for wildcards is to save disk space. It's to allow updates to happen automatically.
> Package A contains the correct Dependency 1 1.0.1.
What happened to "Package A was written when Dependency 1 was at version 1.0.0."?
If someone in the pinned-version universe was able to update package A to include 1.0.1, the equivalent coder in the semver universe should have updated package A to require "<2 >=1.0.1". Semver dependencies should never lag in necessary updates vs. pinned dependencies in a fair comparison, because they can set an exact minimum.
- tolmasky 10y agoI'm saying deduping is to save disk space. Sennmver ranges combined with deduping generate this behavior.