@biomejs/wasm-nodejs 2.5.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/biome_wasm.d.ts CHANGED
@@ -9867,6 +9867,7 @@ type DocumentFileSource =
9867
9867
  | { Js: JsFileSource }
9868
9868
  | { Json: JsonFileSource }
9869
9869
  | { Css: CssFileSource }
9870
+ | { Graphql: GraphqlFileSource }
9870
9871
  | { Html: HtmlFileSource }
9871
9872
  | { Grit: GritFileSource };
9872
9873
  type EditorFeatures = EditorFeature[];
@@ -9875,7 +9876,7 @@ interface JsFileSource {
9875
9876
  * Used to mark if the JavaScript is embedded inside some particular files. This affects the parsing.
9876
9877
  For example, if inside an Astro file, a top-level return statement is allowed.
9877
9878
  */
9878
- embedding_kind: EmbeddingKind;
9879
+ embedding_kind: JsEmbeddingKind;
9879
9880
  language: Language;
9880
9881
  module_kind: ModuleKind;
9881
9882
  variant: LanguageVariant;
@@ -9891,10 +9892,13 @@ interface CssFileSource {
9891
9892
  * Used to mark if the CSS is embedded inside some particular files. This affects the parsing.
9892
9893
  For example, if inside a styled`` literal, a top-level declaration is allowed.
9893
9894
  */
9894
- embeddingKind: EmbeddingKind2;
9895
+ embeddingKind: CssEmbeddingKind;
9895
9896
  language: CssFileLanguage;
9896
9897
  variant: CssVariant;
9897
9898
  }
9899
+ interface GraphqlFileSource {
9900
+ variant: GraphqlVariant;
9901
+ }
9898
9902
  interface HtmlFileSource {
9899
9903
  variant: HtmlVariant;
9900
9904
  }
@@ -9902,7 +9906,7 @@ interface GritFileSource {
9902
9906
  variant: GritVariant;
9903
9907
  }
9904
9908
  type EditorFeature = "gotoDefinition";
9905
- type EmbeddingKind =
9909
+ type JsEmbeddingKind =
9906
9910
  | "None"
9907
9911
  | {
9908
9912
  Astro: {
@@ -9967,9 +9971,10 @@ type ModuleKind = "script" | "module";
9967
9971
  type LanguageVariant = "standard" | "standardRestricted" | "jsx";
9968
9972
  type LanguageVersion = "eS2022" | "eSNext";
9969
9973
  type JsonFileVariant = "standard" | "jsonc";
9970
- type EmbeddingKind2 = "None" | "Styled" | { Html: EmbeddingHtmlKind };
9974
+ type CssEmbeddingKind = "None" | "Styled" | { Html: EmbeddingHtmlKind };
9971
9975
  type CssFileLanguage = "css" | "scss";
9972
9976
  type CssVariant = "standard" | "cssModules" | "tailwindCss";
9977
+ type GraphqlVariant = "standard";
9973
9978
  type HtmlVariant =
9974
9979
  | { Standard: HtmlTextExpressions }
9975
9980
  | "Astro"
Binary file
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "Biome Developers and Contributors"
5
5
  ],
6
6
  "description": "WebAssembly bindings to the Biome workspace API",
7
- "version": "2.5.0",
7
+ "version": "2.5.1",
8
8
  "license": "MIT OR Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",