- From: Karl Adler <adler@fudler.de>
- Date: Fri, 31 Jan 2025 16:41:40 +0100
- To: public-webdx@w3.org
Received on Monday, 3 February 2025 08:41:37 UTC
Hey webdx members, The module unfortunately does not work with nodejs 22: https://www.npmjs.com/package/baseline-browser-mapping cause: /baseline-browser-mapping/dist/scripts/baseline-browser-versions.js import bcdBrowsers from "@mdn/browser-compat-data" assert { type: "json" }; import otherBrowsers from "../data/downstream-browsers.json" assert { type: "json" }; This is due to support for "import assertions" being removed from Node in favour of "import attributes", which are essentially the same thing except you have to use the keyword with instead of assert: see: https://stackoverflow.com/a/78876692/1059828 Unfortunately I wasn't able to find any public repository where to issue a PR or bug report. Kind regards Karl Adler -- Karl Adler Tel. +49.151.50716666 adler@fudler.de Karl Adler - Fudler - IT-Solutions
Received on Monday, 3 February 2025 08:41:37 UTC