appos 0.1.8-0 → 0.1.9-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/build/exports/ui/index.d.ts +300 -300
- package/build/main.js +2 -8
- package/package.json +1 -1
package/build/main.js
CHANGED
|
@@ -380780,13 +380780,7 @@ async function defineI18n(opts) {
|
|
|
380780
380780
|
var import_pino = __toESM(require_pino(), 1);
|
|
380781
380781
|
var import_pino_pretty = __toESM(require_pino_pretty(), 1);
|
|
380782
380782
|
async function defineLogger(opts) {
|
|
380783
|
-
const transports = [
|
|
380784
|
-
...process.env.NODE_ENV !== "production" ? [
|
|
380785
|
-
{
|
|
380786
|
-
target: "pino-pretty"
|
|
380787
|
-
}
|
|
380788
|
-
] : []
|
|
380789
|
-
];
|
|
380783
|
+
const transports = [];
|
|
380790
380784
|
const commonOpts = {
|
|
380791
380785
|
level: opts.level || "info",
|
|
380792
380786
|
redact: opts.redact || [],
|
|
@@ -380795,7 +380789,7 @@ async function defineLogger(opts) {
|
|
|
380795
380789
|
}
|
|
380796
380790
|
};
|
|
380797
380791
|
try {
|
|
380798
|
-
return import_pino.default(commonOpts);
|
|
380792
|
+
return import_pino.default(commonOpts, process.env.NODE_ENV !== "production" && !process.env.VITEST ? import_pino_pretty.default() : undefined);
|
|
380799
380793
|
} catch (_5) {
|
|
380800
380794
|
return import_pino.default(commonOpts);
|
|
380801
380795
|
}
|