oxfmt 0.45.0 → 0.46.0

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.
Files changed (31) hide show
  1. package/dist/{acorn-DazAYFEC.js → acorn-K_XpABqm.js} +7 -7
  2. package/dist/{angular-Aph8b0ut.js → angular-B2OHapHD.js} +1 -1
  3. package/dist/{apis-rMlkuPw1.js → apis-6K9lp4qz.js} +3 -3
  4. package/dist/{babel-9g4Z1xEA.js → babel-DA0BK-9N.js} +3 -3
  5. package/dist/{bindings-CBKV8AbA.js → bindings-C2_LYpRs.js} +26 -26
  6. package/dist/{chunk-DSjvVL_1-CHQFAj82.js → chunk-DSjvVL_1-DvmJ8i3j.js} +1 -1
  7. package/dist/cli-worker.d.ts +2 -2
  8. package/dist/cli-worker.js +1 -1
  9. package/dist/cli.js +3 -3
  10. package/dist/{dist-CKaxC7ER.js → dist-D9mzAGVk.js} +15 -15
  11. package/dist/{estree-ClUlOUIs.js → estree-CvnLDdmw.js} +1 -1
  12. package/dist/{flow-QdRUnlQt.js → flow-BthqNux8.js} +1 -1
  13. package/dist/{glimmer-C693tJkh.js → glimmer-0WQITj6v.js} +1 -1
  14. package/dist/{graphql-za2YLVGc.js → graphql-CZVKp936.js} +5 -2
  15. package/dist/{html-B2VMTsz7.js → html-CC61hPUL.js} +1 -1
  16. package/dist/index.js +2 -2
  17. package/dist/{jiti-Bb1dT6Cw-DzTewG1l.js → jiti-Bb1dT6Cw-DpVi6yB1.js} +2 -2
  18. package/dist/{markdown-BOatMac3.js → markdown-BkJWkmO_.js} +1 -1
  19. package/dist/{meriyah-zZMvz4-D.js → meriyah-CIaAh_Jq.js} +1 -1
  20. package/dist/{migrate-prettier-B19hw9Dn.js → migrate-prettier-nRex0Mh1.js} +1 -1
  21. package/dist/{postcss-CBTRJb4w.js → postcss-C8WoCp9x.js} +9 -6
  22. package/dist/{prettier-CU6WrYtk.js → prettier-Bmp66eXw.js} +17 -17
  23. package/dist/{resolve-pWjAK-4f-Uu3Cl5SX.js → resolve-pWjAK-4f-BnvQ49el.js} +2 -2
  24. package/dist/{sorter-BZkvDMjt-ChoLEMxn.js → sorter-BZkvDMjt-CgLjPuXI.js} +6 -6
  25. package/dist/{sorter-QhZPi-JI.js → sorter-C3ZRVYzK.js} +2 -2
  26. package/dist/{typescript-4s6b9-t0.js → typescript-Cg8onQ4r.js} +1 -1
  27. package/dist/{utils-D8dQkKEd-BAc2jbyI.js → utils-D8dQkKEd-CoIwOuFZ.js} +1 -1
  28. package/dist/{v3-D-mr2VVh-D0Hfzxl7.js → v3-D-mr2VVh-DA8uo048.js} +5 -6
  29. package/dist/{v4-C-HWEQJm-BMcGKt4s.js → v4-C-HWEQJm-olIGVWd7.js} +4 -4
  30. package/dist/{yaml-DNtivWD8.js → yaml-CTxkSwZx.js} +25 -10
  31. package/package.json +20 -20
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/acorn.mjs
1
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/acorn.mjs
2
2
  var Ii = Object.create;
3
3
  var Be = Object.defineProperty;
4
4
  var Ni = Object.getOwnPropertyDescriptor;
@@ -2693,27 +2693,27 @@ he.copyNode = function(e) {
2693
2693
  for (var i in e) t[i] = e[i];
2694
2694
  return t;
2695
2695
  };
2696
- var ts = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", Pt = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", It = Pt + " Extended_Pictographic", Nt = It, Lt = Nt + " EBase EComp EMod EPres ExtPict", Rt = Lt, is = Rt, ss = {
2696
+ var ts = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", Pt = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", It = Pt + " Extended_Pictographic", Nt = It, Lt = Nt + " EBase EComp EMod EPres ExtPict", Rt = Lt, ss = {
2697
2697
  9: Pt,
2698
2698
  10: It,
2699
2699
  11: Nt,
2700
2700
  12: Lt,
2701
2701
  13: Rt,
2702
- 14: is
2703
- }, rs = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", as = {
2702
+ 14: Rt
2703
+ }, as = {
2704
2704
  9: "",
2705
2705
  10: "",
2706
2706
  11: "",
2707
2707
  12: "",
2708
2708
  13: "",
2709
- 14: rs
2710
- }, lt = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", Vt = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", Ot = Vt + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", Bt = Ot + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Dt = Bt + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Mt = Dt + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", ns = Mt + " " + ts, os = {
2709
+ 14: "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"
2710
+ }, lt = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", Vt = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", Ot = Vt + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", Bt = Ot + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", Dt = Bt + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", Mt = Dt + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", os = {
2711
2711
  9: Vt,
2712
2712
  10: Ot,
2713
2713
  11: Bt,
2714
2714
  12: Dt,
2715
2715
  13: Mt,
2716
- 14: ns
2716
+ 14: Mt + " " + ts
2717
2717
  }, Ft = {};
