diff --git a/features/css-modules.yml b/features/css-modules.yml index c34fc7aee97..b0560b6451e 100644 --- a/features/css-modules.yml +++ b/features/css-modules.yml @@ -1,4 +1,4 @@ -name: CSS module scripts -description: 'CSS module scripts allow CSS code to be organized into reusable units. Other modules use `import ... with {type: "css"}` to load CSS modules as constructable stylesheets.' +name: CSS import attributes +description: 'Module `import ... with { type: "css" } statements load CSS modules as constructable stylesheets. Also known as CSS module scripts and formerly known as import assertions.' spec: https://html.spec.whatwg.org/multipage/webappapis.html#css-module-script usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/3805 diff --git a/features/json-modules.yml b/features/json-modules.yml new file mode 100644 index 00000000000..5a4dc4f424d --- /dev/null +++ b/features/json-modules.yml @@ -0,0 +1,8 @@ +name: JSON import attributes +description: 'Module `import ... with { type: "json" }` statements load JSON data. Also known as JSON module scripts and formerly known as import assertions.' +spec: https://html.spec.whatwg.org/multipage/webappapis.html#json-module-script +compat_features: + # TODO: Include when https://github.com/web-platform-dx/web-features/issues/1173 + # is resolved. + # - javascript.statements.import + - javascript.statements.import.import_attributes.type_json diff --git a/features/json-modules.yml.dist b/features/json-modules.yml.dist new file mode 100644 index 00000000000..479958091a8 --- /dev/null +++ b/features/json-modules.yml.dist @@ -0,0 +1,11 @@ +# Generated from: json-modules.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"