Bump compat-table (#12073)

* chore: update compat-table data source

* refactor: use chromeVersions from electron-to-chromium

* chore: deduplicate yarn.lock
This commit is contained in:
Huáng Jùnliàng
2020-09-24 16:28:26 -04:00
committed by GitHub
parent f2da186714
commit 6d87f46a7a
11 changed files with 96 additions and 71 deletions

View File

@@ -3,6 +3,7 @@
// NOTE: This script must be run _after_ build-data.js
const path = require("path");
const { addElectronSupportFromChromium } = require("./chromium-to-electron");
const {
getLowestImplementedVersion,
@@ -38,6 +39,7 @@ for (const [plugin, { replaces, features }] of Object.entries(data)) {
generatedTargets[plugin][env] = supportedWithBugfix;
}
}
addElectronSupportFromChromium(generatedTargets[plugin]);
}
for (const [replaced, features] of Object.entries(allReplacedFeatures)) {
@@ -57,6 +59,7 @@ for (const [replaced, features] of Object.entries(allReplacedFeatures)) {
generatedTargets[replaced][env] = stillNotSupported;
}
}
addElectronSupportFromChromium(generatedTargets[replaced]);
}
for (const [filename, data] of [