esm.sh icon indicating copy to clipboard operation
esm.sh copied to clipboard

Packages that shouldn't exist appear when using `^version`

Open liuxingbaoyu opened this issue 9 months ago • 2 comments

Failing module

  • GitHub: https://github.com/codemirror
  • npm: https://npmjs.com/package/codemirror
import { basicSetup } from "https://esm.sh/codemirror@^6.0.1"

https://esm.sh/codemirror@^6.0.1 points to [email protected], which is a non-existent version.

/* esm.sh - [email protected] */
export * from "/[email protected]/es2022/codemirror.mjs";
export { default } from "/[email protected]/es2022/codemirror.mjs";

Image

liuxingbaoyu avatar Apr 13 '25 14:04 liuxingbaoyu

Image

seems the version @6.65.7 was published accidentally and deprecated

"deprecated": "This is an accidentally mis-tagged instance of 5.65.7"

ije avatar Apr 13 '25 23:04 ije

i will updete the semver resovler to ignore deprecated versions, thanks for reporting!

ije avatar Apr 13 '25 23:04 ije