oxfmt 0.32.0 → 0.34.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 (39) hide show
  1. package/configuration_schema.json +51 -6
  2. package/dist/{postcss-DKPxyBch.js → angular-DdA9f8ZK.js} +7 -6
  3. package/dist/{apis-6GJvrGdK.js → apis-Ddb0m55g.js} +4 -4
  4. package/dist/babel-CmMxKXKi.js +3 -0
  5. package/dist/{bindings-DuRSBSH9.js → bindings-DTOgpISZ.js} +26 -26
  6. package/dist/{chunk-DSjvVL_1-DGPqLkX8.js → chunk-DSjvVL_1-K7gBHu1i.js} +1 -1
  7. package/dist/cli-worker.d.ts +1 -1
  8. package/dist/cli-worker.js +1 -1
  9. package/dist/cli.js +5 -4
  10. package/dist/{babel-CX7YS1y4.js → dist-DQgkZSFc.js} +5160 -1
  11. package/dist/index.d.ts +9 -4
  12. package/dist/index.js +2 -2
  13. package/dist/{v4-C_IPPFom-CzWZrmWL.js → jiti-Bb1dT6Cw-CP1_dUF7.js} +3 -10755
  14. package/dist/{migrate-prettier-CRIoVxnG.js → migrate-prettier-CPi8N90o.js} +1 -1
  15. package/dist/postcss-D79LfgjO.js +3 -0
  16. package/dist/{prettier-iX8V55ba.js → prettier-DIVejRqd.js} +14 -14
  17. package/dist/{prettier-plugin-oxfmt-CTfSH0ez.js → prettier-plugin-oxfmt-CI1pYfTP.js} +3 -3
  18. package/dist/{resolve-pWjAK-4f-BDpC233X.js → resolve-pWjAK-4f-YzJRPmwZ.js} +2 -2
  19. package/dist/{sorter-VB3XW2i_-BpFugw-x.js → sorter-BZkvDMjt-CiG199np.js} +6 -6
  20. package/dist/sorter-CjGwXe5x.js +5 -0
  21. package/dist/{utils-D8dQkKEd-Dq0tCGW_.js → utils-D8dQkKEd-bSmL59ud.js} +1 -1
  22. package/dist/v3-D-mr2VVh-DAVD4LOh.js +16709 -0
  23. package/dist/v4-C-HWEQJm-DOWhMvfI.js +10759 -0
  24. package/package.json +20 -20
  25. package/dist/angular-9UbP57Ow.js +0 -3952
  26. package/dist/dist-D3CWjTTc.js +0 -1151
  27. package/dist/sorter-DnKClyKU.js +0 -5
  28. package/dist/v3-RIpeMkdf-CHWXIFE7.js +0 -79883
  29. /package/dist/{acorn-DTid_xfu.js → acorn-DSYDYt2u.js} +0 -0
  30. /package/dist/{estree-vodXR09f.js → estree-DBPlpXot.js} +0 -0
  31. /package/dist/{flow-D6joRvfg.js → flow-DZRswbuH.js} +0 -0
  32. /package/dist/{glimmer-CDzFnA-R.js → glimmer-B28TNYIB.js} +0 -0
  33. /package/dist/{graphql-DQKSu6tT.js → graphql-3p9xuuKy.js} +0 -0
  34. /package/dist/{html-CRvdkeeP.js → html-D2VbMQAT.js} +0 -0
  35. /package/dist/{index-DgRWzHwv.d.ts → index-BNhsnuYk.d.ts} +0 -0
  36. /package/dist/{markdown-CDEe6Nm4.js → markdown-DdJpriJP.js} +0 -0
  37. /package/dist/{meriyah-DSeGVyBs.js → meriyah-CQnZTN4N.js} +0 -0
  38. /package/dist/{typescript-BFhFx1UJ.js → typescript-D5lCjM2U.js} +0 -0
  39. /package/dist/{yaml-DXzn9wd5.js → yaml-jtj0ZWQC.js} +0 -0
@@ -278,6 +278,25 @@
278
278
  "default": "",
279
279
  "type": "string",
280
280
  "markdownDescription": "Name of the custom group, used in the `groups` option."
