Skip to content

Commit 830b99d

Browse files
authored
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
1 parent a254ea3 commit 830b99d

File tree

14 files changed

+138
-7
lines changed

14 files changed

+138
-7
lines changed

lib/third-party-libs.js.flow

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ declare module "convert-source-map" {
187187
}
188188

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

192192
declare module.exports: {
193193
[key: string]: {

0 commit comments

Comments
 (0)