Update compat table (#11039)
* Fix compat-data build script * Update compat table * Update mappings for transform-parameters kangax/compat-table#1570 * Update unrelated fixture * Update
This commit is contained in:
@@ -234,12 +234,8 @@ const getLowestImplementedVersion = ({ features }, env) => {
|
||||
}
|
||||
|
||||
return envFiltered.reduce((a, b) => {
|
||||
if (
|
||||
a.semver === unreleasedLabelForEnv ||
|
||||
b.semver === unreleasedLabelForEnv
|
||||
) {
|
||||
return unreleasedLabelForEnv;
|
||||
}
|
||||
if (a.semver === unreleasedLabelForEnv) return a;
|
||||
if (b.semver === unreleasedLabelForEnv) return b;
|
||||
|
||||
return semver.lt(a.semver, b.semver) ? b : a;
|
||||
});
|
||||
|
||||
@@ -64,7 +64,8 @@ const es2015 = {
|
||||
features: [
|
||||
"default function parameters",
|
||||
"rest parameters",
|
||||
"destructuring, parameters / defaults, arrow function",
|
||||
"destructuring, parameters / aliased defaults, arrow function",
|
||||
"destructuring, parameters / shorthand defaults, arrow function",
|
||||
],
|
||||
},
|
||||
"transform-destructuring": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
COMPAT_TABLE_COMMIT=4195aca631ad904cb0efeb62a9c2d8c8511706f8
|
||||
COMPAT_TABLE_COMMIT=4e9369a699b0e15ba5c21586ce3bdd34299db9c1
|
||||
rm -rf build/compat-table
|
||||
mkdir -p build
|
||||
git clone --branch=gh-pages --single-branch --shallow-since=2019-11-14 https://github.com/kangax/compat-table.git build/compat-table
|
||||
|
||||
Reference in New Issue
Block a user