canjs
canjs copied to clipboard
[email protected] - version mismatch of can-observable-array with sub-dependency in can-connect
The [email protected]
package takes locked version dependencies on [email protected]
and [email protected]
. [email protected]
in turn takes an open-ended dependency ^0.7.0
for can-observable-array
.
But because it is a zero major version, the eligible range is effectively locked to [0.7.0 ... 0.8.0)
.
NPM cannot consolidate these two versions for deduping and thus gives can-connect
its own local copy of [email protected]
@rjgotten is there an issue with can-connect
having its own version?
Browser-bloat, mostly. Which can become larger if dependencies-of-dependencies start coming into play.
@rjgotten to have less bloat i always use the ecosystem.mjs this reduces the dependency package hell. let all your code depend on the mjs build that also reduces install time simply wget it from unpkg.com i would not use the npm packages.
@frank-dspeed You know; that is actually not a bad idea. Will have to bring that up with my colleagues and see if we can give that a shot. Thanks :+1: