Skip to content

Commit

Permalink
chore: add node.js 14 support data (#11462)
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Apr 22, 2020
1 parent 1a2f671 commit 928b9f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/babel-compat-data/data/plugins.json
Expand Up @@ -15,6 +15,7 @@
"edge": "80",
"firefox": "72",
"safari": "13.1",
"node": "14",
"electron": "8.1"
},
"proposal-optional-chaining": {
Expand All @@ -23,6 +24,7 @@
"edge": "80",
"firefox": "74",
"safari": "13.1",
"node": "14",
"electron": "8.1"
},
"proposal-json-strings": {
Expand Down
4 changes: 2 additions & 2 deletions 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
Expand All @@ -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

0 comments on commit 928b9f8

Please sign in to comment.