2718
2718
  function us(e) {
2719
2719
  var t = Ft[e] = {
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/angular.mjs
1
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/angular.mjs
2
2
  var Or = Object.defineProperty;
3
3
  var Dr = Object.getPrototypeOf;
4
4
  var Br = Reflect.get;
@@ -7,7 +7,7 @@ const CACHES = {
7
7
  };
8
8
  async function loadPrettier() {
9
9
  if (!CACHES.prettier) {
10
- CACHES.prettier = await import("./prettier-CU6WrYtk.js");
10
+ CACHES.prettier = await import("./prettier-Bmp66eXw.js");
11
11
  const { formatOptionsHiddenDefaults } = CACHES.prettier.__internal;
12
12
  formatOptionsHiddenDefaults.parentParser = null;
13
13
  formatOptionsHiddenDefaults.__onHtmlRoot = null;
@@ -84,7 +84,7 @@ async function formatEmbeddedDoc({ texts, options }) {
84
84
  }));
85
85
  }
86
86
  async function loadTailwindPlugin() {
87
- if (!CACHES.tailwindPlugin) CACHES.tailwindPlugin = await import("./dist-CKaxC7ER.js");
87
+ if (!CACHES.tailwindPlugin) CACHES.tailwindPlugin = await import("./dist-D9mzAGVk.js");
88
88
  return CACHES.tailwindPlugin;
89
89
  }
90
90
  /**
@@ -97,7 +97,7 @@ async function setupTailwindPlugin(options) {
97
97
  options.plugins.push(tailwindPlugin);
98
98
  }
99
99
  async function loadTailwindSorter() {
100
- if (!CACHES.tailwindSorter) CACHES.tailwindSorter = await import("./sorter-QhZPi-JI.js");
100
+ if (!CACHES.tailwindSorter) CACHES.tailwindSorter = await import("./sorter-C3ZRVYzK.js");
101
101
  return CACHES.tailwindSorter;
102
102
  }
103
103
  /**
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./chunk-DrSxFLj_.js";
2
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/babel.mjs
2
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/babel.mjs
3
3
  var babel_exports = /* @__PURE__ */ __exportAll({
4
4
  default: () => Ks,
5
5
  parsers: () => ra
@@ -4896,8 +4896,8 @@ var nt = class extends st {
4896
4896
  this.exportedIdentifiers = /* @__PURE__ */ new Set();
4897
4897
  let i = this.inModule;
4898
4898
  this.inModule = t;
4899
- let r = this.scope;
4900
- this.scope = new (this.getScopeHandler())(this, t);
4899
+ let r = this.scope, n = this.getScopeHandler();
4900
+ this.scope = new n(this, t);
4901
4901
  let o = this.prodParam;
4902
4902
  this.prodParam = new Xe();
4903
4903
  let h = this.classScope;
@@ -57,7 +57,7 @@ function requireNative() {
57
57
  try {
58
58
  const binding = require("@oxfmt/binding-android-arm64");
59
59
  const bindingPackageVersion = require("@oxfmt/binding-android-arm64/package.json").version;
60
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
60
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
61
61
  return binding;
62
62
  } catch (e) {
63
63
  loadErrors.push(e);
@@ -71,7 +71,7 @@ function requireNative() {
71
71
  try {
72
72
  const binding = require("@oxfmt/binding-android-arm-eabi");
73
73
  const bindingPackageVersion = require("@oxfmt/binding-android-arm-eabi/package.json").version;
74
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
74
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
75
75
  return binding;
76
76
  } catch (e) {
77
77
  loadErrors.push(e);
@@ -86,7 +86,7 @@ function requireNative() {
86
86
  try {
87
87
  const binding = require("@oxfmt/binding-win32-x64-gnu");
88
88
  const bindingPackageVersion = require("@oxfmt/binding-win32-x64-gnu/package.json").version;
89
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
89
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
90
90
  return binding;
91
91
  } catch (e) {
92
92
  loadErrors.push(e);
@@ -100,7 +100,7 @@ function requireNative() {
100
100
  try {
101
101
  const binding = require("@oxfmt/binding-win32-x64-msvc");
102
102
  const bindingPackageVersion = require("@oxfmt/binding-win32-x64-msvc/package.json").version;
103
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
103
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
104
104
  return binding;
105
105
  } catch (e) {
106
106
  loadErrors.push(e);
@@ -115,7 +115,7 @@ function requireNative() {
115
115
  try {
116
116
  const binding = require("@oxfmt/binding-win32-ia32-msvc");
117
117
  const bindingPackageVersion = require("@oxfmt/binding-win32-ia32-msvc/package.json").version;
118
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
118
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
119
119
  return binding;
120
120
  } catch (e) {
121
121
  loadErrors.push(e);
@@ -129,7 +129,7 @@ function requireNative() {
129
129
  try {
130
130
  const binding = require("@oxfmt/binding-win32-arm64-msvc");
131
131
  const bindingPackageVersion = require("@oxfmt/binding-win32-arm64-msvc/package.json").version;
132
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
132
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
133
133
  return binding;
134
134
  } catch (e) {
135
135
  loadErrors.push(e);
@@ -144,7 +144,7 @@ function requireNative() {
144
144
  try {
145
145
  const binding = require("@oxfmt/binding-darwin-universal");
146
146
  const bindingPackageVersion = require("@oxfmt/binding-darwin-universal/package.json").version;
147
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
147
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
148
148
  return binding;
149
149
  } catch (e) {
150
150
  loadErrors.push(e);
@@ -158,7 +158,7 @@ function requireNative() {
158
158
  try {
159
159
  const binding = require("@oxfmt/binding-darwin-x64");
160
160
  const bindingPackageVersion = require("@oxfmt/binding-darwin-x64/package.json").version;
161
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
161
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
162
162
  return binding;
163
163
  } catch (e) {
164
164
  loadErrors.push(e);
@@ -172,7 +172,7 @@ function requireNative() {
172
172
  try {
173
173
  const binding = require("@oxfmt/binding-darwin-arm64");
174
174
  const bindingPackageVersion = require("@oxfmt/binding-darwin-arm64/package.json").version;
175
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
175
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
176
176
  return binding;
177
177
  } catch (e) {
178
178
  loadErrors.push(e);
@@ -187,7 +187,7 @@ function requireNative() {
187
187
  try {
188
188
  const binding = require("@oxfmt/binding-freebsd-x64");
189
189
  const bindingPackageVersion = require("@oxfmt/binding-freebsd-x64/package.json").version;
190
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
190
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
191
191
  return binding;
192
192
  } catch (e) {
193
193
  loadErrors.push(e);
@@ -201,7 +201,7 @@ function requireNative() {
201
201
  try {
202
202
  const binding = require("@oxfmt/binding-freebsd-arm64");
203
203
  const bindingPackageVersion = require("@oxfmt/binding-freebsd-arm64/package.json").version;
204
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
204
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
205
205
  return binding;
206
206
  } catch (e) {
207
207
  loadErrors.push(e);
@@ -216,7 +216,7 @@ function requireNative() {
216
216
  try {
217
217
  const binding = require("@oxfmt/binding-linux-x64-musl");
218
218
  const bindingPackageVersion = require("@oxfmt/binding-linux-x64-musl/package.json").version;
219
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
219
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
220
220
  return binding;
221
221
  } catch (e) {
222
222
  loadErrors.push(e);
@@ -230,7 +230,7 @@ function requireNative() {
230
230
  try {
231
231
  const binding = require("@oxfmt/binding-linux-x64-gnu");
232
232
  const bindingPackageVersion = require("@oxfmt/binding-linux-x64-gnu/package.json").version;
233
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
233
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
234
234
  return binding;
235
235
  } catch (e) {
236
236
  loadErrors.push(e);
@@ -245,7 +245,7 @@ function requireNative() {
245
245
  try {
246
246
  const binding = require("@oxfmt/binding-linux-arm64-musl");
247
247
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm64-musl/package.json").version;
248
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
248
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
249
249
  return binding;
250
250
  } catch (e) {
251
251
  loadErrors.push(e);
@@ -259,7 +259,7 @@ function requireNative() {
259
259
  try {
260
260
  const binding = require("@oxfmt/binding-linux-arm64-gnu");
261
261
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm64-gnu/package.json").version;
262
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
262
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
263
263
  return binding;
264
264
  } catch (e) {
265
265
  loadErrors.push(e);
@@ -274,7 +274,7 @@ function requireNative() {
274
274
  try {
275
275
  const binding = require("@oxfmt/binding-linux-arm-musleabihf");
276
276
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm-musleabihf/package.json").version;
277
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
277
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
278
278
  return binding;
279
279
  } catch (e) {
280
280
  loadErrors.push(e);
@@ -288,7 +288,7 @@ function requireNative() {
288
288
  try {
289
289
  const binding = require("@oxfmt/binding-linux-arm-gnueabihf");
290
290
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm-gnueabihf/package.json").version;
291
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
291
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
292
292
  return binding;
293
293
  } catch (e) {
294
294
  loadErrors.push(e);
@@ -303,7 +303,7 @@ function requireNative() {
303
303
  try {
304
304
  const binding = require("@oxfmt/binding-linux-loong64-musl");
305
305
  const bindingPackageVersion = require("@oxfmt/binding-linux-loong64-musl/package.json").version;
306
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
306
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
307
307
  return binding;
308
308
  } catch (e) {
309
309
  loadErrors.push(e);
@@ -317,7 +317,7 @@ function requireNative() {
317
317
  try {
318
318
  const binding = require("@oxfmt/binding-linux-loong64-gnu");
319
319
  const bindingPackageVersion = require("@oxfmt/binding-linux-loong64-gnu/package.json").version;
320
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
320
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
321
321
  return binding;
322
322
  } catch (e) {
323
323
  loadErrors.push(e);
@@ -332,7 +332,7 @@ function requireNative() {
332
332
  try {
333
333
  const binding = require("@oxfmt/binding-linux-riscv64-musl");
334
334
  const bindingPackageVersion = require("@oxfmt/binding-linux-riscv64-musl/package.json").version;
335
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
335
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
336
336
  return binding;
337
337
  } catch (e) {
338
338
  loadErrors.push(e);
@@ -346,7 +346,7 @@ function requireNative() {
346
346
  try {
347
347
  const binding = require("@oxfmt/binding-linux-riscv64-gnu");
348
348
  const bindingPackageVersion = require("@oxfmt/binding-linux-riscv64-gnu/package.json").version;
349
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
349
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
350
350
  return binding;
351
351
  } catch (e) {
352
352
  loadErrors.push(e);
@@ -361,7 +361,7 @@ function requireNative() {
361
361
  try {
362
362
  const binding = require("@oxfmt/binding-linux-ppc64-gnu");
363
363
  const bindingPackageVersion = require("@oxfmt/binding-linux-ppc64-gnu/package.json").version;
364
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
364
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
365
365
  return binding;
366
366
  } catch (e) {
367
367
  loadErrors.push(e);
@@ -375,7 +375,7 @@ function requireNative() {
375
375
  try {
376
376
  const binding = require("@oxfmt/binding-linux-s390x-gnu");
377
377
  const bindingPackageVersion = require("@oxfmt/binding-linux-s390x-gnu/package.json").version;
378
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
378
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
379
379
  return binding;
380
380
  } catch (e) {
381
381
  loadErrors.push(e);
@@ -390,7 +390,7 @@ function requireNative() {
390
390
  try {
391
391
  const binding = require("@oxfmt/binding-openharmony-arm64");
392
392
  const bindingPackageVersion = require("@oxfmt/binding-openharmony-arm64/package.json").version;
393
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
393
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
394
394
  return binding;
395
395
  } catch (e) {
396
396
  loadErrors.push(e);
@@ -404,7 +404,7 @@ function requireNative() {
404
404
  try {
405
405
  const binding = require("@oxfmt/binding-openharmony-x64");
406
406
  const bindingPackageVersion = require("@oxfmt/binding-openharmony-x64/package.json").version;
407
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
407
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
408
408
  return binding;
409
409
  } catch (e) {
410
410
  loadErrors.push(e);
@@ -418,7 +418,7 @@ function requireNative() {
418
418
  try {
419
419
  const binding = require("@oxfmt/binding-openharmony-arm");
420
420
  const bindingPackageVersion = require("@oxfmt/binding-openharmony-arm/package.json").version;
421
- if (bindingPackageVersion !== "0.45.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.45.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
421
+ if (bindingPackageVersion !== "0.46.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.46.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
422
422
  return binding;
423
423
  } catch (e) {
424
424
  loadErrors.push(e);
@@ -1,5 +1,5 @@
1
1
  import { createRequire } from "node:module";
2
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.2/node_modules/prettier-plugin-tailwindcss/dist/chunk-DSjvVL_1.mjs
2
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.3/node_modules/prettier-plugin-tailwindcss/dist/chunk-DSjvVL_1.mjs
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/doc.d.ts
1
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/doc.d.ts
2
2
  // https://github.com/prettier/prettier/blob/next/src/document/public.js
3
3
  declare namespace builders {
4
4
  type DocCommand = Align | BreakParent | Cursor | Fill | Group | IfBreak | Indent | IndentIfBreak | Label | Line | LineSuffix | LineSuffixBoundary | Trim;
@@ -177,7 +177,7 @@ declare namespace utils {
177
177
  function canBreak(doc: builders.Doc): boolean;
178
178
  }
179
179
  //#endregion
180
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/index.d.ts
180
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/index.d.ts
181
181
  declare namespace doc {
182
182
  export { builders, printer, utils };
183
183
  }
@@ -1,2 +1,2 @@
1
- import { a as sortTailwindClasses, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-rMlkuPw1.js";
1
+ import { a as sortTailwindClasses, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-6K9lp4qz.js";
2
2
  export { formatEmbeddedCode, formatEmbeddedDoc, formatFile, sortTailwindClasses };
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
- import { r as runCli } from "./bindings-CBKV8AbA.js";
2
- import { i as resolvePlugins } from "./apis-rMlkuPw1.js";
1
+ import { r as runCli } from "./bindings-C2_LYpRs.js";
2
+ import { i as resolvePlugins } from "./apis-6K9lp4qz.js";
3
3
  import Tinypool from "tinypool";
4
4
  import { fileURLToPath, pathToFileURL } from "node:url";
5
5
  import { extname } from "node:path";
@@ -141,7 +141,7 @@ async function loadVitePlusConfig(path) {
141
141
  return;
142
142
  }
143
143
  if (mode === "migrate:prettier") {
144
- await import("./migrate-prettier-B19hw9Dn.js").then((m) => m.runMigratePrettier());
144
+ await import("./migrate-prettier-nRex0Mh1.js").then((m) => m.runMigratePrettier());
145
145
  return;
146
146
  }
147
147
  if (mode === "migrate:biome") {
@@ -1,14 +1,14 @@
1
- import { a as __toESM, t as __commonJSMin } from "./chunk-DSjvVL_1-CHQFAj82.js";
2
- import { n as loadIfExists, r as maybeResolve, t as expiringMap } from "./resolve-pWjAK-4f-Uu3Cl5SX.js";
3
- import { i as visit, n as cacheForDirs, r as spliceChangesIntoString } from "./utils-D8dQkKEd-BAc2jbyI.js";
4
- import { a as sortClasses, i as sortClassList, n as error, o as warn, r as getTailwindConfig$1 } from "./sorter-BZkvDMjt-ChoLEMxn.js";
5
- import { parsers as fn } from "./angular-Aph8b0ut.js";
6
- import { parsers as ra, t as babel_exports } from "./babel-9g4Z1xEA.js";
7
- import { parsers as en, t as postcss_exports } from "./postcss-CBTRJb4w.js";
8
- import index_exports from "./prettier-CU6WrYtk.js";
1
+ import { a as __toESM, t as __commonJSMin } from "./chunk-DSjvVL_1-DvmJ8i3j.js";
2
+ import { n as loadIfExists, r as maybeResolve, t as expiringMap } from "./resolve-pWjAK-4f-BnvQ49el.js";
3
+ import { i as visit, n as cacheForDirs, r as spliceChangesIntoString } from "./utils-D8dQkKEd-CoIwOuFZ.js";
4
+ import { a as sortClasses, i as sortClassList, n as error, o as warn, r as getTailwindConfig$1 } from "./sorter-BZkvDMjt-CgLjPuXI.js";
5
+ import { parsers as fn } from "./angular-B2OHapHD.js";
6
+ import { parsers as ra, t as babel_exports } from "./babel-DA0BK-9N.js";
7
+ import { parsers as en, t as postcss_exports } from "./postcss-C8WoCp9x.js";
8
+ import index_exports from "./prettier-Bmp66eXw.js";
9
9
  import * as path from "node:path";
10
10
  import { isAbsolute } from "path";
11
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.2/node_modules/prettier-plugin-tailwindcss/dist/index.mjs
11
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.3/node_modules/prettier-plugin-tailwindcss/dist/index.mjs
12
12
  var require_isarray = /* @__PURE__ */ __commonJSMin(((exports, module) => {
13
13
  var toString = {}.toString;
14
14
  module.exports = Array.isArray || function(arr) {
@@ -1047,7 +1047,7 @@ const { parsers, printers } = createPlugin([
1047
1047
  staticAttrs: ["class"],
1048
1048
  load: [{
1049
1049
  name: "prettier/plugins/html",
1050
- importer: () => import("./html-B2VMTsz7.js")
1050
+ importer: () => import("./html-CC61hPUL.js")
1051
1051
  }],
1052
1052
  compatible: ["prettier-plugin-organize-attributes"],
1053
1053
  parsers: {
@@ -1062,7 +1062,7 @@ const { parsers, printers } = createPlugin([
1062
1062
  staticAttrs: ["class"],
1063
1063
  load: [{
1064
1064
  name: "prettier/plugins/glimmer",
1065
- importer: () => import("./glimmer-C693tJkh.js")
1065
+ importer: () => import("./glimmer-0WQITj6v.js")
1066
1066
  }],
1067
1067
  parsers: { glimmer: {} },
1068
1068
  transform: transformGlimmer
@@ -1094,19 +1094,19 @@ const { parsers, printers } = createPlugin([
1094
1094
  __js_expression: { load: [babel_exports] },
1095
1095
  typescript: { load: [{
1096
1096
  name: "prettier/plugins/typescript",
1097
- importer: () => import("./typescript-4s6b9-t0.js")
1097
+ importer: () => import("./typescript-Cg8onQ4r.js")
1098
1098
  }] },
1099
1099
  meriyah: { load: [{
1100
1100
  name: "prettier/plugins/meriyah",
1101
- importer: () => import("./meriyah-zZMvz4-D.js")
1101
+ importer: () => import("./meriyah-CIaAh_Jq.js")
1102
1102
  }] },
1103
1103
  acorn: { load: [{
1104
1104
  name: "prettier/plugins/acorn",
1105
- importer: () => import("./acorn-DazAYFEC.js")
1105
+ importer: () => import("./acorn-K_XpABqm.js")
1106
1106
  }] },
1107
1107
  flow: { load: [{
1108
1108
  name: "prettier/plugins/flow",
1109
- importer: () => import("./flow-QdRUnlQt.js")
1109
+ importer: () => import("./flow-BthqNux8.js")
1110
1110
  }] },
1111
1111
  oxc: { load: [{
1112
1112
  name: "@prettier/plugin-oxc",
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/estree.mjs
1
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/estree.mjs
2
2
  var Ba = Object.defineProperty;
3
3
  var jn = (e, t) => {
4
4
  for (var r in t) Ba(e, r, {
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/flow.mjs
1
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/flow.mjs
2
2
  var QA0 = Object.create;
3
3
  var Vj = Object.defineProperty;
4
4
  var ZA0 = Object.getOwnPropertyDescriptor;
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/glimmer.mjs
1
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/glimmer.mjs
2
2
  var Un = Object.defineProperty;
3
3
  var Oe = (e, t) => {
4
4
  for (var r in t) Un(e, r, {
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/graphql.mjs
1
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/graphql.mjs
2
2
  var pt = Object.defineProperty;
3
3
  var de = (e, t) => {
4
4
  for (var n in t) pt(e, n, {
@@ -1239,7 +1239,10 @@ var fe = class {
1239
1239
  constructor(t, n = {}) {
1240
1240
  let { lexer: i, ...r } = n;
1241
1241
  if (i) this._lexer = i;
1242
- else this._lexer = new z(st(t) ? t : new B(t));
1242
+ else {
1243
+ let s = st(t) ? t : new B(t);
1244
+ this._lexer = new z(s);
1245
+ }
1243
1246
  this._options = r, this._tokenCounter = 0;
1244
1247
  }
1245
1248
  get tokenCount() {
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/html.mjs
1
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/html.mjs
2
2
  var Lr = Object.defineProperty;
3
3
  var Pr = (e) => {
4
4
  throw TypeError(e);
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { n as jsTextToDoc$1, t as format$1 } from "./bindings-CBKV8AbA.js";
2
- import { a as sortTailwindClasses, i as resolvePlugins, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-rMlkuPw1.js";
1
+ import { n as jsTextToDoc$1, t as format$1 } from "./bindings-C2_LYpRs.js";
2
+ import { a as sortTailwindClasses, i as resolvePlugins, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-6K9lp4qz.js";
3
3
  //#region src-js/index.ts
4
4
  /**
5
5
  * Define an oxfmt configuration with type inference.
@@ -1,6 +1,6 @@
1
- import { a as __toESM, i as __require, t as __commonJSMin } from "./chunk-DSjvVL_1-CHQFAj82.js";
1
+ import { a as __toESM, i as __require, t as __commonJSMin } from "./chunk-DSjvVL_1-DvmJ8i3j.js";
2
2
  import { createRequire } from "node:module";
3
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.2/node_modules/prettier-plugin-tailwindcss/dist/jiti-Bb1dT6Cw.mjs
3
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.3/node_modules/prettier-plugin-tailwindcss/dist/jiti-Bb1dT6Cw.mjs
4
4
  var require_jiti = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5
5
  (() => {
6
6
  var e = { "./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive": function(e) {
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/markdown.mjs
1
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/markdown.mjs
2
2
  var El = Object.create;
3
3
  var Ft = Object.defineProperty;
4
4
  var Cl = Object.getOwnPropertyDescriptor;
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/meriyah.mjs
1
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/meriyah.mjs
2
2
  var q2 = Object.defineProperty;
3
3
  var gt = (e, t) => {
4
4
  for (var n in t) q2(e, n, {
@@ -9,7 +9,7 @@ import { readFile } from "node:fs/promises";
9
9
  async function runMigratePrettier() {
10
10
  const cwd = process.cwd();
11
11
  if (await hasOxfmtrcFile(cwd)) return exitWithError("Oxfmt configuration file already exists.");
12
- const { resolveConfigFile, resolveConfig } = await import("./prettier-CU6WrYtk.js");
12
+ const { resolveConfigFile, resolveConfig } = await import("./prettier-Bmp66eXw.js");
13
13
  const prettierConfigPath = await resolveConfigFile(join(cwd, "dummy.js"));
14
14
  if (!prettierConfigPath) {
15
15
  console.log("No Prettier configuration file found.");
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./chunk-DrSxFLj_.js";
2
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/postcss.mjs
2
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/postcss.mjs
3
3
  var postcss_exports = /* @__PURE__ */ __exportAll({
4
4
  default: () => _l,
5
5
  languages: () => Si,
@@ -2769,10 +2769,10 @@ var ke = w((lr, Oa) => {
2769
2769
  for (var s in e) this[s] = e[s];
2770
2770
  var r = e.spaces;
2771
2771
  r = r === void 0 ? {} : r;
2772
- var n = r.before, i = n === void 0 ? "" : n, o = r.after;
2772
+ var n = r.before, i = n === void 0 ? "" : n, o = r.after, u = o === void 0 ? "" : o;
2773
2773
  this.spaces = {
2774
2774
  before: i,
2775
- after: o === void 0 ? "" : o
2775
+ after: u
2776
2776
  };
2777
2777
  }
2778
2778
  return t.prototype.remove = function() {
@@ -4717,7 +4717,8 @@ var nl = w((rb, sl) => {
4717
4717
  }
4718
4718
  sl.exports = class {
4719
4719
  constructor(e, s) {
4720
- this.cache = [], this.input = e, this.options = Object.assign({}, { loose: !1 }, s), this.position = 0, this.unbalanced = 0, this.root = new yy();
4720
+ let r = { loose: !1 };
4721
+ this.cache = [], this.input = e, this.options = Object.assign({}, r, s), this.position = 0, this.unbalanced = 0, this.root = new yy();
4721
4722
  let n = new gy();
4722
4723
  this.root.append(n), this.current = n, this.tokens = Ay(e, this.options);
4723
4724
  }
@@ -5813,8 +5814,10 @@ function ts(t, e) {
5813
5814
  if (e.parser !== "scss") return !1;
5814
5815
  let { node: s } = t;
5815
5816
  if (s.groups.length === 0) return !1;
5816
- let r = t.grandparent;
5817
- return !Zr(s) && !(r && Zr(r)) ? !1 : !!(t.findAncestor((i) => i.type === "css-decl")?.prop?.startsWith("$") || Zr(r) || r.type === "value-func");
5817
+ let r = t.parent;
5818
+ if (r && r.type === "value-func" && r.value === "if") return !1;
5819
+ let n = t.grandparent;
5820
+ return !Zr(s) && !(n && Zr(n)) ? !1 : !!(t.findAncestor((o) => o.type === "css-decl")?.prop?.startsWith("$") || Zr(n) || n.type === "value-func");
5818
5821
  }
5819
5822
  function Ze(t) {
5820
5823
  return t.type === "value-comment" && t.inline;
@@ -11,7 +11,7 @@ import process2 from "process";
11
11
  import assert3, { ok, strictEqual } from "assert";
12
12
  import v8 from "v8";
13
13
  import { format, inspect } from "util";
14
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/doc.mjs
14
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/doc.mjs
15
15
  var doc_exports = /* @__PURE__ */ __exportAll({
16
16
  builders: () => builders,
17
17
  default: () => public_exports$1,
@@ -1048,7 +1048,7 @@ var utils = {
1048
1048
  canBreak
1049
1049
  };
1050
1050
  //#endregion
1051
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/index.mjs
1051
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/index.mjs
1052
1052
  const require = createRequire(import.meta.url);
1053
1053
  dirname(fileURLToPath(import.meta.url));
1054
1054
  var __create = Object.create;
@@ -11340,7 +11340,7 @@ async function loadConfigFromPackageYaml(file) {
11340
11340
  var parseYaml;
11341
11341
  async function loadYaml(file) {
11342
11342
  const content = await read_file_default(file);
11343
- if (!parseYaml) ({__parsePrettierYamlConfig: parseYaml} = await import("./yaml-DNtivWD8.js"));
11343
+ if (!parseYaml) ({__parsePrettierYamlConfig: parseYaml} = await import("./yaml-CTxkSwZx.js"));
11344
11344
  try {
11345
11345
  return parseYaml(content);
11346
11346
  } catch (error) {
@@ -15156,7 +15156,7 @@ function createParsersAndPrinters(modules) {
15156
15156
  };
15157
15157
  }
15158
15158
  var estreePlugin = createParsersAndPrinters([{
15159
- importPlugin: () => import("./estree-ClUlOUIs.js"),
15159
+ importPlugin: () => import("./estree-CvnLDdmw.js"),
15160
15160
  printers: ["estree", "estree-json"]
15161
15161
  }]);
15162
15162
  var options7 = {
@@ -15179,11 +15179,11 @@ var languages = [
15179
15179
  ];
15180
15180
  var { parsers, printers } = createParsersAndPrinters([
15181
15181
  {
15182
- importPlugin: () => import("./acorn-DazAYFEC.js"),
15182
+ importPlugin: () => import("./acorn-K_XpABqm.js"),
15183
15183
  parsers: ["acorn", "espree"]
15184
15184
  },
15185
15185
  {
15186
- importPlugin: () => import("./angular-Aph8b0ut.js"),
15186
+ importPlugin: () => import("./angular-B2OHapHD.js"),
15187
15187
  parsers: [
15188
15188
  "__ng_action",
15189
15189
  "__ng_binding",
@@ -15192,7 +15192,7 @@ var { parsers, printers } = createParsersAndPrinters([
15192
15192
  ]
15193
15193
  },
15194
15194
  {
15195
- importPlugin: () => import("./babel-9g4Z1xEA.js"),
15195
+ importPlugin: () => import("./babel-DA0BK-9N.js"),
15196
15196
  parsers: [
15197
15197
  "babel",
15198
15198
  "babel-flow",
@@ -15211,21 +15211,21 @@ var { parsers, printers } = createParsersAndPrinters([
15211
15211
  ]
15212
15212
  },
15213
15213
  {
15214
- importPlugin: () => import("./flow-QdRUnlQt.js"),
15214
+ importPlugin: () => import("./flow-BthqNux8.js"),
15215
15215
  parsers: ["flow"]
15216
15216
  },
15217
15217
  {
15218
- importPlugin: () => import("./glimmer-C693tJkh.js"),
15218
+ importPlugin: () => import("./glimmer-0WQITj6v.js"),
15219
15219
  parsers: ["glimmer"],
15220
15220
  printers: ["glimmer"]
15221
15221
  },
15222
15222
  {
15223
- importPlugin: () => import("./graphql-za2YLVGc.js"),
15223
+ importPlugin: () => import("./graphql-CZVKp936.js"),
15224
15224
  parsers: ["graphql"],
15225
15225
  printers: ["graphql"]
15226
15226
  },
15227
15227
  {
15228
- importPlugin: () => import("./html-B2VMTsz7.js"),
15228
+ importPlugin: () => import("./html-CC61hPUL.js"),
15229
15229
  parsers: [
15230
15230
  "html",
15231
15231
  "angular",
@@ -15236,7 +15236,7 @@ var { parsers, printers } = createParsersAndPrinters([
15236
15236
  printers: ["html"]
15237
15237
  },
15238
15238
  {
15239
- importPlugin: () => import("./markdown-BOatMac3.js"),
15239
+ importPlugin: () => import("./markdown-BkJWkmO_.js"),
15240
15240
  parsers: [
15241
15241
  "markdown",
15242
15242
  "mdx",
@@ -15245,11 +15245,11 @@ var { parsers, printers } = createParsersAndPrinters([
15245
15245
  printers: ["mdast"]
15246
15246
  },
15247
15247
  {
15248
- importPlugin: () => import("./meriyah-zZMvz4-D.js"),
15248
+ importPlugin: () => import("./meriyah-CIaAh_Jq.js"),
15249
15249
  parsers: ["meriyah"]
15250
15250
  },
15251
15251
  {
15252
- importPlugin: () => import("./postcss-CBTRJb4w.js"),
15252
+ importPlugin: () => import("./postcss-C8WoCp9x.js"),
15253
15253
  parsers: [
15254
15254
  "css",
15255
15255
  "less",
@@ -15258,11 +15258,11 @@ var { parsers, printers } = createParsersAndPrinters([
15258
15258
  printers: ["postcss"]
15259
15259
  },
15260
15260
  {
15261
- importPlugin: () => import("./typescript-4s6b9-t0.js"),
15261
+ importPlugin: () => import("./typescript-Cg8onQ4r.js"),
15262
15262
  parsers: ["typescript"]
15263
15263
  },
15264
15264
  {
15265
- importPlugin: () => import("./yaml-DNtivWD8.js"),
15265
+ importPlugin: () => import("./yaml-CTxkSwZx.js"),
15266
15266
  parsers: ["yaml"],
15267
15267
  printers: ["yaml"]
15268
15268
  }
@@ -15369,7 +15369,7 @@ async function getParser(file, options8) {
15369
15369
  return infer_parser_default({ plugins }, { physicalFile: file });
15370
15370
  }
15371
15371
  var get_file_info_default = getFileInfo;
15372
- var version_evaluate_default = "3.8.2";
15372
+ var version_evaluate_default = "3.8.3";
15373
15373
  var public_exports = {};
15374
15374
  __export(public_exports, {
15375
15375
  addDanglingComment: () => addDanglingComment,
@@ -1,7 +1,7 @@
1
- import { i as __require, t as __commonJSMin } from "./chunk-DSjvVL_1-CHQFAj82.js";
1
+ import { i as __require, t as __commonJSMin } from "./chunk-DSjvVL_1-DvmJ8i3j.js";
2
2
  import { fileURLToPath } from "node:url";
3
3
  import fs from "node:fs";
4
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.2/node_modules/prettier-plugin-tailwindcss/dist/resolve-pWjAK-4f.mjs
4
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.3/node_modules/prettier-plugin-tailwindcss/dist/resolve-pWjAK-4f.mjs
5
5
  function expiringMap(duration) {
6
6
  let map = /* @__PURE__ */ new Map();
7
7
  return {
@@ -1,10 +1,10 @@
1
- import { a as resolveJsFrom, t as expiringMap } from "./resolve-pWjAK-4f-Uu3Cl5SX.js";
2
- import { n as cacheForDirs, t as bigSign } from "./utils-D8dQkKEd-BAc2jbyI.js";
1
+ import { a as resolveJsFrom, t as expiringMap } from "./resolve-pWjAK-4f-BnvQ49el.js";
2
+ import { n as cacheForDirs, t as bigSign } from "./utils-D8dQkKEd-CoIwOuFZ.js";
3
3
  import { pathToFileURL } from "node:url";
4
4
  import * as path from "node:path";
5
5
  import { dirname, resolve } from "path";
6
6
  import { readdirSync, statSync } from "fs";
7
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.2/node_modules/prettier-plugin-tailwindcss/dist/sorter-BZkvDMjt.mjs
7
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.3/node_modules/prettier-plugin-tailwindcss/dist/sorter-BZkvDMjt.mjs
8
8
  let seen = /* @__PURE__ */ new Set();
9
9
  function warn(key, arg, ...args) {
10
10
  if (seen.has(key)) return;
@@ -103,14 +103,14 @@ async function getTailwindConfig(options) {
103
103
  if (!stylesheet && !(mod === null || mod === void 0 ? void 0 : mod.__unstable__loadDesignSystem)) jsConfig = jsConfig ?? findClosestJsConfig(inputDir);
104
104
  if (jsConfig) {
105
105
  if (!stylesheet) return pathToApiMap.remember(`${pkgDir}:${jsConfig}`, async () => {
106
- const { loadV3 } = await import("./v3-D-mr2VVh-D0Hfzxl7.js");
106
+ const { loadV3 } = await import("./v3-D-mr2VVh-DA8uo048.js");
107
107
  return loadV3(pkgDir, jsConfig);
108
108
  });
109
109
  error("explicit-stylesheet-and-config-together", base, `You have specified a Tailwind CSS stylesheet and a Tailwind CSS config at the same time. Use stylesheetPath unless you are using v3. Preferring the stylesheet.`);
110
110
  }
111
111
  if (mod && !mod.__unstable__loadDesignSystem) {
112
112
  if (!stylesheet) return pathToApiMap.remember(`${pkgDir}:${jsConfig}`, async () => {
113
- const { loadV3 } = await import("./v3-D-mr2VVh-D0Hfzxl7.js");
113
+ const { loadV3 } = await import("./v3-D-mr2VVh-DA8uo048.js");
114
114
  return loadV3(pkgDir, jsConfig);
115
115
  });
116
116
  mod = null;
@@ -118,7 +118,7 @@ async function getTailwindConfig(options) {
118
118
  }
119
119
  if (mod && mod.__unstable__loadDesignSystem && pkgDir) stylesheet ?? (stylesheet = `${pkgDir}/theme.css`);
120
120
  return pathToApiMap.remember(`${pkgDir}:${stylesheet}`, async () => {
121
- const { loadV4 } = await import("./v4-C-HWEQJm-BMcGKt4s.js");
121
+ const { loadV4 } = await import("./v4-C-HWEQJm-olIGVWd7.js");
122
122
  return loadV4(mod, stylesheet);
123
123
  });
124
124
  }
@@ -1,3 +1,3 @@
1
- import "./resolve-pWjAK-4f-Uu3Cl5SX.js";
2
- import { r as getTailwindConfig, t as createSorter } from "./sorter-BZkvDMjt-ChoLEMxn.js";
1
+ import "./resolve-pWjAK-4f-BnvQ49el.js";
2
+ import { r as getTailwindConfig, t as createSorter } from "./sorter-BZkvDMjt-CgLjPuXI.js";
3
3
  export { createSorter, getTailwindConfig };
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/typescript.mjs
1
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/typescript.mjs
2
2
  var ty = Object.defineProperty;
3
3
  var hd = (e, t) => {
4
4
  for (var a in t) ty(e, a, {
@@ -1,5 +1,5 @@
1
1
  import * as path from "node:path";
2
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.2/node_modules/prettier-plugin-tailwindcss/dist/utils-D8dQkKEd.mjs
2
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.3/node_modules/prettier-plugin-tailwindcss/dist/utils-D8dQkKEd.mjs
3
3
  function isNodeLike(value) {
4
4
  return typeof (value === null || value === void 0 ? void 0 : value.type) === "string";
5
5
  }
@@ -1,9 +1,9 @@
1
- import { a as __toESM, i as __require, n as __esmMin, t as __commonJSMin } from "./chunk-DSjvVL_1-CHQFAj82.js";
2
- import { t as bigSign } from "./utils-D8dQkKEd-BAc2jbyI.js";
3
- import { t as createJiti } from "./jiti-Bb1dT6Cw-DzTewG1l.js";
1
+ import { a as __toESM, i as __require, n as __esmMin, t as __commonJSMin } from "./chunk-DSjvVL_1-DvmJ8i3j.js";
2
+ import { t as bigSign } from "./utils-D8dQkKEd-CoIwOuFZ.js";
3
+ import { t as createJiti } from "./jiti-Bb1dT6Cw-DpVi6yB1.js";
4
4
  import { fileURLToPath, pathToFileURL } from "node:url";
5
5
  import * as path from "node:path";
6
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.2/node_modules/prettier-plugin-tailwindcss/dist/v3-D-mr2VVh.mjs
6
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.3/node_modules/prettier-plugin-tailwindcss/dist/v3-D-mr2VVh.mjs
7
7
  var getFilename, __filename;
8
8
  var init_esm_shims = __esmMin((() => {
9
9
  getFilename = () => fileURLToPath(import.meta.url);
@@ -12029,10 +12029,9 @@ var require_corePlugins = /* @__PURE__ */ __commonJSMin(((exports) => {
12029
12029
  return { "--tw-gradient-from-position": value };
12030
12030
  } }, positionOptions);
12031
12031
  matchUtilities({ via: (value) => {
12032
- let transparentToValue = transparentTo(value);
12033
12032
  return {
12034
12033
  "@defaults gradient-color-stops": {},
12035
- "--tw-gradient-to": `${transparentToValue} var(--tw-gradient-to-position)`,
12034
+ "--tw-gradient-to": `${transparentTo(value)} var(--tw-gradient-to-position)`,
12036
12035
  "--tw-gradient-stops": `var(--tw-gradient-from), ${(0, _toColorValue.default)(value)} var(--tw-gradient-via-position), var(--tw-gradient-to)`
12037
12036
  };
12038
12037
  } }, options);
@@ -1,10 +1,10 @@
1
- import { r as __exportAll } from "./chunk-DSjvVL_1-CHQFAj82.js";
2
- import { a as resolveJsFrom, i as resolveCssFrom } from "./resolve-pWjAK-4f-Uu3Cl5SX.js";
3
- import { t as createJiti } from "./jiti-Bb1dT6Cw-DzTewG1l.js";
1
+ import { r as __exportAll } from "./chunk-DSjvVL_1-DvmJ8i3j.js";
2
+ import { a as resolveJsFrom, i as resolveCssFrom } from "./resolve-pWjAK-4f-BnvQ49el.js";
3
+ import { t as createJiti } from "./jiti-Bb1dT6Cw-DpVi6yB1.js";
4
4
  import { pathToFileURL } from "node:url";
5
5
  import * as path from "node:path";
6
6
  import * as fs from "node:fs/promises";
7
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.2/node_modules/prettier-plugin-tailwindcss/dist/v4-C-HWEQJm.mjs
7
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.3/node_modules/prettier-plugin-tailwindcss/dist/v4-C-HWEQJm.mjs
8
8
  var l$1 = {
9
9
  inherit: "inherit",
10
10
  current: "currentcolor",
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/prettier@3.8.2/node_modules/prettier/plugins/yaml.mjs
1
+ //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/yaml.mjs
2
2
  var ki = Object.create;
3
3
  var sn = Object.defineProperty;
4
4
  var Pi = Object.getOwnPropertyDescriptor;
@@ -371,13 +371,16 @@ ${c}${l}${a}`;
371
371
  if (typeof this.offset == "number") {
372
372
  this.range = new xe(this.offset, this.offset + 1);
373
373
  let n = e && wn(this.offset, e);
374
- if (n) this.linePos = {
375
- start: n,
376
- end: {
374
+ if (n) {
375
+ let r = {
377
376
  line: n.line,
378
377
  col: n.col + 1
379
- }
380
- };
378
+ };
379
+ this.linePos = {
380
+ start: n,
381
+ end: r
382
+ };
383
+ }
381
384
  delete this.offset;
382
385
  } else this.range = this.source.range, this.linePos = this.source.rangeAsLinePos;
383
386
  if (this.linePos) {
@@ -654,7 +657,10 @@ var Qr = ne((jr) => {
654
657
  if (c < i + a) {
655
658
  i > n && (c = i);
656
659
  break;
657
- } else if (!this.error) this.error = new u.YAMLSyntaxError(this, "All collection items must start at the same column");
660
+ } else if (!this.error) {
661
+ let h = "All collection items must start at the same column";
662
+ this.error = new u.YAMLSyntaxError(this, h);
663
+ }
658
664
  }
659
665
  if (o.type === u.Type.SEQ_ITEM) {
660
666
  if (l !== "-") {
@@ -664,7 +670,10 @@ var Qr = ne((jr) => {
664
670
  } else if (l === "-" && !this.error) {
665
671
  let h = s[c + 1];
666
672
  if (!h || h === `
667
- ` || h === " " || h === " ") this.error = new u.YAMLSyntaxError(this, "A collection cannot be both a mapping and a sequence");
673
+ ` || h === " " || h === " ") {
674
+ let d = "A collection cannot be both a mapping and a sequence";
675
+ this.error = new u.YAMLSyntaxError(this, d);
676
+ }
668
677
  }
669
678
  let g = r({
670
679
  atLineStart: f,
@@ -943,7 +952,10 @@ var Qr = ne((jr) => {
943
952
  }
944
953
  } else if (r[l] !== `
945
954
  `) {
946
- if (m < a) this.error = new u.YAMLSemanticError(this, "Block scalars with more-indented leading empty lines must use an explicit indentation indicator");
955
+ if (m < a) {
956
+ let g = "Block scalars with more-indented leading empty lines must use an explicit indentation indicator";
957
+ this.error = new u.YAMLSemanticError(this, g);
958
+ }
947
959
  this.blockIndent = m;
948
960
  } else m > a && (a = m);
949
961
  r[l] === `
@@ -985,7 +997,10 @@ var Qr = ne((jr) => {
985
997
  let f = new Ee();
986
998
  o = f.parse({ src: s }, o), this.items.push(f);
987
999
  }
988
- if (c = u.Node.endOfIndent(s, o), c <= o + i && (a = s[c], c < o + i || a !== "]" && a !== "}")) this.error = new u.YAMLSemanticError(this, "Insufficient indentation in flow collection");
1000
+ if (c = u.Node.endOfIndent(s, o), c <= o + i && (a = s[c], c < o + i || a !== "]" && a !== "}")) {
1001
+ let f = "Insufficient indentation in flow collection";
1002
+ this.error = new u.YAMLSemanticError(this, f);
1003
+ }
989
1004
  break;
990
1005
  case ",":
991
1006
  this.items.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxfmt",
3
- "version": "0.45.0",
3
+ "version": "0.46.0",
4
4
  "description": "Formatter for the JavaScript Oxidation Compiler",
5
5
  "keywords": [
6
6
  "formatter",
@@ -74,24 +74,24 @@
74
74
  },
75
75
  "preferUnplugged": true,
76
76
  "optionalDependencies": {
77
- "@oxfmt/binding-darwin-arm64": "0.45.0",
78
- "@oxfmt/binding-android-arm64": "0.45.0",
79
- "@oxfmt/binding-win32-arm64-msvc": "0.45.0",
80
- "@oxfmt/binding-linux-arm64-gnu": "0.45.0",
81
- "@oxfmt/binding-linux-arm64-musl": "0.45.0",
82
- "@oxfmt/binding-openharmony-arm64": "0.45.0",
83
- "@oxfmt/binding-android-arm-eabi": "0.45.0",
84
- "@oxfmt/binding-linux-arm-gnueabihf": "0.45.0",
85
- "@oxfmt/binding-linux-arm-musleabihf": "0.45.0",
86
- "@oxfmt/binding-win32-ia32-msvc": "0.45.0",
87
- "@oxfmt/binding-linux-ppc64-gnu": "0.45.0",
88
- "@oxfmt/binding-linux-riscv64-gnu": "0.45.0",
89
- "@oxfmt/binding-linux-riscv64-musl": "0.45.0",
90
- "@oxfmt/binding-linux-s390x-gnu": "0.45.0",
91
- "@oxfmt/binding-darwin-x64": "0.45.0",
92
- "@oxfmt/binding-win32-x64-msvc": "0.45.0",
93
- "@oxfmt/binding-freebsd-x64": "0.45.0",
94
- "@oxfmt/binding-linux-x64-gnu": "0.45.0",
95
- "@oxfmt/binding-linux-x64-musl": "0.45.0"
77
+ "@oxfmt/binding-darwin-arm64": "0.46.0",
78
+ "@oxfmt/binding-android-arm64": "0.46.0",
79
+ "@oxfmt/binding-win32-arm64-msvc": "0.46.0",
80
+ "@oxfmt/binding-linux-arm64-gnu": "0.46.0",
81
+ "@oxfmt/binding-linux-arm64-musl": "0.46.0",
82
+ "@oxfmt/binding-openharmony-arm64": "0.46.0",
83
+ "@oxfmt/binding-android-arm-eabi": "0.46.0",
84
+ "@oxfmt/binding-linux-arm-gnueabihf": "0.46.0",
85
+ "@oxfmt/binding-linux-arm-musleabihf": "0.46.0",
86
+ "@oxfmt/binding-win32-ia32-msvc": "0.46.0",
87
+ "@oxfmt/binding-linux-ppc64-gnu": "0.46.0",
88
+ "@oxfmt/binding-linux-riscv64-gnu": "0.46.0",
89
+ "@oxfmt/binding-linux-riscv64-musl": "0.46.0",
90
+ "@oxfmt/binding-linux-s390x-gnu": "0.46.0",
91
+ "@oxfmt/binding-darwin-x64": "0.46.0",
92
+ "@oxfmt/binding-win32-x64-msvc": "0.46.0",
93
+ "@oxfmt/binding-freebsd-x64": "0.46.0",
94
+ "@oxfmt/binding-linux-x64-gnu": "0.46.0",
95
+ "@oxfmt/binding-linux-x64-musl": "0.46.0"
96
96
  }
97
97
  }