diff --git a/lerna.json b/lerna.json index b4692f70a257..918ba9fea141 100644 --- a/lerna.json +++ b/lerna.json @@ -23,8 +23,8 @@ "test/**", "**/test/**", "codemods/**", - "# We ignore every JSON file, except for built-in-modules, built-ins and plugins defined in babel-preset-env/data.", - "@(!(built-in-modules|built-ins|plugins|package)).json", + "# We ignore every JSON file, except for native-modules, built-ins and plugins defined in babel-preset-env/data.", + "@(!(native-modules|built-ins|plugins|package)).json", "# Until the ESLint packages version are aligned with Babel's, we ignore them", "eslint/**" ] diff --git a/packages/babel-compat-data/data/built-in-modules.json b/packages/babel-compat-data/data/built-in-modules.json deleted file mode 100644 index 980db7b7d21b..000000000000 --- a/packages/babel-compat-data/data/built-in-modules.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "es6.module": { - "edge": "16", - "firefox": "60", - "chrome": "61", - "safari": "10.1", - "opera": "48", - "ios_saf": "10.3", - "android": "61", - "op_mob": "48", - "and_chr": "61", - "and_ff": "60", - "samsung": "8.2" - } -} diff --git a/packages/babel-compat-data/data/native-modules.json b/packages/babel-compat-data/data/native-modules.json index 7e33f27eb290..980db7b7d21b 100644 --- a/packages/babel-compat-data/data/native-modules.json +++ b/packages/babel-compat-data/data/native-modules.json @@ -6,7 +6,10 @@ "safari": "10.1", "opera": "48", "ios_saf": "10.3", - "and_chr": "74", - "and_ff": "66" + "android": "61", + "op_mob": "48", + "and_chr": "61", + "and_ff": "60", + "samsung": "8.2" } } diff --git a/packages/babel-compat-data/scripts/build-modules-support.js b/packages/babel-compat-data/scripts/build-modules-support.js index b0864266f4e6..ac7eee8d7fef 100644 --- a/packages/babel-compat-data/scripts/build-modules-support.js +++ b/packages/babel-compat-data/scripts/build-modules-support.js @@ -33,7 +33,7 @@ Object.keys(stats).forEach(browser => { } }); -const dataPath = path.join(__dirname, "../data/built-in-modules.json"); +const dataPath = path.join(__dirname, "../data/native-modules.json"); const data = { "es6.module": allowedBrowsers, };