From 928b9f8c9518284eac6d0598633f2ec373fc6d0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Wed, 22 Apr 2020 10:42:15 -0400 Subject: [PATCH] chore: add node.js 14 support data (#11462) --- packages/babel-compat-data/data/plugins.json | 2 ++ packages/babel-compat-data/scripts/download-compat-table.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/babel-compat-data/data/plugins.json b/packages/babel-compat-data/data/plugins.json index 522d572e2aa9..871167856ad4 100644 --- a/packages/babel-compat-data/data/plugins.json +++ b/packages/babel-compat-data/data/plugins.json @@ -15,6 +15,7 @@ "edge": "80", "firefox": "72", "safari": "13.1", + "node": "14", "electron": "8.1" }, "proposal-optional-chaining": { @@ -23,6 +24,7 @@ "edge": "80", "firefox": "74", "safari": "13.1", + "node": "14", "electron": "8.1" }, "proposal-json-strings": { diff --git a/packages/babel-compat-data/scripts/download-compat-table.sh b/packages/babel-compat-data/scripts/download-compat-table.sh index c5f2cc167fde..145fc825f1e5 100755 --- a/packages/babel-compat-data/scripts/download-compat-table.sh +++ b/packages/babel-compat-data/scripts/download-compat-table.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -COMPAT_TABLE_COMMIT=dd0983ae16fce677fccb3b74fbb778d435e59790 +COMPAT_TABLE_COMMIT=df1466b4ddae4c1c9d8b385332a800eeb7f28049 GIT_HEAD=build/compat-table/.git/HEAD if [ -d "build/compat-table" ]; then @@ -16,5 +16,5 @@ fi rm -rf build/compat-table mkdir -p build -git clone --branch=gh-pages --single-branch --shallow-since=2020-04-18 https://github.com/kangax/compat-table.git build/compat-table +git clone --branch=gh-pages --single-branch --shallow-since=2020-04-20 https://github.com/kangax/compat-table.git build/compat-table cd build/compat-table && git checkout -qf $COMPAT_TABLE_COMMIT