Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Prepare change needed for latest mdn-browser-compat-data format #196

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hkleungai
Copy link

Commits

  • feat: Prepare change needed for latest mdn-browser-compat-data format
  • Bump MDN

Description

Currently this repo is taking data from "mdn-browser-compat-data" at v5.4.5, which is released on Dec 7, 2023 for like a year ago. I think catching up with the latest version v5.6.6 is needed.

Unfortunately between these two versions, there is a huge change on the build json. All the rules and types jsons are no longer partitioned into various sub-json file. Instead, they are now all living in one single build/data.json.

$ ls -1 node_modules/mdn-browser-compat-data/build
LICENSE
README.md
data.json
import.d.mts
legacynode.mjs
package.json
require.d.ts
types.d.ts

To cope with this change, I have made some code changes to make npm run update run-able.

You may want to actually checkout my branch, review the change, and run npm run update yourself to see if anything goes wrong.

Please help review the change. It would be nice to see it can get released soon so that all the other upstream packages can consume the latest typing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant