oxfmt 0.54.0 → 0.56.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 (33) hide show
  1. package/configuration_schema.json +1 -1
  2. package/dist/{acorn-C-l7ouWN.js → acorn-LGWopQvF.js} +2 -2
  3. package/dist/{angular-4Mc0TmPv.js → angular-BbAuvH72.js} +16 -206
  4. package/dist/{apis-CngUzqDq.js → apis-C2fbFQF2.js} +5 -5
  5. package/dist/{babel-DjR61Wf3.js → babel-DLjwvkt5.js} +9 -9
  6. package/dist/{napi-callbacks-C8y3J_xb.js → bindings-Ab6hoO7p.js} +46 -64
  7. package/dist/{chunk-DSjvVL_1-BUO3FyMh.js → chunk-DSjvVL_1-DaTvESxp.js} +1 -1
  8. package/dist/cli-worker.d.ts +2 -2
  9. package/dist/cli-worker.js +1 -1
  10. package/dist/cli.js +4 -3
  11. package/dist/{dist-ZI7w_ao-.js → dist-BMp5jzRv.js} +15 -15
  12. package/dist/{estree-DHQPBKqf.js → estree-DbmUPhmV.js} +8 -8
  13. package/dist/{flow-Cz3mJAtC.js → flow-CJbpv7JL.js} +6 -6
  14. package/dist/{glimmer-ubhL-0tG.js → glimmer-Ba_8Z2bG.js} +6 -6
  15. package/dist/{graphql-Cl0TIiHU.js → graphql-CZ7EPWgo.js} +3 -3
  16. package/dist/{html-Cqnv8X__.js → html-DblM11Xw.js} +99 -99
  17. package/dist/index.js +7 -4
  18. package/dist/{jiti-Bb1dT6Cw-DPQUX1DC.js → jiti-Bb1dT6Cw-DWQc1k7j.js} +28 -28
  19. package/dist/{markdown-Eujfu-fQ.js → markdown-B5hFVJKQ.js} +9 -9
  20. package/dist/{meriyah-DESRG6oe.js → meriyah-DafjRZfO.js} +3 -3
  21. package/dist/{migrate-prettier-DWPaoKDl.js → migrate-prettier-DrYAkU3F.js} +1 -1
  22. package/dist/napi-callbacks-Sb-usWTs.js +30 -0
  23. package/dist/{plugin-CHUKsFCg.js → plugin-CYEM2898.js} +10 -10
  24. package/dist/{postcss-BFLfznNY.js → postcss-CkhtwsAS.js} +8 -8
  25. package/dist/{prettier-CttUn4xj.js → prettier-DKAx5A83.js} +28 -28
  26. package/dist/{chunk-CNf5ZN-e.js → rolldown-runtime-CE-6LUnI.js} +9 -2
  27. package/dist/{sorter-BZkvDMjt-DCuU-7CM.js → sorter-BZkvDMjt-c-GMCzH3.js} +10 -9
  28. package/dist/{sorter-CharfNIQ.js → sorter-DK1aMCjs.js} +1 -1
  29. package/dist/{typescript-lqJOqGcK.js → typescript-DaxiA0nr.js} +16 -16
  30. package/dist/{v3-D-mr2VVh-C7AdPwxy.js → v3-D-mr2VVh-7G9Y2N0Q.js} +22 -22
  31. package/dist/{v4-C-HWEQJm-CJKqx13d.js → v4-C-HWEQJm-DKnDZXAs.js} +12 -12
  32. package/dist/{yaml-BT3ntp8h.js → yaml-BC7gw7un.js} +6 -6
  33. package/package.json +20 -20