281
+ },
282
+ "modifiers": {
283
+ "description": "Modifiers to match the import characteristics.\nAll specified modifiers must be present (AND logic).\n\nPossible values: `\"side_effect\"`, `\"type\"`, `\"value\"`, `\"default\"`, `\"wildcard\"`, `\"named\"`",
284
+ "type": [
285
+ "array",
286
+ "null"
287
+ ],
288
+ "items": {
289
+ "type": "string"
290
+ },
291
+ "markdownDescription": "Modifiers to match the import characteristics.\nAll specified modifiers must be present (AND logic).\n\nPossible values: `\"side_effect\"`, `\"type\"`, `\"value\"`, `\"default\"`, `\"wildcard\"`, `\"named\"`"
292
+ },
293
+ "selector": {
294
+ "description": "Selector to match the import kind.\n\nPossible values: `\"type\"`, `\"side_effect_style\"`, `\"side_effect\"`, `\"style\"`, `\"index\"`,\n`\"sibling\"`, `\"parent\"`, `\"subpath\"`, `\"internal\"`, `\"builtin\"`, `\"external\"`, `\"import\"`",
295
+ "type": [
296
+ "string",
297
+ "null"
298
+ ],
299
+ "markdownDescription": "Selector to match the import kind.\n\nPossible values: `\"type\"`, `\"side_effect_style\"`, `\"side_effect\"`, `\"style\"`, `\"index\"`,\n`\"sibling\"`, `\"parent\"`, `\"subpath\"`, `\"internal\"`, `\"builtin\"`, `\"external\"`, `\"import\"`"
281
300
  }
282
301
  }
283
302
  },
@@ -533,6 +552,19 @@
533
552
  "ignore"
534
553
  ]
535
554
  },
