esm-dev / esm.sh

A fast, smart, & global CDN for modern(es2015+) web development.
https://esm.sh
MIT License
2.95k stars 143 forks source link

Wrong `x-typescript-types` for `@babel/parser` #824

Open nicolo-ribaudo opened 2 months ago

nicolo-ribaudo commented 2 months ago

The package.json of that module (see it at https://www.npmjs.com/package/@babel/parser/v/8.0.0-alpha.8?activeTab=code) contains:

  "exports": {
    ".": {
      "types": "./typings/babel-parser.d.ts",
      "require": "./lib/index.cjs",
      "default": "./lib/index.js"
    },
    "./package.json": "./package.json"
  },

However, x-typescript-types points to https://esm.sh/v135/@types/babel__parser@latest/index.d.ts and not https://esm.sh/@babel/parser@8.0.0-alpha.8/typings/babel-parser.d.ts