From 282c6123c61539f9e71f33305ce46865fdb7d9de Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 15:54:49 +0000 Subject: [PATCH] Update draft features (#2430) --- features/draft/spec/ecmascript.yml | 18 +++--- features/draft/spec/ecmascript.yml.dist | 60 ++++--------------- features/draft/spec/html.yml | 4 +- features/draft/spec/html.yml.dist | 12 ---- .../draft/spec/tc39-import-attributes.yml | 12 ---- .../spec/tc39-import-attributes.yml.dist | 13 ---- 6 files changed, 22 insertions(+), 97 deletions(-) delete mode 100644 features/draft/spec/tc39-import-attributes.yml delete mode 100644 features/draft/spec/tc39-import-attributes.yml.dist diff --git a/features/draft/spec/ecmascript.yml b/features/draft/spec/ecmascript.yml index 69f771790d9..47d6cdd0dee 100644 --- a/features/draft/spec/ecmascript.yml +++ b/features/draft/spec/ecmascript.yml @@ -1,4 +1,4 @@ -draft_date: 2024-12-11 +draft_date: 2024-12-12 name: ECMAScript Language Specification description: TODO spec: https://tc39.es/ecma262/multipage/ @@ -15,15 +15,11 @@ compat_features: - javascript.operators.await.top_level - javascript.operators.exponentiation - javascript.operators.exponentiation_assignment - - javascript.operators.import - - javascript.operators.import_meta - javascript.operators.logical_and_assignment - javascript.operators.logical_or_assignment - javascript.operators.nullish_coalescing - javascript.operators.nullish_coalescing_assignment - javascript.statements.const - - javascript.statements.export.namespace - - javascript.statements.import.worklet_support - javascript.statements.let - javascript.statements.try_catch.optional_catch_binding @@ -903,6 +899,14 @@ compat_features: # - javascript.operators.destructuring.computed_property_names # - javascript.operators.destructuring.rest_in_arrays # - javascript.operators.destructuring.rest_in_objects +# - JavaScript modules: +# - javascript.operators.import +# - javascript.operators.import_meta +# - javascript.statements.export +# - javascript.statements.export.default +# - javascript.statements.export.namespace +# - javascript.statements.import +# - javascript.statements.import.worklet_support # - JavaScript modules in workers: # - javascript.operators.import.worker_support # - javascript.statements.import.worker_support @@ -911,10 +915,6 @@ compat_features: # - javascript.operators.spread.spread_in_arrays # - javascript.operators.spread.spread_in_function_calls # - javascript.operators.spread.spread_in_object_literals -# - JavaScript modules: -# - javascript.statements.export -# - javascript.statements.export.default -# - javascript.statements.import # - JavaScript modules in service workers: # - javascript.statements.import.service_worker_support # - WebAssembly: diff --git a/features/draft/spec/ecmascript.yml.dist b/features/draft/spec/ecmascript.yml.dist index d40b43fb002..f0d9c31fbec 100644 --- a/features/draft/spec/ecmascript.yml.dist +++ b/features/draft/spec/ecmascript.yml.dist @@ -2,10 +2,17 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: high + baseline_low_date: 2021-09-20 + baseline_high_date: 2024-03-20 support: - firefox: "114" - firefox_android: "114" + chrome: "89" + chrome_android: "89" + edge: "89" + firefox: "89" + firefox_android: "89" + safari: "15" + safari_ios: "15" compat_features: # baseline: high # baseline_low_date: 2015-07-29 @@ -125,32 +132,6 @@ compat_features: # safari_ios: "11" - javascript.grammar.template_literals.template_literal_revision - # baseline: high - # baseline_low_date: 2020-01-15 - # baseline_high_date: 2022-07-15 - # support: - # chrome: "63" - # chrome_android: "63" - # edge: "79" - # firefox: "67" - # firefox_android: "67" - # safari: "11.1" - # safari_ios: "11.3" - - javascript.operators.import - - # baseline: high - # baseline_low_date: 2020-01-15 - # baseline_high_date: 2022-07-15 - # support: - # chrome: "64" - # chrome_android: "64" - # edge: "79" - # firefox: "62" - # firefox_android: "62" - # safari: "11.1" - # safari_ios: "12" - - javascript.operators.import_meta - # baseline: high # baseline_low_date: 2020-01-15 # baseline_high_date: 2022-07-15 @@ -231,19 +212,7 @@ compat_features: - javascript.operators.logical_or_assignment - javascript.operators.nullish_coalescing_assignment - # baseline: high - # baseline_low_date: 2021-04-26 - # baseline_high_date: 2023-10-26 - # support: - # chrome: "72" - # chrome_android: "72" - # edge: "79" - # firefox: "80" - # firefox_android: "80" - # safari: "14.1" - # safari_ios: "14.5" - - javascript.statements.export.namespace - + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2021-09-20 # baseline_high_date: 2024-03-20 @@ -256,10 +225,3 @@ compat_features: # safari: "15" # safari_ios: "15" - javascript.operators.await.top_level - - # ⬇️ Same status as overall feature ⬇️ - # baseline: false - # support: - # firefox: "114" - # firefox_android: "114" - - javascript.statements.import.worklet_support diff --git a/features/draft/spec/html.yml b/features/draft/spec/html.yml index 3b17d244e73..c92045f0754 100644 --- a/features/draft/spec/html.yml +++ b/features/draft/spec/html.yml @@ -1,4 +1,4 @@ -draft_date: 2024-12-09 +draft_date: 2024-12-12 name: HTML Standard description: TODO spec: https://html.spec.whatwg.org/multipage/ @@ -357,7 +357,6 @@ compat_features: - http.status.103 - http.status.103.preconnect - http.status.103.preload - - javascript.operators.import_meta.resolve # The following features in the spec are already part of web-features: # - Audio and video tracks: @@ -2313,6 +2312,7 @@ compat_features: # - JavaScript modules: # - html.elements.script.nomodule # - html.elements.script.type.module +# - javascript.operators.import_meta.resolve # - Import maps: # - html.elements.script.type.importmap # - : diff --git a/features/draft/spec/html.yml.dist b/features/draft/spec/html.yml.dist index df22f8448ce..f26caef7a8b 100644 --- a/features/draft/spec/html.yml.dist +++ b/features/draft/spec/html.yml.dist @@ -1463,18 +1463,6 @@ compat_features: # safari_ios: "16.4" - api.ElementInternals.shadowRoot - # baseline: low - # baseline_low_date: 2023-03-27 - # support: - # chrome: "105" - # chrome_android: "105" - # edge: "105" - # firefox: "106" - # firefox_android: "106" - # safari: "16.4" - # safari_ios: "16.4" - - javascript.operators.import_meta.resolve - # baseline: low # baseline_low_date: 2023-04-06 # support: diff --git a/features/draft/spec/tc39-import-attributes.yml b/features/draft/spec/tc39-import-attributes.yml deleted file mode 100644 index 0168216c425..00000000000 --- a/features/draft/spec/tc39-import-attributes.yml +++ /dev/null @@ -1,12 +0,0 @@ -draft_date: 2024-10-21 -name: Import Attributes -description: TODO -spec: https://tc39.es/proposal-import-attributes/ -compat_features: - - javascript.statements.import.import_attributes - -# The following features in the spec are already part of web-features: -# - CSS import attributes: -# - javascript.statements.import.import_attributes.type_css -# - JSON import attributes: -# - javascript.statements.import.import_attributes.type_json diff --git a/features/draft/spec/tc39-import-attributes.yml.dist b/features/draft/spec/tc39-import-attributes.yml.dist deleted file mode 100644 index 9863e2d916a..00000000000 --- a/features/draft/spec/tc39-import-attributes.yml.dist +++ /dev/null @@ -1,13 +0,0 @@ -# Generated from: tc39-import-attributes.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: false - support: - chrome: "123" - chrome_android: "123" - edge: "123" - safari: "17.2" - safari_ios: "17.2" -compat_features: - - javascript.statements.import.import_attributes