555
+ "NewlinesBetweenMarker": {
556
+ "description": "A marker object for overriding `newlinesBetween` at a specific group boundary.",
557
+ "type": "object",
558
+ "required": [
559
+ "newlinesBetween"
560
+ ],
561
+ "properties": {
562
+ "newlinesBetween": {
563
+ "type": "boolean"
564
+ }
565
+ },
566
+ "markdownDescription": "A marker object for overriding `newlinesBetween` at a specific group boundary."
567
+ },
536
568
  "ObjectWrapConfig": {
537
569
  "type": "string",
538
570
  "enum": [
@@ -596,13 +628,26 @@
596
628
  "SortGroupItemConfig": {
597
629
  "anyOf": [
598
630
  {
599
- "type": "string"
631
+ "description": "A `{ \"newlinesBetween\": bool }` marker object that overrides the global `newlinesBetween`\nsetting for the boundary between the previous and next groups.",
632
+ "allOf": [
633
+ {
634
+ "$ref": "#/definitions/NewlinesBetweenMarker"
635
+ }
636
+ ],
637
+ "markdownDescription": "A `{ \"newlinesBetween\": bool }` marker object that overrides the global `newlinesBetween`\nsetting for the boundary between the previous and next groups."
600
638
  },
601
639
  {
640
+ "description": "A single group name string (e.g. `\"value-builtin\"`).",
641
+ "type": "string",
642
+ "markdownDescription": "A single group name string (e.g. `\"value-builtin\"`)."
643
+ },
644
+ {
645
+ "description": "Multiple group names treated as one group (e.g. `[\"value-builtin\", \"value-external\"]`).",
602
646
  "type": "array",
603
647
  "items": {
604
648
  "type": "string"
605
- }
649
+ },
650
+ "markdownDescription": "Multiple group names treated as one group (e.g. `[\"value-builtin\", \"value-external\"]`)."
606
651
  }
607
652
  ]
608
653
  },
@@ -610,7 +655,7 @@
610
655
  "type": "object",
611
656
  "properties": {
612
657
  "customGroups": {
613
- "description": "Define your own groups for matching very specific imports.\n\nThe `customGroups` list is ordered: The first definition that matches an element will be used.\nCustom groups have a higher priority than any predefined group.\n\nIf you want a predefined group to take precedence over a custom group,\nyou must write a custom group definition that does the same as what the predefined group does, and put it first in the list.\n\n- Default: `[]`",
658
+ "description": "Define your own groups for matching very specific imports.\n\nThe `customGroups` list is ordered: The first definition that matches an element will be used.\nCustom groups have a higher priority than any predefined group.\n\nIf you want a predefined group to take precedence over a custom group,\nyou must write a custom group definition that does the same as what the predefined group does, and put it first in the list.\n\nIf you specify multiple conditions like `elementNamePattern`, `selector`, and `modifiers`,\nall conditions must be met for an import to match the custom group (AND logic).\n\n- Default: `[]`",
614
659
  "type": [
615
660
  "array",
616
661
  "null"
@@ -618,10 +663,10 @@
618
663
  "items": {
619
664
  "$ref": "#/definitions/CustomGroupItemConfig"
620
665
  },
621
- "markdownDescription": "Define your own groups for matching very specific imports.\n\nThe `customGroups` list is ordered: The first definition that matches an element will be used.\nCustom groups have a higher priority than any predefined group.\n\nIf you want a predefined group to take precedence over a custom group,\nyou must write a custom group definition that does the same as what the predefined group does, and put it first in the list.\n\n- Default: `[]`"
666
+ "markdownDescription": "Define your own groups for matching very specific imports.\n\nThe `customGroups` list is ordered: The first definition that matches an element will be used.\nCustom groups have a higher priority than any predefined group.\n\nIf you want a predefined group to take precedence over a custom group,\nyou must write a custom group definition that does the same as what the predefined group does, and put it first in the list.\n\nIf you specify multiple conditions like `elementNamePattern`, `selector`, and `modifiers`,\nall conditions must be met for an import to match the custom group (AND logic).\n\n- Default: `[]`"
622
667
  },
623
668
  "groups": {
624
- "description": "Specifies a list of predefined import groups for sorting.\n\nEach import will be assigned a single group specified in the groups option (or the `unknown` group if no match is found).\nThe order of items in the `groups` option determines how groups are ordered.\n\nWithin a given group, members will be sorted according to the type, order, ignoreCase, etc. options.\n\nIndividual groups can be combined together by placing them in an array.\nThe order of groups in that array does not matter.\nAll members of the groups in the array will be sorted together as if they were part of a single group.\n\nPredefined groups are characterized by a single selector and potentially multiple modifiers.\nYou may enter modifiers in any order, but the selector must always come at the end.\n\nThe list of selectors is sorted from most to least important:\n- `type` — TypeScript type imports.\n- `side-effect-style` — Side effect style imports.\n- `side-effect` — Side effect imports.\n- `style` — Style imports.\n- `index` — Main file from the current directory.\n- `sibling` — Modules from the same directory.\n- `parent` — Modules from the parent directory.\n- `subpath` — Node.js subpath imports.\n- `internal` — Your internal modules.\n- `builtin` — Node.js Built-in Modules.\n- `external` — External modules installed in the project.\n- `import` — Any import.\n\nThe list of modifiers is sorted from most to least important:\n- `side-effect` — Side effect imports.\n- `type` — TypeScript type imports.\n- `value` — Value imports.\n- `default` — Imports containing the default specifier.\n- `wildcard` — Imports containing the wildcard (`* as`) specifier.\n- `named` — Imports containing at least one named specifier.\n- `multiline` — Imports on multiple lines.\n- `singleline` — Imports on a single line.\n\nSee also <https://perfectionist.dev/rules/sort-imports#groups> for details.\n\n- Default: See below\n```json\n[\n\"type-import\",\n[\"value-builtin\", \"value-external\"],\n\"type-internal\",\n\"value-internal\",\n[\"type-parent\", \"type-sibling\", \"type-index\"],\n[\"value-parent\", \"value-sibling\", \"value-index\"],\n\"unknown\",\n]\n```",
669
+ "description": "Specifies a list of predefined import groups for sorting.\n\nEach import will be assigned a single group specified in the groups option (or the `unknown` group if no match is found).\nThe order of items in the `groups` option determines how groups are ordered.\n\nWithin a given group, members will be sorted according to the type, order, ignoreCase, etc. options.\n\nIndividual groups can be combined together by placing them in an array.\nThe order of groups in that array does not matter.\nAll members of the groups in the array will be sorted together as if they were part of a single group.\n\nPredefined groups are characterized by a single selector and potentially multiple modifiers.\nYou may enter modifiers in any order, but the selector must always come at the end.\n\nThe list of selectors is sorted from most to least important:\n- `type` — TypeScript type imports.\n- `side_effect_style` — Side effect style imports.\n- `side_effect` — Side effect imports.\n- `style` — Style imports.\n- `index` — Main file from the current directory.\n- `sibling` — Modules from the same directory.\n- `parent` — Modules from the parent directory.\n- `subpath` — Node.js subpath imports.\n- `internal` — Your internal modules.\n- `builtin` — Node.js Built-in Modules.\n- `external` — External modules installed in the project.\n- `import` — Any import.\n\nThe list of modifiers is sorted from most to least important:\n- `side_effect` — Side effect imports.\n- `type` — TypeScript type imports.\n- `value` — Value imports.\n- `default` — Imports containing the default specifier.\n- `wildcard` — Imports containing the wildcard (`* as`) specifier.\n- `named` — Imports containing at least one named specifier.\n\n- Default: See below\n```json\n[\n\"builtin\",\n\"external\",\n[\"internal\", \"subpath\"],\n[\"parent\", \"sibling\", \"index\"],\n\"style\",\n\"unknown\"\n]\n```\n\nAlso, you can override the global `newlinesBetween` setting for specific group boundaries\nby including a `{ \"newlinesBetween\": boolean }` marker object in the `groups` list at the desired position.",
625
670
  "type": [
626
671
  "array",
627
672
  "null"
@@ -629,7 +674,7 @@
629
674
  "items": {
630
675
  "$ref": "#/definitions/SortGroupItemConfig"
631
676
  },
632
- "markdownDescription": "Specifies a list of predefined import groups for sorting.\n\nEach import will be assigned a single group specified in the groups option (or the `unknown` group if no match is found).\nThe order of items in the `groups` option determines how groups are ordered.\n\nWithin a given group, members will be sorted according to the type, order, ignoreCase, etc. options.\n\nIndividual groups can be combined together by placing them in an array.\nThe order of groups in that array does not matter.\nAll members of the groups in the array will be sorted together as if they were part of a single group.\n\nPredefined groups are characterized by a single selector and potentially multiple modifiers.\nYou may enter modifiers in any order, but the selector must always come at the end.\n\nThe list of selectors is sorted from most to least important:\n- `type` — TypeScript type imports.\n- `side-effect-style` — Side effect style imports.\n- `side-effect` — Side effect imports.\n- `style` — Style imports.\n- `index` — Main file from the current directory.\n- `sibling` — Modules from the same directory.\n- `parent` — Modules from the parent directory.\n- `subpath` — Node.js subpath imports.\n- `internal` — Your internal modules.\n- `builtin` — Node.js Built-in Modules.\n- `external` — External modules installed in the project.\n- `import` — Any import.\n\nThe list of modifiers is sorted from most to least important:\n- `side-effect` — Side effect imports.\n- `type` — TypeScript type imports.\n- `value` — Value imports.\n- `default` — Imports containing the default specifier.\n- `wildcard` — Imports containing the wildcard (`* as`) specifier.\n- `named` — Imports containing at least one named specifier.\n- `multiline` — Imports on multiple lines.\n- `singleline` — Imports on a single line.\n\nSee also <https://perfectionist.dev/rules/sort-imports#groups> for details.\n\n- Default: See below\n```json\n[\n\"type-import\",\n[\"value-builtin\", \"value-external\"],\n\"type-internal\",\n\"value-internal\",\n[\"type-parent\", \"type-sibling\", \"type-index\"],\n[\"value-parent\", \"value-sibling\", \"value-index\"],\n\"unknown\",\n]\n```"
677
+ "markdownDescription": "Specifies a list of predefined import groups for sorting.\n\nEach import will be assigned a single group specified in the groups option (or the `unknown` group if no match is found).\nThe order of items in the `groups` option determines how groups are ordered.\n\nWithin a given group, members will be sorted according to the type, order, ignoreCase, etc. options.\n\nIndividual groups can be combined together by placing them in an array.\nThe order of groups in that array does not matter.\nAll members of the groups in the array will be sorted together as if they were part of a single group.\n\nPredefined groups are characterized by a single selector and potentially multiple modifiers.\nYou may enter modifiers in any order, but the selector must always come at the end.\n\nThe list of selectors is sorted from most to least important:\n- `type` — TypeScript type imports.\n- `side_effect_style` — Side effect style imports.\n- `side_effect` — Side effect imports.\n- `style` — Style imports.\n- `index` — Main file from the current directory.\n- `sibling` — Modules from the same directory.\n- `parent` — Modules from the parent directory.\n- `subpath` — Node.js subpath imports.\n- `internal` — Your internal modules.\n- `builtin` — Node.js Built-in Modules.\n- `external` — External modules installed in the project.\n- `import` — Any import.\n\nThe list of modifiers is sorted from most to least important:\n- `side_effect` — Side effect imports.\n- `type` — TypeScript type imports.\n- `value` — Value imports.\n- `default` — Imports containing the default specifier.\n- `wildcard` — Imports containing the wildcard (`* as`) specifier.\n- `named` — Imports containing at least one named specifier.\n\n- Default: See below\n```json\n[\n\"builtin\",\n\"external\",\n[\"internal\", \"subpath\"],\n[\"parent\", \"sibling\", \"index\"],\n\"style\",\n\"unknown\"\n]\n```\n\nAlso, you can override the global `newlinesBetween` setting for specific group boundaries\nby including a `{ \"newlinesBetween\": boolean }` marker object in the `groups` list at the desired position."
633
678
  },
634
679
  "ignoreCase": {
635
680
  "description": "Specifies whether sorting should be case-sensitive.\n\n- Default: `true`",
@@ -1,4 +1,5 @@
1
1
  import { t as __exportAll } from "./chunk-DpReBE2K.js";
2
+ import { i as sn, r as Ei } from "./dist-DQgkZSFc.js";
2
3
 
3
4
  //#region ../../node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/postcss.mjs
4
5
  var postcss_exports = /* @__PURE__ */ __exportAll({
@@ -13,7 +14,7 @@ var Vr = Object.defineProperty;
13
14
  var El = Object.getOwnPropertyDescriptor;
14
15
  var Sl = Object.getOwnPropertyNames;
15
16
  var kl = Object.getPrototypeOf, Tl = Object.prototype.hasOwnProperty;
16
- var w = (t, e) => () => (e || t((e = { exports: {} }).exports, e), e.exports), sn = (t, e) => {
17
+ var w = (t, e) => () => (e || t((e = { exports: {} }).exports, e), e.exports), sn$1 = (t, e) => {
17
18
  for (var s in e) Vr(t, s, {
18
19
  get: e[s],
19
20
  enumerable: !0
@@ -5013,7 +5014,7 @@ var nl = w((rb, sl) => {
5013
5014
  };
5014
5015
  });
5015
5016
  var _l = {};
5016
- sn(_l, {
5017
+ sn$1(_l, {
5017
5018
  languages: () => Si,
5018
5019
  options: () => Ti,
5019
5020
  parsers: () => en,
@@ -6336,7 +6337,7 @@ function Cc(t, e, s) {
6336
6337
  default: throw new dn(r, "PostCSS");
6337
6338
  }
6338
6339
  }
6339
- var Ei = {
6340
+ var Ei$1 = {
6340
6341
  features: { experimental_frontMatterSupport: {
6341
6342
  massageAstNode: !0,
6342
6343
  embed: !0,
@@ -6459,7 +6460,7 @@ var Ti = { singleQuote: {
6459
6460
  }
6460
6461
  }.singleQuote };
6461
6462
  var en = {};
6462
- sn(en, {
6463
+ sn$1(en, {
6463
6464
  css: () => Vy,
6464
6465
  less: () => zy,
6465
6466
  scss: () => jy
@@ -6778,7 +6779,7 @@ var Zs = {
6778
6779
  ...Zs,
6779
6780
  parse: xl
6780
6781
  };
6781
- var Hy = { postcss: Ei };
6782
+ var Hy = { postcss: Ei$1 };
6782
6783
 
6783
6784
  //#endregion
6784
- export { _l as default, Si as languages, Ti as options, en as parsers, Hy as printers, postcss_exports as t };
6785
+ export { en as a, Ei as default, _l as i, Si as n, postcss_exports as o, sn as parsers, Ti as r, Hy as t };
@@ -2,7 +2,7 @@
2
2
  let prettierCache;
3
3
  async function loadPrettier() {
4
4
  if (prettierCache) return prettierCache;
5
- prettierCache = await import("./prettier-iX8V55ba.js").then((n) => n.n);
5
+ prettierCache = await import("./prettier-DIVejRqd.js").then((n) => n.n);
6
6
  return prettierCache;
7
7
  }
8
8
  /**
@@ -42,7 +42,7 @@ async function formatFile({ code, options }) {
42
42
  let tailwindPluginCache;
43
43
  async function loadTailwindPlugin() {
44
44
  if (tailwindPluginCache) return tailwindPluginCache;
45
- tailwindPluginCache = await import("./dist-D3CWjTTc.js");
45
+ tailwindPluginCache = await import("./dist-DQgkZSFc.js");
46
46
  return tailwindPluginCache;
47
47
  }
48
48
  /**
@@ -63,7 +63,7 @@ async function setupTailwindPlugin(options) {
63
63
  * @returns Array of sorted class strings (same order/length as input)
64
64
  */
65
65
  async function sortTailwindClasses({ classes, options }) {
66
- const { createSorter } = await import("./sorter-DnKClyKU.js");
66
+ const { createSorter } = await import("./sorter-CjGwXe5x.js");
67
67
  return (await createSorter({
68
68
  filepath: options.filepath,
69
69
  stylesheetPath: options.tailwindStylesheet,
@@ -75,7 +75,7 @@ async function sortTailwindClasses({ classes, options }) {
75
75
  let oxfmtPluginCache;
76
76
  async function loadOxfmtPlugin() {
77
77
  if (oxfmtPluginCache) return oxfmtPluginCache;
78
- oxfmtPluginCache = await import("./prettier-plugin-oxfmt-CTfSH0ez.js");
78
+ oxfmtPluginCache = await import("./prettier-plugin-oxfmt-CI1pYfTP.js");
79
79
  return oxfmtPluginCache;
80
80
  }
81
81
  /**
@@ -0,0 +1,3 @@
1
+ import { n as ra, t as Ks } from "./dist-DQgkZSFc.js";
2
+
3
+ export { Ks as default, ra as parsers };
@@ -58,7 +58,7 @@ function requireNative() {
58
58
  try {
59
59
  const binding = require("@oxfmt/binding-android-arm64");
60
60
  const bindingPackageVersion = require("@oxfmt/binding-android-arm64/package.json").version;
61
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
61
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
62
62
  return binding;
63
63
  } catch (e) {
64
64
  loadErrors.push(e);
@@ -72,7 +72,7 @@ function requireNative() {
72
72
  try {
73
73
  const binding = require("@oxfmt/binding-android-arm-eabi");
74
74
  const bindingPackageVersion = require("@oxfmt/binding-android-arm-eabi/package.json").version;
75
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
75
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
76
76
  return binding;
77
77
  } catch (e) {
78
78
  loadErrors.push(e);
@@ -87,7 +87,7 @@ function requireNative() {
87
87
  try {
88
88
  const binding = require("@oxfmt/binding-win32-x64-gnu");
89
89
  const bindingPackageVersion = require("@oxfmt/binding-win32-x64-gnu/package.json").version;
90
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
90
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
91
91
  return binding;
92
92
  } catch (e) {
93
93
  loadErrors.push(e);
@@ -101,7 +101,7 @@ function requireNative() {
101
101
  try {
102
102
  const binding = require("@oxfmt/binding-win32-x64-msvc");
103
103
  const bindingPackageVersion = require("@oxfmt/binding-win32-x64-msvc/package.json").version;
104
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
104
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
105
105
  return binding;
106
106
  } catch (e) {
107
107
  loadErrors.push(e);
@@ -116,7 +116,7 @@ function requireNative() {
116
116
  try {
117
117
  const binding = require("@oxfmt/binding-win32-ia32-msvc");
118
118
  const bindingPackageVersion = require("@oxfmt/binding-win32-ia32-msvc/package.json").version;
119
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
119
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
120
120
  return binding;
121
121
  } catch (e) {
122
122
  loadErrors.push(e);
@@ -130,7 +130,7 @@ function requireNative() {
130
130
  try {
131
131
  const binding = require("@oxfmt/binding-win32-arm64-msvc");
132
132
  const bindingPackageVersion = require("@oxfmt/binding-win32-arm64-msvc/package.json").version;
133
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
133
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
134
134
  return binding;
135
135
  } catch (e) {
136
136
  loadErrors.push(e);
@@ -145,7 +145,7 @@ function requireNative() {
145
145
  try {
146
146
  const binding = require("@oxfmt/binding-darwin-universal");
147
147
  const bindingPackageVersion = require("@oxfmt/binding-darwin-universal/package.json").version;
148
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
148
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
149
149
  return binding;
150
150
  } catch (e) {
151
151
  loadErrors.push(e);
@@ -159,7 +159,7 @@ function requireNative() {
159
159
  try {
160
160
  const binding = require("@oxfmt/binding-darwin-x64");
161
161
  const bindingPackageVersion = require("@oxfmt/binding-darwin-x64/package.json").version;
162
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
162
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
163
163
  return binding;
164
164
  } catch (e) {
165
165
  loadErrors.push(e);
@@ -173,7 +173,7 @@ function requireNative() {
173
173
  try {
174
174
  const binding = require("@oxfmt/binding-darwin-arm64");
175
175
  const bindingPackageVersion = require("@oxfmt/binding-darwin-arm64/package.json").version;
176
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
176
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
177
177
  return binding;
178
178
  } catch (e) {
179
179
  loadErrors.push(e);
@@ -188,7 +188,7 @@ function requireNative() {
188
188
  try {
189
189
  const binding = require("@oxfmt/binding-freebsd-x64");
190
190
  const bindingPackageVersion = require("@oxfmt/binding-freebsd-x64/package.json").version;
191
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
191
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
192
192
  return binding;
193
193
  } catch (e) {
194
194
  loadErrors.push(e);
@@ -202,7 +202,7 @@ function requireNative() {
202
202
  try {
203
203
  const binding = require("@oxfmt/binding-freebsd-arm64");
204
204
  const bindingPackageVersion = require("@oxfmt/binding-freebsd-arm64/package.json").version;
205
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
205
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
206
206
  return binding;
207
207
  } catch (e) {
208
208
  loadErrors.push(e);
@@ -217,7 +217,7 @@ function requireNative() {
217
217
  try {
218
218
  const binding = require("@oxfmt/binding-linux-x64-musl");
219
219
  const bindingPackageVersion = require("@oxfmt/binding-linux-x64-musl/package.json").version;
220
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
220
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
221
221
  return binding;
222
222
  } catch (e) {
223
223
  loadErrors.push(e);
@@ -231,7 +231,7 @@ function requireNative() {
231
231
  try {
232
232
  const binding = require("@oxfmt/binding-linux-x64-gnu");
233
233
  const bindingPackageVersion = require("@oxfmt/binding-linux-x64-gnu/package.json").version;
234
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
234
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
235
235
  return binding;
236
236
  } catch (e) {
237
237
  loadErrors.push(e);
@@ -246,7 +246,7 @@ function requireNative() {
246
246
  try {
247
247
  const binding = require("@oxfmt/binding-linux-arm64-musl");
248
248
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm64-musl/package.json").version;
249
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
249
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
250
250
  return binding;
251
251
  } catch (e) {
252
252
  loadErrors.push(e);
@@ -260,7 +260,7 @@ function requireNative() {
260
260
  try {
261
261
  const binding = require("@oxfmt/binding-linux-arm64-gnu");
262
262
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm64-gnu/package.json").version;
263
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
263
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
264
264
  return binding;
265
265
  } catch (e) {
266
266
  loadErrors.push(e);
@@ -275,7 +275,7 @@ function requireNative() {
275
275
  try {
276
276
  const binding = require("@oxfmt/binding-linux-arm-musleabihf");
277
277
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm-musleabihf/package.json").version;
278
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
278
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
279
279
  return binding;
280
280
  } catch (e) {
281
281
  loadErrors.push(e);
@@ -289,7 +289,7 @@ function requireNative() {
289
289
  try {
290
290
  const binding = require("@oxfmt/binding-linux-arm-gnueabihf");
291
291
  const bindingPackageVersion = require("@oxfmt/binding-linux-arm-gnueabihf/package.json").version;
292
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
292
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
293
293
  return binding;
294
294
  } catch (e) {
295
295
  loadErrors.push(e);
@@ -304,7 +304,7 @@ function requireNative() {
304
304
  try {
305
305
  const binding = require("@oxfmt/binding-linux-loong64-musl");
306
306
  const bindingPackageVersion = require("@oxfmt/binding-linux-loong64-musl/package.json").version;
307
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
307
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
308
308
  return binding;
309
309
  } catch (e) {
310
310
  loadErrors.push(e);
@@ -318,7 +318,7 @@ function requireNative() {
318
318
  try {
319
319
  const binding = require("@oxfmt/binding-linux-loong64-gnu");
320
320
  const bindingPackageVersion = require("@oxfmt/binding-linux-loong64-gnu/package.json").version;
321
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
321
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
322
322
  return binding;
323
323
  } catch (e) {
324
324
  loadErrors.push(e);
@@ -333,7 +333,7 @@ function requireNative() {
333
333
  try {
334
334
  const binding = require("@oxfmt/binding-linux-riscv64-musl");
335
335
  const bindingPackageVersion = require("@oxfmt/binding-linux-riscv64-musl/package.json").version;
336
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
336
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
337
337
  return binding;
338
338
  } catch (e) {
339
339
  loadErrors.push(e);
@@ -347,7 +347,7 @@ function requireNative() {
347
347
  try {
348
348
  const binding = require("@oxfmt/binding-linux-riscv64-gnu");
349
349
  const bindingPackageVersion = require("@oxfmt/binding-linux-riscv64-gnu/package.json").version;
350
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
350
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
351
351
  return binding;
352
352
  } catch (e) {
353
353
  loadErrors.push(e);
@@ -362,7 +362,7 @@ function requireNative() {
362
362
  try {
363
363
  const binding = require("@oxfmt/binding-linux-ppc64-gnu");
364
364
  const bindingPackageVersion = require("@oxfmt/binding-linux-ppc64-gnu/package.json").version;
365
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
365
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
366
366
  return binding;
367
367
  } catch (e) {
368
368
  loadErrors.push(e);
@@ -376,7 +376,7 @@ function requireNative() {
376
376
  try {
377
377
  const binding = require("@oxfmt/binding-linux-s390x-gnu");
378
378
  const bindingPackageVersion = require("@oxfmt/binding-linux-s390x-gnu/package.json").version;
379
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
379
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
380
380
  return binding;
381
381
  } catch (e) {
382
382
  loadErrors.push(e);
@@ -391,7 +391,7 @@ function requireNative() {
391
391
  try {
392
392
  const binding = require("@oxfmt/binding-openharmony-arm64");
393
393
  const bindingPackageVersion = require("@oxfmt/binding-openharmony-arm64/package.json").version;
394
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
394
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
395
395
  return binding;
396
396
  } catch (e) {
397
397
  loadErrors.push(e);
@@ -405,7 +405,7 @@ function requireNative() {
405
405
  try {
406
406
  const binding = require("@oxfmt/binding-openharmony-x64");
407
407
  const bindingPackageVersion = require("@oxfmt/binding-openharmony-x64/package.json").version;
408
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
408
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
409
409
  return binding;
410
410
  } catch (e) {
411
411
  loadErrors.push(e);
@@ -419,7 +419,7 @@ function requireNative() {
419
419
  try {
420
420
  const binding = require("@oxfmt/binding-openharmony-arm");
421
421
  const bindingPackageVersion = require("@oxfmt/binding-openharmony-arm/package.json").version;
422
- if (bindingPackageVersion !== "0.32.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.32.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
422
+ if (bindingPackageVersion !== "0.34.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.34.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
423
423
  return binding;
424
424
  } catch (e) {
425
425
  loadErrors.push(e);
@@ -1,6 +1,6 @@
1
1
  import { createRequire } from "node:module";
2
2
 
3
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2ac6e70_prettier@3.8.1/node_modules/prettier-plugin-tailwindcss/dist/chunk-DSjvVL_1.mjs
3
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.3997fbd_prettier@3.8.1/node_modules/prettier-plugin-tailwindcss/dist/chunk-DSjvVL_1.mjs
4
4
  var __create = Object.create;
5
5
  var __defProp = Object.defineProperty;
6
6
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,4 +1,4 @@
1
- import { t as Options } from "./index-DgRWzHwv.js";
1
+ import { t as Options } from "./index-BNhsnuYk.js";
2
2
 
3
3
  //#region src-js/libs/apis.d.ts
4
4
  type FormatEmbeddedCodeParam = {
@@ -1,3 +1,3 @@
1
- import { i as sortTailwindClasses, n as formatFile, t as formatEmbeddedCode } from "./apis-6GJvrGdK.js";
1
+ import { i as sortTailwindClasses, n as formatFile, t as formatEmbeddedCode } from "./apis-Ddb0m55g.js";
2
2
 
3
3
  export { formatEmbeddedCode, formatFile, sortTailwindClasses };
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
- import { r as runCli } from "./bindings-DuRSBSH9.js";
2
- import { r as resolvePlugins } from "./apis-6GJvrGdK.js";
1
+ import { r as runCli } from "./bindings-DTOgpISZ.js";
2
+ import { r as resolvePlugins } from "./apis-Ddb0m55g.js";
3
3
  import Tinypool from "tinypool";
4
4
 
5
5
  //#region src-js/cli/worker-proxy.ts
@@ -9,7 +9,8 @@ async function initExternalFormatter(numThreads) {
9
9
  filename: new URL("./cli-worker.js", import.meta.url).href,
10
10
  minThreads: numThreads,
11
11
  maxThreads: numThreads,
12
- runtime: "child_process"
12
+ runtime: "child_process",
13
+ env: process.env
13
14
  });
14
15
  return resolvePlugins();
15
16
  }
@@ -47,7 +48,7 @@ async function sortTailwindClasses(options, classes) {
47
48
  return;
48
49
  }
49
50
  if (mode === "migrate:prettier") {
50
- await import("./migrate-prettier-CRIoVxnG.js").then((m) => m.runMigratePrettier());
51
+ await import("./migrate-prettier-CPi8N90o.js").then((m) => m.runMigratePrettier());
51
52
  return;
52
53
  }
53
54
  if (mode === "migrate:biome") {