@rocicorp/zero 0.21.2025052600 → 0.21.2025052900
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/out/ast-to-zql/src/format.d.ts.map +1 -1
- package/out/ast-to-zql/src/format.js +1 -8
- package/out/ast-to-zql/src/format.js.map +1 -1
- package/out/{chunk-X7AUUQ3J.js → chunk-AYXJ7KBG.js} +2 -2
- package/out/solid.js +1 -1
- package/out/zero.js +1 -1
- package/package.json +1 -1
- /package/out/{chunk-X7AUUQ3J.js.map → chunk-AYXJ7KBG.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../ast-to-zql/src/format.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../ast-to-zql/src/format.ts"],"names":[],"mappings":"AAEA,wBAAsB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAWnE"}
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { format, resolveConfig } from 'prettier';
|
|
1
|
+
import { format } from 'prettier';
|
|
3
2
|
export async function formatOutput(content) {
|
|
4
3
|
try {
|
|
5
|
-
// Resolve prettier config from current working directory. If the config
|
|
6
|
-
// file is in the cwd prettier fails to find it so we unconditionally add
|
|
7
|
-
// one more path component. This is because prettier uses the path of the
|
|
8
|
-
// file being formatted to find the config file.
|
|
9
|
-
const options = (await resolveConfig(path.join(process.cwd(), 'z'))) ?? {};
|
|
10
4
|
return await format(content, {
|
|
11
|
-
...options,
|
|
12
5
|
parser: 'typescript',
|
|
13
6
|
semi: false,
|
|
14
7
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.js","sourceRoot":"","sources":["../../../../ast-to-zql/src/format.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"format.js","sourceRoot":"","sources":["../../../../ast-to-zql/src/format.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAEhC,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC,OAAe;IAChD,IAAI,CAAC;QACH,OAAO,MAAM,MAAM,CAAC,OAAO,EAAE;YAC3B,MAAM,EAAE,YAAY;YACpB,IAAI,EAAE,KAAK;SACZ,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,sCAAsC;QACtC,OAAO,CAAC,IAAI,CAAC,iDAAiD,EAAE,KAAK,CAAC,CAAC;QACvE,OAAO,OAAO,CAAC;IACjB,CAAC;AACH,CAAC"}
|
|
@@ -8537,7 +8537,7 @@ function makeMessage(message, context, logLevel) {
|
|
|
8537
8537
|
}
|
|
8538
8538
|
|
|
8539
8539
|
// ../zero-client/src/client/version.ts
|
|
8540
|
-
var version2 = "0.21.
|
|
8540
|
+
var version2 = "0.21.2025052900";
|
|
8541
8541
|
|
|
8542
8542
|
// ../zero-client/src/client/log-options.ts
|
|
8543
8543
|
var LevelFilterLogSink = class {
|
|
@@ -11145,4 +11145,4 @@ export {
|
|
|
11145
11145
|
update_needed_reason_type_enum_exports,
|
|
11146
11146
|
Zero
|
|
11147
11147
|
};
|
|
11148
|
-
//# sourceMappingURL=chunk-
|
|
11148
|
+
//# sourceMappingURL=chunk-AYXJ7KBG.js.map
|
package/out/solid.js
CHANGED
package/out/zero.js
CHANGED
package/package.json
CHANGED
|
File without changes
|