feat: Prepare change needed for latest mdn-browser-compat-data format
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.
Godspeed, @hkleungai, you legend. You contributions do not go unnoticed.
Sorry for the long wait and thank you for your contribution 🙏 This however has been implemented now with the published types from @mdn/browser-compat-data.