oxfmt 0.49.0 → 0.50.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 (38) hide show
  1. package/configuration_schema.json +2 -2
  2. package/dist/{acorn-ay2Aj6GQ.js → acorn-sBRpswSh.js} +1 -1
  3. package/dist/{angular-z1ZEe5V_.js → angular-DtI-eDW8.js} +1 -1
  4. package/dist/{apis-By1xj7IP.js → apis-CKvPKBJI.js} +42 -7
  5. package/dist/{babel-Cs312VeV.js → babel-DaNjvh9L.js} +1 -1
  6. package/dist/{bindings-Cdg_nxGV.js → bindings-Dj_YoR0Z.js} +26 -26
  7. package/dist/cli-worker.js +1 -1
  8. package/dist/cli.js +5 -5
  9. package/dist/{dist-Bbs0xV9H.js → dist-D_YbN99t.js} +14 -17
  10. package/dist/{estree-DZBnPYMx.js → estree-CzfNsl8m.js} +1 -1
  11. package/dist/{flow-ChhAFZSt.js → flow-c9AjoQam.js} +1 -1
  12. package/dist/{glimmer-Cg8KQipT.js → glimmer-D_zkI0w_.js} +1 -1
  13. package/dist/{graphql-DsP-ifm0.js → graphql-BFXkB4Nq.js} +1 -1
  14. package/dist/{html-7pWx9LND.js → html-DkcPxRXg.js} +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.js +2 -2
  17. package/dist/{init-BbKOMZ57.js → init-C3nxU_Wc.js} +1 -1
  18. package/dist/{jiti-Bb1dT6Cw-DezGRPD7.js → jiti-Bb1dT6Cw-C0N20Za1.js} +2 -2
  19. package/dist/{markdown-CCrs3bBt.js → markdown-DVLNmbQg.js} +1 -1
  20. package/dist/{meriyah-TC7VDz8E.js → meriyah-BGPf00Rn.js} +1 -1
  21. package/dist/{migrate-biome-BMqs7-eg.js → migrate-biome-DclTzwKW.js} +1 -1
  22. package/dist/{migrate-prettier-Bze9N_6F.js → migrate-prettier-DLfviW85.js} +2 -2
  23. package/dist/{plugin-CwlqDRt_.js → plugin-DOdiccQR.js} +72 -28
  24. package/dist/{postcss-ZbUej7DN.js → postcss-D-ql-dm8.js} +1 -1
  25. package/dist/{prettier-s1WPCGVk.js → prettier-Cw36juP9.js} +15 -15
  26. package/dist/{prettier-plugin-oxfmt-BjdgYnLg.js → prettier-plugin-oxfmt-BlJcmKAv.js} +37 -3
  27. package/dist/{resolve-pWjAK-4f-BnquIxPb.js → sorter-BZkvDMjt-DpGe0QK9.js} +325 -4
  28. package/dist/{sorter-l2HyESZg.js → sorter-w0dgpoFw.js} +1 -2
  29. package/dist/{typescript-Cgpjcksz.js → typescript-C_eN_ThF.js} +1 -1
  30. package/dist/{v3-D-mr2VVh-Bw8A9MXh.js → v3-D-mr2VVh-CU7hQIit.js} +3 -4
  31. package/dist/{v4-C-HWEQJm-B81QD_Ac.js → v4-C-HWEQJm-C8EWwksG.js} +3 -4
  32. package/dist/{yaml-DLZBHI7f.js → yaml-Bqxyk-13.js} +1 -1
  33. package/package.json +20 -20
  34. package/dist/chunk-DSjvVL_1-B3jw0SMn.js +0 -36
  35. package/dist/chunk-HkwdBwDg.js +0 -37
  36. package/dist/sorter-BZkvDMjt-y2u_e1ZW.js +0 -212
  37. package/dist/utils-D8dQkKEd-Dgy5UIHl.js +0 -81
  38. /package/dist/{shared-BTEY2VsW.js → shared-BtJbjkue.js} +0 -0
@@ -645,12 +645,12 @@
645
645
  "markdownDescription": "Specifies whether sorting should be case-sensitive.\n\n- Default: `true`"
646
646
  },
