We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c0f6f9 + e000c67 commit 263e01fCopy full SHA for 263e01f
update_remote_settings_records.mjs
@@ -16,7 +16,12 @@
16
// In the future, it will also handle https://github.com/mdn/browser-compat-data/tree/main/css.
17
18
import fetch from "node-fetch";
19
-import compatData from "@mdn/browser-compat-data";
+
20
+// Use the legacy wrapper to support all Node 12+ versions.
21
+// If we only support Node 16+, can be updated to:
22
+// import bcd from '@mdn/browser-compat-data' assert { type: 'json' };
23
+// See https://github.com/mdn/browser-compat-data.
24
+import compatData from "@mdn/browser-compat-data/forLegacyNode";
25
26
const SUCCESS_RET_VALUE = 0;
27
const FAILURE_RET_VALUE = 1;
0 commit comments