oxfmt 0.57.0 → 0.59.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.
- package/configuration_schema.json +3 -3
- package/dist/{acorn-LGWopQvF.js → acorn-Dxp-n4ed.js} +1984 -1801
- package/dist/{angular-BbAuvH72.js → angular-Clx-wbm6.js} +1750 -995
- package/dist/{apis-CvFX8LhR.js → apis-D299uPBa.js} +4 -4
- package/dist/babel-7tfAjQas.js +10005 -0
- package/dist/{bindings-Cj_GMsoO.js → bindings-CjOHPMBU.js} +26 -26
- package/dist/{chunk-DSjvVL_1-DllBg9tc.js → chunk-DSjvVL_1-Do0Iorfu.js} +1 -1
- package/dist/cli-worker.d.ts +21 -27
- package/dist/cli-worker.js +1 -1
- package/dist/cli.js +3 -2
- package/dist/{dist-BKyxiMdj.js → dist-Byfj_1s9.js} +17 -17
- package/dist/estree-CyQu6pff.js +8006 -0
- package/dist/flow-BH5imzwC.js +9164 -0
- package/dist/{glimmer-Ba_8Z2bG.js → glimmer-B5hfTXAX.js} +295 -213
- package/dist/{graphql-CZ7EPWgo.js → graphql-DQB_nHt9.js} +968 -818
- package/dist/{html-DblM11Xw.js → html--849eFzc.js} +1531 -1318
- package/dist/index.d.ts +7 -3
- package/dist/index.js +3 -3
- package/dist/{jiti-Bb1dT6Cw-0c6As3U-.js → jiti-Bb1dT6Cw-cY1yrK9n.js} +2 -2
- package/dist/markdown-B1lBrqaF.js +14043 -0
- package/dist/{meriyah-DafjRZfO.js → meriyah-B5wbO5kj.js} +1568 -1445
- package/dist/{migrate-prettier-DrYAkU3F.js → migrate-prettier-CbxtU9AG.js} +49 -42
- package/dist/{plugin-BuVceHGR.js → plugin-D1B0s0iv.js} +16 -12
- package/dist/{postcss-CkhtwsAS.js → postcss-DuOoF7OX.js} +2243 -2013
- package/dist/{prettier-DKAx5A83.js → prettier-CEZwFZsY.js} +5673 -5038
- package/dist/{sorter-BZkvDMjt-C8qUPUh2.js → sorter-BZkvDMjt-DFTeIPU-.js} +7 -7
- package/dist/{sorter-DSVZH4kF.js → sorter-Cm0Z2eGI.js} +1 -1
- package/dist/{typescript-DaxiA0nr.js → typescript-Cvdwz3-D.js} +10574 -10254
- package/dist/{v3-D-mr2VVh-Ch8a-2Ce.js → v3-D-mr2VVh-C_WUxELf.js} +6 -5
- package/dist/{v4-C-HWEQJm-DheWK34Z.js → v4-C-HWEQJm-C0ut0NwJ.js} +108 -30
- package/dist/yaml-Dd4aShtG.js +6210 -0
- package/package.json +20 -20
- package/dist/babel-DLjwvkt5.js +0 -9884
- package/dist/estree-DbmUPhmV.js +0 -7269
- package/dist/flow-CJbpv7JL.js +0 -52916
- package/dist/markdown-B5hFVJKQ.js +0 -6880
- package/dist/yaml-BC7gw7un.js +0 -5280
|
@@ -13,7 +13,7 @@ async function loadCached(key, loader) {
|
|
|
13
13
|
}
|
|
14
14
|
async function loadPrettier() {
|
|
15
15
|
return loadCached("prettier", async () => {
|
|
16
|
-
const prettier = await import("./prettier-
|
|
16
|
+
const prettier = await import("./prettier-CEZwFZsY.js");
|
|
17
17
|
const { formatOptionsHiddenDefaults } = prettier.__internal;
|
|
18
18
|
formatOptionsHiddenDefaults.parentParser = null;
|
|
19
19
|
formatOptionsHiddenDefaults.__onHtmlRoot = null;
|
|
@@ -84,7 +84,7 @@ async function formatEmbeddedDoc({ texts, options }) {
|
|
|
84
84
|
* Option mapping (sortTailwindcss.xxx → tailwindXxx) is also done in Rust side.
|
|
85
85
|
*/
|
|
86
86
|
async function setupTailwindPlugin(options) {
|
|
87
|
-
CACHES.tailwindPlugin ??= await loadCached("tailwindPlugin", () => import("./dist-
|
|
87
|
+
CACHES.tailwindPlugin ??= await loadCached("tailwindPlugin", () => import("./dist-Byfj_1s9.js"));
|
|
88
88
|
options.plugins ??= [];
|
|
89
89
|
options.plugins.push(CACHES.tailwindPlugin);
|
|
90
90
|
}
|
|
@@ -94,7 +94,7 @@ async function setupTailwindPlugin(options) {
|
|
|
94
94
|
* @returns Array of sorted class strings (same order/length as input)
|
|
95
95
|
*/
|
|
96
96
|
async function sortTailwindClasses({ classes, options }) {
|
|
97
|
-
CACHES.tailwindSorter ??= await loadCached("tailwindSorter", () => import("./sorter-
|
|
97
|
+
CACHES.tailwindSorter ??= await loadCached("tailwindSorter", () => import("./sorter-Cm0Z2eGI.js"));
|
|
98
98
|
const { createSorter } = CACHES.tailwindSorter;
|
|
99
99
|
return (await createSorter({
|
|
100
100
|
filepath: options.filepath,
|
|
@@ -108,7 +108,7 @@ async function sortTailwindClasses({ classes, options }) {
|
|
|
108
108
|
* Load prettier-plugin-svelte to provide the `svelte` parser.
|
|
109
109
|
*/
|
|
110
110
|
async function setupSveltePlugin(options) {
|
|
111
|
-
CACHES.sveltePlugin ??= await loadCached("sveltePlugin", async () => await import("./plugin-
|
|
111
|
+
CACHES.sveltePlugin ??= await loadCached("sveltePlugin", async () => await import("./plugin-D1B0s0iv.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)));
|
|
112
112
|
options.plugins ??= [];
|
|
113
113
|
options.plugins.push(CACHES.sveltePlugin);
|
|
114
114
|
}
|