Open ysulyma opened 2 years ago
try to add ?deps=liqvid@2.1.3
to change the liqvid version
That's what I resorted to, and it worked, but it should happen automatically
How does esm determine the dependency version? Is this just a bug, where the package.json semver isn't being honoured correctly, or is it something else?
I am importing https://esm.sh/liqvid and https://cdn.esm.sh/v68/@liqvid/katex. The first correctly imports the latest version
liqvid@2.1.3
. However, the second is importingliqvid@2.1.1
as a dependency, which causes code to break since it's accessing the wrong Liqvid context. The@liqvid/katex
package declares"liqvid": "^2.1.1"
as a dependency; since2.1.2
matches^2.1.1
and is newer than2.1.1
, it should be imported.