647
647
  "internalPattern": {
648
- "description": "Specifies a prefix for identifying internal imports.\n\nThis is useful for distinguishing your own modules from external dependencies.\n\n- Default: `[\"~/\", \"@/\"]`",
648
+ "description": "Specifies a prefix for identifying internal imports.\n\nThis is useful for distinguishing your own modules from external dependencies.\n\n- Default: `[\"~/\", \"@/\", \"#\"]`",
649
649
  "type": "array",
650
650
  "items": {
651
651
  "type": "string"
652
652
  },
653
- "markdownDescription": "Specifies a prefix for identifying internal imports.\n\nThis is useful for distinguishing your own modules from external dependencies.\n\n- Default: `[\"~/\", \"@/\"]`"
653
+ "markdownDescription": "Specifies a prefix for identifying internal imports.\n\nThis is useful for distinguishing your own modules from external dependencies.\n\n- Default: `[\"~/\", \"@/\", \"#\"]`"
654
654
  },
655
655
  "newlinesBetween": {
656
656
  "description": "Specifies whether to add newlines between groups.\n\nWhen `false`, no newlines are added between groups.\n\n- Default: `true`",
@@ -1,4 +1,4 @@
1
- import { n as __esmMin } from "./chunk-HkwdBwDg.js";
1
+ import { s as __esmMin } from "./apis-CKvPKBJI.js";
2
2
  //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/acorn.mjs
3
3
  function je(e, t) {
4
4
  for (var i = 65536, s = 0; s < t.length; s += 2) {
@@ -1,4 +1,4 @@
1
- import { n as __esmMin } from "./chunk-HkwdBwDg.js";
1
+ import { s as __esmMin } from "./apis-CKvPKBJI.js";
2
2
  //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/angular.mjs
3
3
  function Fr(t) {
4
4
  return typeof t == "string" ? (e) => e === t : (e) => t.test(e);
@@ -1,4 +1,39 @@
1
- import { o as __toESM } from "./chunk-HkwdBwDg.js";
1
+ import { createRequire } from "node:module";
2
+ //#region \0rolldown/runtime.js
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
10
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
11
+ var __exportAll = (all, no_symbols) => {
12
+ let target = {};
13
+ for (var name in all) __defProp(target, name, {
14
+ get: all[name],
15
+ enumerable: true
16
+ });
17
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
18
+ return target;
19
+ };
20
+ var __copyProps = (to, from, except, desc) => {
21
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
22
+ key = keys[i];
23
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
24
+ get: ((k) => from[k]).bind(null, key),
25
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
26
+ });
27
+ }
28
+ return to;
29
+ };
30
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
31
+ value: mod,
32
+ enumerable: true
33
+ }) : target, mod));
34
+ var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
+ var __require = /* @__PURE__ */ createRequire(import.meta.url);
36
+ //#endregion
2
37
  //#region src-js/libs/apis.ts
