chore: update compat-data (#13949)

* chore: update compat-data

* update compat-data sources

* fix: exclude deno from compat-data

* update test fixtures

* update Babel 8 test fixtures
This commit is contained in:
Huáng Jùnliàng
2021-11-10 15:39:34 -05:00
committed by GitHub
parent f8b331ca0d
commit f731522125
58 changed files with 153 additions and 139 deletions

View File

@@ -37,6 +37,8 @@ function process(source) {
Object.keys(stats).forEach(browser => {
const browserName = browserNameMap[browser] || browser;
// todo: remove this when we support deno
if (browserName === "deno") return;
let browserSupport = stats[browserSupportMap[browserName] || browser];
if (Array.isArray(browserSupport)) {
browserSupport = browserSupport[0]; // The first item is the most progressive support

View File

@@ -152,6 +152,7 @@ const es2021 = {
};
const es2022 = {
"proposal-class-static-block": "Class static initialization blocks",
"proposal-private-property-in-object":
"Ergonomic brand checks for private fields",
"proposal-class-properties": {
@@ -163,7 +164,6 @@ const es2022 = {
],
},
"proposal-private-methods": "private class methods",
"proposal-class-static-block": "Class static initialization blocks",
};
const shippedProposal = {};

View File

@@ -1,7 +1,7 @@
#!/bin/bash
set -e
COMPAT_TABLE_COMMIT=34b14f8eb016f8f2f3312adf35c53d6364742582
COMPAT_TABLE_COMMIT=bddf2b204ffc959f738355517257f6f389b12584
GIT_HEAD=build/compat-table/.git/HEAD
if [ -d "build/compat-table" ]; then