Add support for rhino as a compilation target (#13448)

* Add support for rhino as a compilation target

* Add tests for target: rhino

* Fix test failing due to whitespace

* Keep consistent names for rhino tests in babel 7 and 8

* Bump core-js-compat to 3.15.0

* Change references to rhino to include patch version

* Update compat table data import

* Split transpilation of arrow function features more finely

* Rename rhino fixtures to include the patch number and update to include syntax that is and isn't supported for better testing

* Only use the relevant features for transform-new-target and transform-classes
This commit is contained in:
Samuel Gaus
2021-08-03 22:03:16 +01:00
committed by GitHub
parent a254ea38a4
commit 830b99dc83
14 changed files with 138 additions and 7 deletions

View File

@@ -211,11 +211,12 @@
"chrome": "47",
"opera": "34",
"edge": "13",
"firefox": "45",
"firefox": "43",
"safari": "10",
"node": "6",
"ios": "10",
"samsung": "5",
"rhino": "1.7.13",
"electron": "0.36"
},
"transform-block-scoped-functions": {
@@ -371,13 +372,14 @@
"node": "0.12",
"ios": "9",
"samsung": "3",
"rhino": "1.7.13",
"electron": "0.20"
},
"transform-new-target": {
"chrome": "46",
"opera": "33",
"edge": "14",
"firefox": "41",
"firefox": "45",
"safari": "10",
"node": "5",
"ios": "10",
@@ -407,6 +409,7 @@
"ios": "6",
"phantom": "2",
"samsung": "1",
"rhino": "1.7.13",
"electron": "0.20"
},
"transform-property-literals": {
@@ -421,6 +424,7 @@
"ios": "6",
"phantom": "2",
"samsung": "1",
"rhino": "1.7.13",
"electron": "0.20"
},
"transform-reserved-words": {
@@ -435,6 +439,7 @@
"ios": "6",
"phantom": "2",
"samsung": "1",
"rhino": "1.7.13",
"electron": "0.20"
},
"proposal-export-namespace-from": {