@@ -1,10 +1,10 @@
1
- import { r as __exportAll } from "./chunk-DSjvVL_1-BUO3FyMh.js";
2
- import { h as resolveJsFrom, m as resolveCssFrom } from "./sorter-BZkvDMjt-DCuU-7CM.js";
3
- import { t as createJiti } from "./jiti-Bb1dT6Cw-DPQUX1DC.js";
1
+ import { r as __exportAll } from "./chunk-DSjvVL_1-DaTvESxp.js";
2
+ import { h as resolveJsFrom, m as resolveCssFrom } from "./sorter-BZkvDMjt-c-GMCzH3.js";
3
+ import { t as createJiti } from "./jiti-Bb1dT6Cw-DWQc1k7j.js";
4
4
  import { pathToFileURL } from "node:url";
5
5
  import * as path from "node:path";
6
6
  import * as fs from "node:fs/promises";
7
- //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.0_prettie_e3345e2f5995e2d14d8ee5c58c9c043a/node_modules/prettier-plugin-tailwindcss/dist/v4-C-HWEQJm.mjs
7
+ //#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.1_prettie_38bf7b19300712455a0a76d31dd7693b/node_modules/prettier-plugin-tailwindcss/dist/v4-C-HWEQJm.mjs
8
8
  var l$1 = {
9
9
  inherit: "inherit",
10
10
  current: "currentcolor",
@@ -298,7 +298,7 @@ var l$1 = {
298
298
  950: "oklch(27.1% 0.105 12.094)"
299
299
  }
300
300
  };