3
38
  const CACHES = {
4
39
  prettier: null,
@@ -13,7 +48,7 @@ async function loadCached(key, loader) {
13
48
  }
14
49
  async function loadPrettier() {
15
50
  return loadCached("prettier", async () => {
16
- const prettier = await import("./prettier-s1WPCGVk.js");
51
+ const prettier = await import("./prettier-Cw36juP9.js");
17
52
  const { formatOptionsHiddenDefaults } = prettier.__internal;
18
53
  formatOptionsHiddenDefaults.parentParser = null;
19
54
  formatOptionsHiddenDefaults.__onHtmlRoot = null;
@@ -95,7 +130,7 @@ async function formatEmbeddedDoc({ texts, options }) {
95
130
  * Option mapping (sortTailwindcss.xxx → tailwindXxx) is also done in Rust side.
96
131
  */
97
132
  async function setupTailwindPlugin(options) {
98
- CACHES.tailwindPlugin ??= await loadCached("tailwindPlugin", () => import("./dist-Bbs0xV9H.js"));
133
+ CACHES.tailwindPlugin ??= await loadCached("tailwindPlugin", () => import("./dist-D_YbN99t.js"));
99
134
  options.plugins ??= [];
100
135
  options.plugins.push(CACHES.tailwindPlugin);
101
136
  }
@@ -105,7 +140,7 @@ async function setupTailwindPlugin(options) {
105
140
  * @returns Array of sorted class strings (same order/length as input)
106
141
  */
107
142
  async function sortTailwindClasses({ classes, options }) {
108
- CACHES.tailwindSorter ??= await loadCached("tailwindSorter", () => import("./sorter-l2HyESZg.js"));
143
+ CACHES.tailwindSorter ??= await loadCached("tailwindSorter", () => import("./sorter-w0dgpoFw.js"));
109
144
  const { createSorter } = CACHES.tailwindSorter;
110
145
  return (await createSorter({
111
146
  filepath: options.filepath,
@@ -119,7 +154,7 @@ async function sortTailwindClasses({ classes, options }) {
119
154
  * Load prettier-plugin-svelte to provide the `svelte` parser.
120
155
  */
121
156
  async function setupSveltePlugin(options) {
122
- CACHES.sveltePlugin ??= await loadCached("sveltePlugin", async () => await import("./plugin-CwlqDRt_.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)));
157
+ CACHES.sveltePlugin ??= await loadCached("sveltePlugin", async () => await import("./plugin-DOdiccQR.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)));
123
158
  options.plugins ??= [];
124
159
  options.plugins.push(CACHES.sveltePlugin);
125
160
  }
@@ -127,9 +162,9 @@ async function setupSveltePlugin(options) {
127
162
  * Load oxfmt plugin for js-in-xxx parsers.
128
163
  */
129
164
  async function setupOxfmtPlugin(options) {
130
- CACHES.oxfmtPlugin ??= await loadCached("oxfmtPlugin", async () => await import("./prettier-plugin-oxfmt-BjdgYnLg.js"));
165
+ CACHES.oxfmtPlugin ??= await loadCached("oxfmtPlugin", async () => await import("./prettier-plugin-oxfmt-BlJcmKAv.js"));
131
166
  options.plugins ??= [];
132
167
  options.plugins.push(CACHES.oxfmtPlugin);
133
168
  }
134
169
  //#endregion
135
- export { sortTailwindClasses as a, resolvePlugins as i, formatEmbeddedDoc as n, formatFile as r, formatEmbeddedCode as t };
170
+ export { sortTailwindClasses as a, __exportAll as c, __toESM as d, resolvePlugins as i, __require as l, formatEmbeddedDoc as n, __commonJSMin as o, formatFile as r, __esmMin as s, formatEmbeddedCode as t, __toCommonJS as u };
@@ -1,4 +1,4 @@
1
- import { n as __esmMin, r as __exportAll } from "./chunk-HkwdBwDg.js";
1
+ import { c as __exportAll, s as __esmMin } from "./apis-CKvPKBJI.js";
2
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,
@@ -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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
60
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
74
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
89
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
103
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
118
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
132
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
147
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
161
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
175
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
190
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
204
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
219
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
233
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
248
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
262
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
277
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
291
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
306
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
320
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
335
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
349
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
364
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
378
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
393
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
407
+ if (bindingPackageVersion !== "0.50.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.50.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.49.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.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
421
+ if (bindingPackageVersion !== "0.50.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.50.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,2 +1,2 @@
1
- import { a as sortTailwindClasses, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-By1xj7IP.js";
1
+ import { a as sortTailwindClasses, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-CKvPKBJI.js";
2
2
  export { formatEmbeddedCode, formatEmbeddedDoc, formatFile, sortTailwindClasses };
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
- import { r as runCli } from "./bindings-Cdg_nxGV.js";
2
- import { i as resolvePlugins } from "./apis-By1xj7IP.js";
1
+ import { i as resolvePlugins } from "./apis-CKvPKBJI.js";
2
+ import { r as runCli } from "./bindings-Dj_YoR0Z.js";
3
3
  import Tinypool from "tinypool";
4
4
  import { fileURLToPath, pathToFileURL } from "node:url";
5
5
  import { extname } from "node:path";
@@ -137,15 +137,15 @@ async function loadVitePlusConfig(path) {
137
137
  if (args.includes("--lsp")) process.stdout.write = process.stderr.write.bind(process.stderr);
138
138
  const [mode, exitCode] = await runCli(args, process.env.VP_VERSION ? loadVitePlusConfig : loadJsConfig, initExternalFormatter, formatFile, formatEmbeddedCode, formatEmbeddedDoc, sortTailwindClasses);
139
139
  if (mode === "init") {
140
- await import("./init-BbKOMZ57.js").then((m) => m.runInit());
140
+ await import("./init-C3nxU_Wc.js").then((m) => m.runInit());
141
141
  return;
142
142
  }
143
143
  if (mode === "migrate:prettier") {
144
- await import("./migrate-prettier-Bze9N_6F.js").then((m) => m.runMigratePrettier());
144
+ await import("./migrate-prettier-DLfviW85.js").then((m) => m.runMigratePrettier());
145
145
  return;
146
146
  }
147
147
  if (mode === "migrate:biome") {
148
- await import("./migrate-biome-BMqs7-eg.js").then((m) => m.runMigrateBiome());
148
+ await import("./migrate-biome-DclTzwKW.js").then((m) => m.runMigrateBiome());
149
149
  return;
150
150
  }
151
151
  await disposeExternalFormatter();
@@ -1,15 +1,12 @@
1
- import { o as __toESM } from "./chunk-HkwdBwDg.js";
2
- import { n as init_babel, parsers as ra, t as babel_exports } from "./babel-Cs312VeV.js";
3
- import index_exports, { t as init_prettier } from "./prettier-s1WPCGVk.js";
4
- import { a as __toESM$1, t as __commonJSMin } from "./chunk-DSjvVL_1-B3jw0SMn.js";
5
- import { n as loadIfExists, r as maybeResolve, t as expiringMap } from "./resolve-pWjAK-4f-BnquIxPb.js";
6
- import { i as visit, n as cacheForDirs, r as spliceChangesIntoString } from "./utils-D8dQkKEd-Dgy5UIHl.js";
7
- import { a as sortClasses, i as sortClassList, n as error, o as warn, r as getTailwindConfig$1 } from "./sorter-BZkvDMjt-y2u_e1ZW.js";
8
- import { parsers as fn, t as init_angular } from "./angular-z1ZEe5V_.js";
9
- import { n as postcss_exports, parsers as en, t as init_postcss } from "./postcss-ZbUej7DN.js";
1
+ import { d as __toESM } from "./apis-CKvPKBJI.js";
2
+ import { n as init_babel, parsers as ra, t as babel_exports } from "./babel-DaNjvh9L.js";
3
+ import index_exports, { t as init_prettier } from "./prettier-Cw36juP9.js";
4
+ import { a as sortClasses, b as __toESM$1, c as cacheForDirs, d as expiringMap, f as loadIfExists, g as __commonJSMin, i as sortClassList, l as spliceChangesIntoString, n as error, o as warn, p as maybeResolve, r as getTailwindConfig$1, u as visit } from "./sorter-BZkvDMjt-DpGe0QK9.js";
5
+ import { parsers as fn, t as init_angular } from "./angular-DtI-eDW8.js";
6
+ import { n as postcss_exports, parsers as en, t as init_postcss } from "./postcss-D-ql-dm8.js";
10
7
  import * as path from "node:path";
11
8
  import { isAbsolute } from "path";
12
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier-plugin-svelte@3.5.1_prettie_57f1f908c644a91a29f5821c3681dd20/node_modules/prettier-plugin-tailwindcss/dist/index.mjs
9
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier-plugin-svelte@3.5.2_prettie_981079e52d31d99dd529b9a262e0d726/node_modules/prettier-plugin-tailwindcss/dist/index.mjs
13
10
  init_angular();
14
11
  init_babel();
15
12
  init_postcss();
@@ -1052,7 +1049,7 @@ const { parsers, printers } = createPlugin([
1052
1049
  staticAttrs: ["class"],
1053
1050
  load: [{
1054
1051
  name: "prettier/plugins/html",
1055
- importer: () => import("./html-7pWx9LND.js")
1052
+ importer: () => import("./html-DkcPxRXg.js")
1056
1053
  }],
1057
1054
  compatible: ["prettier-plugin-organize-attributes"],
1058
1055
  parsers: {
@@ -1067,7 +1064,7 @@ const { parsers, printers } = createPlugin([
1067
1064
  staticAttrs: ["class"],
1068
1065
  load: [{
1069
1066
  name: "prettier/plugins/glimmer",
1070
- importer: () => import("./glimmer-Cg8KQipT.js")
1067
+ importer: () => import("./glimmer-D_zkI0w_.js")
1071
1068
  }],
1072
1069
  parsers: { glimmer: {} },
1073
1070
  transform: transformGlimmer
@@ -1099,19 +1096,19 @@ const { parsers, printers } = createPlugin([
1099
1096
  __js_expression: { load: [babel_exports] },
1100
1097
  typescript: { load: [{
1101
1098
  name: "prettier/plugins/typescript",
1102
- importer: () => import("./typescript-Cgpjcksz.js")
1099
+ importer: () => import("./typescript-C_eN_ThF.js")
1103
1100
  }] },
1104
1101
  meriyah: { load: [{
1105
1102
  name: "prettier/plugins/meriyah",
1106
- importer: () => import("./meriyah-TC7VDz8E.js")
1103
+ importer: () => import("./meriyah-BGPf00Rn.js")
1107
1104
  }] },
1108
1105
  acorn: { load: [{
1109
1106
  name: "prettier/plugins/acorn",
1110
- importer: () => import("./acorn-ay2Aj6GQ.js")
1107
+ importer: () => import("./acorn-sBRpswSh.js")
1111
1108
  }] },
1112
1109
  flow: { load: [{
1113
1110
  name: "prettier/plugins/flow",
1114
- importer: () => import("./flow-ChhAFZSt.js")
1111
+ importer: () => import("./flow-c9AjoQam.js")
1115
1112
  }] },
1116
1113
  oxc: { load: [{
1117
1114
  name: "@prettier/plugin-oxc",
@@ -1142,7 +1139,7 @@ const { parsers, printers } = createPlugin([
1142
1139
  staticAttrs: ["class"],
1143
1140
  load: [{
1144
1141
  name: "prettier-plugin-svelte",
1145
- importer: () => import("./plugin-CwlqDRt_.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))
1142
+ importer: () => import("./plugin-DOdiccQR.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))
1146
1143
  }],
1147
1144
  parsers: { svelte: {} },
1148
1145
  printers: { "svelte-ast": {} },
@@ -1,4 +1,4 @@
1
- import { n as __esmMin } from "./chunk-HkwdBwDg.js";
1
+ import { s as __esmMin } from "./apis-CKvPKBJI.js";
2
2
  //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/estree.mjs
3
3
  function ka(e) {
4
4
  return this[e < 0 ? this.length + e : e];
@@ -1,4 +1,4 @@
1
- import { n as __esmMin } from "./chunk-HkwdBwDg.js";
1
+ import { s as __esmMin } from "./apis-CKvPKBJI.js";
2
2
  //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/flow.mjs
3
3
  function iI0(a0, ox) {
4
4
  let Yx = /* @__PURE__ */ new SyntaxError(a0 + " (" + ox.loc.start.line + ":" + ox.loc.start.column + ")");
@@ -1,4 +1,4 @@
1
- import { n as __esmMin } from "./chunk-HkwdBwDg.js";
1
+ import { s as __esmMin } from "./apis-CKvPKBJI.js";
2
2
  //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/glimmer.mjs
3
3
  function Yn(e) {
4
4
  return this[e < 0 ? this.length + e : e];
@@ -1,4 +1,4 @@
1
- import { n as __esmMin } from "./chunk-HkwdBwDg.js";
1
+ import { s as __esmMin } from "./apis-CKvPKBJI.js";
2
2
  //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/graphql.mjs
3
3
  function x(e) {
4
4
  return S(e), {
@@ -1,4 +1,4 @@
1
- import { n as __esmMin } from "./chunk-HkwdBwDg.js";
1
+ import { s as __esmMin } from "./apis-CKvPKBJI.js";
2
2
  //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/html.mjs
3
3
  function ns(e) {
4
4
  return this[e < 0 ? this.length + e : e];
package/dist/index.d.ts CHANGED
@@ -635,7 +635,7 @@ interface SortImportsConfig {
635
635
  *
636
636
  * This is useful for distinguishing your own modules from external dependencies.
637
637
  *
638
- * - Default: `["~/", "@/"]`
638
+ * - Default: `["~/", "@/", "#"]`
639
639
  */
640
640
  internalPattern?: string[];
641
641
  /**
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { n as jsTextToDoc$1, t as format$1 } from "./bindings-Cdg_nxGV.js";
2
- import { a as sortTailwindClasses, i as resolvePlugins, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-By1xj7IP.js";
1
+ import { a as sortTailwindClasses, i as resolvePlugins, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-CKvPKBJI.js";
2
+ import { n as jsTextToDoc$1, t as format$1 } from "./bindings-Dj_YoR0Z.js";
3
3
  //#region src-js/index.ts
4
4
  /**
5
5
  * Define an oxfmt configuration with type inference.
@@ -1,4 +1,4 @@
1
- import { i as saveOxfmtrcFile, n as exitWithError, r as hasOxfmtrcFile, t as createBlankOxfmtrcFile } from "./shared-BTEY2VsW.js";
1
+ import { i as saveOxfmtrcFile, n as exitWithError, r as hasOxfmtrcFile, t as createBlankOxfmtrcFile } from "./shared-BtJbjkue.js";
2
2
  //#region src-js/cli/migration/init.ts
3
3
  /**
4
4
  * Run the `--init` command to scaffold a default `.oxfmtrc.json` file.
@@ -1,6 +1,6 @@
1
- import { a as __toESM, i as __require, t as __commonJSMin } from "./chunk-DSjvVL_1-B3jw0SMn.js";
1
+ import { b as __toESM, g as __commonJSMin, y as __require } from "./sorter-BZkvDMjt-DpGe0QK9.js";
2
2
  import { createRequire } from "node:module";
3
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier-plugin-svelte@3.5.1_prettie_57f1f908c644a91a29f5821c3681dd20/node_modules/prettier-plugin-tailwindcss/dist/jiti-Bb1dT6Cw.mjs
3
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier-plugin-svelte@3.5.2_prettie_981079e52d31d99dd529b9a262e0d726/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
- import { n as __esmMin } from "./chunk-HkwdBwDg.js";
1
+ import { s as __esmMin } from "./apis-CKvPKBJI.js";
2
2
  //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/markdown.mjs
3
3
  function yl(e) {
4
4
  return this[e < 0 ? this.length + e : e];
@@ -1,4 +1,4 @@
1
- import { n as __esmMin } from "./chunk-HkwdBwDg.js";
1
+ import { s as __esmMin } from "./apis-CKvPKBJI.js";
2
2
  //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/meriyah.mjs
3
3
  function Se(e) {
4
4
  return e <= 127 ? _2[e] > 0 : Ct(e);
@@ -1,4 +1,4 @@
1
- import { i as saveOxfmtrcFile, n as exitWithError, r as hasOxfmtrcFile, t as createBlankOxfmtrcFile } from "./shared-BTEY2VsW.js";
1
+ import { i as saveOxfmtrcFile, n as exitWithError, r as hasOxfmtrcFile, t as createBlankOxfmtrcFile } from "./shared-BtJbjkue.js";
2
2
  import { join } from "node:path";
3
3
  import { readFile } from "node:fs/promises";
4
4
  //#region src-js/cli/migration/migrate-biome.ts
@@ -1,4 +1,4 @@
1
- import { i as saveOxfmtrcFile, n as exitWithError, r as hasOxfmtrcFile, t as createBlankOxfmtrcFile } from "./shared-BTEY2VsW.js";
1
+ import { i as saveOxfmtrcFile, n as exitWithError, r as hasOxfmtrcFile, t as createBlankOxfmtrcFile } from "./shared-BtJbjkue.js";
2
2
  import { join } from "node:path";
3
3
  import { readFile } from "node:fs/promises";
4
4
  //#region src-js/cli/migration/migrate-prettier.ts
@@ -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-s1WPCGVk.js");
12
+ const { resolveConfigFile, resolveConfig } = await import("./prettier-Cw36juP9.js");
13
13
  const prettierConfigPath = await resolveConfigFile(join(cwd, "dummy.js"));
14
14
  if (!prettierConfigPath) {
15
15
  console.log("No Prettier configuration file found.");