Skip to content

Commit

Permalink
Add support for rhino as a compilation target (#13448)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
gausie committed Aug 3, 2021
1 parent a254ea3 commit 830b99d
Show file tree
Hide file tree
Showing 14 changed files with 138 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/third-party-libs.js.flow
Expand Up @@ -187,7 +187,7 @@ declare module "convert-source-map" {
}

declare module "core-js-compat/data" {
declare type Target = "node" | "chrome" | "opera" | "edge" | "firefox" | "safari" | "ie" | "ios" | "android" | "electron" | "samsung";
declare type Target = "node" | "chrome" | "opera" | "edge" | "firefox" | "safari" | "ie" | "ios" | "android" | "electron" | "samsung" | "rhino";

declare module.exports: {
[key: string]: {
Expand Down

0 comments on commit 830b99d

Please sign in to comment.