301
- var _ = new Set([
301
+ var _ = /* @__PURE__ */ new Set([
302
302
  "black",
303
303
  "silver",
304
304
  "gray",
@@ -559,7 +559,7 @@ function oe(e) {
559
559
  }
560
560
  return t;
561
561
  }
562
- var E$1 = new Uint8Array(256);
562
+ var E$1 = /* @__PURE__ */ new Uint8Array(256);
563
563
  function d(e, t) {
564
564
  let r = 0, s = [], m = 0, n = e.length, a = t.charCodeAt(0);
565
565
  for (let i = 0; i < n; i++) {
@@ -2152,7 +2152,7 @@ function ye(t) {
2152
2152
  function Se(t) {
2153
2153
  return t.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g, (r) => r.length > 2 ? String.fromCodePoint(Number.parseInt(r.slice(1).trim(), 16)) : r[1]);
2154
2154
  }
2155
- var cr = new Map([
2155
+ var cr = /* @__PURE__ */ new Map([
2156
2156
  ["--font", ["--font-weight", "--font-size"]],
2157
2157
  ["--inset", ["--inset-shadow", "--inset-ring"]],
2158
2158
  ["--text", [
@@ -2921,7 +2921,7 @@ function Ot(t) {
2921
2921
  function on(t) {
2922
2922
  throw new Error(`Unexpected value: ${t}`);
2923
2923
  }
2924
- var Pt = new Uint8Array(256);
2924
+ var Pt = /* @__PURE__ */ new Uint8Array(256);
2925
2925
  function he(t) {
2926
2926
  let r = 0, i = t.length;
2927
2927
  for (let e = 0; e < i; e++) {
@@ -3364,7 +3364,7 @@ function Ve(t, r, i) {
3364
3364
  let e = t.indexOf("("), n = r.indexOf("("), s = e === -1 ? t.replace(/[\d.]+/g, "") : t.slice(0, e), a = n === -1 ? r.replace(/[\d.]+/g, "") : r.slice(0, n), p = (s === a ? 0 : s < a ? -1 : 1) || (i === "asc" ? parseInt(t) - parseInt(r) : parseInt(r) - parseInt(t));
3365
3365
  return Number.isNaN(p) ? t < r ? -1 : 1 : p;
3366
3366
  }
3367
- var dn = new Set([
3367
+ var dn = /* @__PURE__ */ new Set([
3368
3368
  "inset",
3369
3369
  "inherit",
3370
3370
  "initial",
@@ -4697,7 +4697,7 @@ function Dr(t) {
4697
4697
  "shorter",
4698
4698
  "increasing",
4699
4699
  "decreasing"
4700
- ], g = new Map([
4700
+ ], g = /* @__PURE__ */ new Map([
4701
4701
  ["to-t", "to top"],
4702
4702
  ["to-tr", "to top right"],
4703
4703
  ["to-r", "to right"],
@@ -7545,7 +7545,7 @@ function qn(t, r) {
7545
7545
  if (A === null ? A = U : A = si(A, U), A.size === 0) return A;
7546
7546
  }
7547
7547
  return A;
7548
- }), w = new K(($) => new Set([$]));
7548
+ }), w = new K(($) => /* @__PURE__ */ new Set([$]));
7549
7549
  for (let $ = 0; $ < c.length; $++) {
7550
7550
  let A = c[$];
7551
7551
  for (let k = $ + 1; k < c.length; k++) {
@@ -7899,7 +7899,7 @@ function fa(t, r) {
7899
7899
  }
7900
7900
  }
7901
7901
  }
7902
- var ca = new Map([["order-none", "order-0"], ["break-words", "wrap-break-word"]]);
7902
+ var ca = /* @__PURE__ */ new Map([["order-none", "order-0"], ["break-words", "wrap-break-word"]]);
7903
7903
  function pa(t, r) {
7904
7904
  let i = r.designSystem, e = i.storage[de].get(r.signatureOptions), n = oa(i, t), s = ca.get(n) ?? null;
7905
7905
  if (s === null) return t;
@@ -1,5 +1,5 @@
1
- import { n as __esmMin } from "./chunk-CNf5ZN-e.js";
2
- //#region ../../node_modules/.pnpm/prettier@3.8.3/node_modules/prettier/plugins/yaml.mjs
1
+ import { n as __esmMin } from "./rolldown-runtime-CE-6LUnI.js";
2
+ //#region ../../node_modules/.pnpm/prettier@3.8.4/node_modules/prettier/plugins/yaml.mjs
3
3
  function Ri(t) {
4
4
  return this[t < 0 ? this.length + t : t];
5
5
  }
@@ -4907,7 +4907,7 @@ ${o.commentBefore}` : i;
4907
4907
  if (typeof this == "string") return $i;
4908
4908
  });
4909
4909
  Bi = () => {}, je = Bi;
4910
- Qe = "string", Ge = "array", dt = "cursor", gt = "indent", Ae = "align", yt = "trim", Le = "group", Te = "fill", Ce = "if-break", Et = "indent-if-break", Me = "line-suffix", St = "line-suffix-boundary", re = "line", wt = "label", ke = "break-parent", bt = new Set([
4910
+ Qe = "string", Ge = "array", dt = "cursor", gt = "indent", Ae = "align", yt = "trim", Le = "group", Te = "fill", Ce = "if-break", Et = "indent-if-break", Me = "line-suffix", St = "line-suffix-boundary", re = "line", wt = "label", ke = "break-parent", bt = /* @__PURE__ */ new Set([
4911
4911
  dt,
4912
4912
  gt,
4913
4913
  Ae,
@@ -4959,7 +4959,7 @@ ${o.commentBefore}` : i;
4959
4959
  wr = (t) => Sr.test(t), br = (t) => Er.test(t), Nr = (t) => yr.test(t), Or = (t) => `# @${gr}
4960
4960
 
4961
4961
  ${t}`;
4962
- Ar.ignoredProperties = new Set(["position"]);
4962
+ Ar.ignoredProperties = /* @__PURE__ */ new Set(["position"]);
4963
4963
  Lr = Ar;
4964
4964
  Tr.getVisitorKeys = () => [];
4965
4965
  Cr = Tr;
@@ -5210,8 +5210,8 @@ ${t}`;
5210
5210
  }
5211
5211
  #n(e) {
5212
5212
  if (!Zn) {
5213
- let [o] = this.#e;
5214
- Zn = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(o)), "rangeAsLinePos").get;
5213
+ let [o] = this.#e, a = Object.getPrototypeOf(Object.getPrototypeOf(o));
5214
+ Zn = Object.getOwnPropertyDescriptor(a, "rangeAsLinePos").get;
5215
5215
  }
5216
5216
  if (this.#t ?? (this.#t = { root: { context: { src: this.text } } }), this.text === "" && e.origStart === 0 && e.origEnd === 0) return {
5217
5217
  start: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxfmt",
3
- "version": "0.54.0",
3
+ "version": "0.56.0",
4
4
  "description": "Formatter for the JavaScript Oxidation Compiler",
5
5
  "keywords": [
6
6
  "formatter",
@@ -86,24 +86,24 @@
86
86
  },
87
87
  "preferUnplugged": true,
88
88
  "optionalDependencies": {
89
- "@oxfmt/binding-darwin-arm64": "0.54.0",
90
- "@oxfmt/binding-android-arm64": "0.54.0",
91
- "@oxfmt/binding-win32-arm64-msvc": "0.54.0",
92
- "@oxfmt/binding-linux-arm64-gnu": "0.54.0",
93
- "@oxfmt/binding-linux-arm64-musl": "0.54.0",
94
- "@oxfmt/binding-openharmony-arm64": "0.54.0",
95
- "@oxfmt/binding-android-arm-eabi": "0.54.0",
96
- "@oxfmt/binding-linux-arm-gnueabihf": "0.54.0",
97
- "@oxfmt/binding-linux-arm-musleabihf": "0.54.0",
98
- "@oxfmt/binding-win32-ia32-msvc": "0.54.0",
99
- "@oxfmt/binding-linux-ppc64-gnu": "0.54.0",
100
- "@oxfmt/binding-linux-riscv64-gnu": "0.54.0",
101
- "@oxfmt/binding-linux-riscv64-musl": "0.54.0",
102
- "@oxfmt/binding-linux-s390x-gnu": "0.54.0",
103
- "@oxfmt/binding-darwin-x64": "0.54.0",
104
- "@oxfmt/binding-win32-x64-msvc": "0.54.0",
105
- "@oxfmt/binding-freebsd-x64": "0.54.0",
106
- "@oxfmt/binding-linux-x64-gnu": "0.54.0",
107
- "@oxfmt/binding-linux-x64-musl": "0.54.0"
89
+ "@oxfmt/binding-darwin-arm64": "0.56.0",
90
+ "@oxfmt/binding-android-arm64": "0.56.0",
91
+ "@oxfmt/binding-win32-arm64-msvc": "0.56.0",
92
+ "@oxfmt/binding-linux-arm64-gnu": "0.56.0",
93
+ "@oxfmt/binding-linux-arm64-musl": "0.56.0",
94
+ "@oxfmt/binding-openharmony-arm64": "0.56.0",
95
+ "@oxfmt/binding-android-arm-eabi": "0.56.0",
96
+ "@oxfmt/binding-linux-arm-gnueabihf": "0.56.0",
97
+ "@oxfmt/binding-linux-arm-musleabihf": "0.56.0",
98
+ "@oxfmt/binding-win32-ia32-msvc": "0.56.0",
99
+ "@oxfmt/binding-linux-ppc64-gnu": "0.56.0",
100
+ "@oxfmt/binding-linux-riscv64-gnu": "0.56.0",
101
+ "@oxfmt/binding-linux-riscv64-musl": "0.56.0",
102
+ "@oxfmt/binding-linux-s390x-gnu": "0.56.0",
103
+ "@oxfmt/binding-darwin-x64": "0.56.0",
104
+ "@oxfmt/binding-win32-x64-msvc": "0.56.0",
105
+ "@oxfmt/binding-freebsd-x64": "0.56.0",
106
+ "@oxfmt/binding-linux-x64-gnu": "0.56.0",
107
+ "@oxfmt/binding-linux-x64-musl": "0.56.0"
108
108
  }
109
109
  }