oxfmt 0.56.0 → 0.58.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/dist/{acorn-LGWopQvF.js → acorn-CZllRq2x.js} +1893 -1803
- package/dist/{angular-BbAuvH72.js → angular-CsoDKqo4.js} +1587 -995
- package/dist/{apis-C2fbFQF2.js → apis-DLO0lBDu.js} +4 -4
- package/dist/babel-DZD6u90w.js +9896 -0
- package/dist/{bindings-Ab6hoO7p.js → bindings-DTiEua0g.js} +26 -26
- package/dist/{chunk-DSjvVL_1-DaTvESxp.js → chunk-DSjvVL_1-DX2STy_I.js} +1 -1
- package/dist/cli-worker.d.ts +5 -5
- package/dist/cli-worker.js +1 -1
- package/dist/cli.js +3 -2
- package/dist/{dist-BMp5jzRv.js → dist-YOS4M6hk.js} +17 -17
- package/dist/estree-ChnhgzGg.js +7885 -0
- package/dist/flow-C6LkWPPl.js +9149 -0
- package/dist/{glimmer-Ba_8Z2bG.js → glimmer-YnkKK2a7.js} +204 -187
- package/dist/{graphql-CZ7EPWgo.js → graphql-BNiwkZTo.js} +905 -820
- package/dist/{html-DblM11Xw.js → html-DMHXIbrM.js} +1416 -1305
- package/dist/index.js +3 -3
- package/dist/{jiti-Bb1dT6Cw-DWQc1k7j.js → jiti-Bb1dT6Cw-B61jQmj-.js} +2 -2
- package/dist/markdown-BjyDFyaO.js +14010 -0
- package/dist/{meriyah-DafjRZfO.js → meriyah-zDNCk2o1.js} +1501 -1429
- package/dist/{migrate-prettier-DrYAkU3F.js → migrate-prettier-BmSsy164.js} +49 -42
- package/dist/{plugin-CYEM2898.js → plugin-B4cguZ1l.js} +16 -12
- package/dist/{postcss-CkhtwsAS.js → postcss-CwPwODg8.js} +2153 -2002
- package/dist/{prettier-DKAx5A83.js → prettier-BByt4AhK.js} +5674 -5038
- package/dist/{sorter-BZkvDMjt-c-GMCzH3.js → sorter-BZkvDMjt-B8ihSEiX.js} +7 -7
- package/dist/{sorter-DK1aMCjs.js → sorter-BcGkkjyR.js} +1 -1
- package/dist/{typescript-DaxiA0nr.js → typescript-Bq_S3kyC.js} +10499 -10252
- package/dist/{v3-D-mr2VVh-7G9Y2N0Q.js → v3-D-mr2VVh-p01OHBjH.js} +4 -4
- package/dist/{v4-C-HWEQJm-DKnDZXAs.js → v4-C-HWEQJm-BbuYNtSW.js} +4 -4
- package/dist/yaml-DlyuuZmC.js +6121 -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
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as sortTailwindClasses, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-
|
|
1
|
+
import { i as sortTailwindClasses, n as formatEmbeddedDoc, r as formatFile, t as formatEmbeddedCode } from "./apis-DLO0lBDu.js";
|
|
2
2
|
import { n as toNullable, t as toFormatFileResult } from "./napi-callbacks-Sb-usWTs.js";
|
|
3
3
|
//#region src-js/index.ts
|
|
4
4
|
/**
|
|
@@ -14,7 +14,7 @@ let BINDINGS_CACHE = null;
|
|
|
14
14
|
async function format(fileName, sourceText, options) {
|
|
15
15
|
if (typeof fileName !== "string") throw new TypeError("`fileName` must be a string");
|
|
16
16
|
if (typeof sourceText !== "string") throw new TypeError("`sourceText` must be a string");
|
|
17
|
-
BINDINGS_CACHE ??= await import("./bindings-
|
|
17
|
+
BINDINGS_CACHE ??= await import("./bindings-DTiEua0g.js").then((n) => n.t);
|
|
18
18
|
return BINDINGS_CACHE.format(fileName, sourceText, options ?? {}, (options, code) => toFormatFileResult(formatFile({
|
|
19
19
|
options,
|
|
20
20
|
code
|
|
@@ -33,7 +33,7 @@ async function format(fileName, sourceText, options) {
|
|
|
33
33
|
* Format a JS/TS snippet for Prettier `textToDoc()` plugin flow.
|
|
34
34
|
*/
|
|
35
35
|
async function jsTextToDoc(sourceExt, sourceText, oxfmtPluginOptionsJson, parentContext) {
|
|
36
|
-
BINDINGS_CACHE ??= await import("./bindings-
|
|
36
|
+
BINDINGS_CACHE ??= await import("./bindings-DTiEua0g.js").then((n) => n.t);
|
|
37
37
|
return BINDINGS_CACHE.jsTextToDoc(sourceExt, sourceText, oxfmtPluginOptionsJson, parentContext, () => toFormatFileResult(Promise.reject("formatFile is unavailable for jsTextToDoc")), (options, code) => toNullable(formatEmbeddedCode({
|
|
38
38
|
options,
|
|
39
39
|
code
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __toESM, i as __require, t as __commonJSMin } from "./chunk-DSjvVL_1-
|
|
1
|
+
import { a as __toESM, i as __require, t as __commonJSMin } from "./chunk-DSjvVL_1-DX2STy_I.js";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
//#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.
|
|
3
|
+
//#region ../../node_modules/.pnpm/prettier-plugin-tailwindcss@0.0.0-insiders.2b6f3c2_prettier-plugin-svelte@4.1.1_prettie_3df15310ed5f784eec0c3143d98cee10/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) {
|