@visulima/pail 4.0.0-alpha.14 → 4.0.0-alpha.15

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## @visulima/pail [4.0.0-alpha.15](https://github.com/visulima/visulima/compare/@visulima/pail@4.0.0-alpha.14...@visulima/pail@4.0.0-alpha.15) (2026-05-07)
2
+
3
+
4
+ ### Dependencies
5
+
6
+ * **@visulima/error:** upgraded to 6.0.0-alpha.19
7
+ * **@visulima/redact:** upgraded to 3.0.0-alpha.11
8
+ * **@visulima/string:** upgraded to 3.0.0-alpha.12
9
+
1
10
  ## @visulima/pail [4.0.0-alpha.14](https://github.com/visulima/visulima/compare/@visulima/pail@4.0.0-alpha.13...@visulima/pail@4.0.0-alpha.14) (2026-05-06)
2
11
 
3
12
 
@@ -1,7 +1,7 @@
1
- import { W as WideEvent } from "../packem_shared/wide-event.d-DA-6dTPc.js";
2
- import { P as PailMiddlewareOptions } from "../packem_shared/create-middleware-logger.d-CMQdVeVE.js";
1
+ import { W as WideEvent } from "../packem_shared/wide-event.d-B-t8ZnhI.js";
2
+ import { P as PailMiddlewareOptions } from "../packem_shared/create-middleware-logger.d-DheMh8q4.js";
3
3
  import 'safe-stable-stringify';
4
- import "../packem_shared/types.d-Ck_RSjLg.js";
4
+ import "../packem_shared/types.d-BeLumqgD.js";
5
5
  import '@visulima/colorize';
6
6
  import '@visulima/interactive-manager';
7
7
  /**
@@ -1,7 +1,7 @@
1
- import { W as WideEvent } from "../packem_shared/wide-event.d-DA-6dTPc.js";
2
- import { P as PailMiddlewareOptions } from "../packem_shared/create-middleware-logger.d-CMQdVeVE.js";
1
+ import { W as WideEvent } from "../packem_shared/wide-event.d-B-t8ZnhI.js";
2
+ import { P as PailMiddlewareOptions } from "../packem_shared/create-middleware-logger.d-DheMh8q4.js";
3
3
  import 'safe-stable-stringify';
4
- import "../packem_shared/types.d-Ck_RSjLg.js";
4
+ import "../packem_shared/types.d-BeLumqgD.js";
5
5
  import '@visulima/colorize';
6
6
  import '@visulima/interactive-manager';
7
7
  /**
@@ -1,7 +1,7 @@
1
- import { W as WideEvent } from "../packem_shared/wide-event.d-DA-6dTPc.js";
2
- import { P as PailMiddlewareOptions } from "../packem_shared/create-middleware-logger.d-CMQdVeVE.js";
1
+ import { W as WideEvent } from "../packem_shared/wide-event.d-B-t8ZnhI.js";
2
+ import { P as PailMiddlewareOptions } from "../packem_shared/create-middleware-logger.d-DheMh8q4.js";
3
3
  import 'safe-stable-stringify';
4
- import "../packem_shared/types.d-Ck_RSjLg.js";
4
+ import "../packem_shared/types.d-BeLumqgD.js";
5
5
  import '@visulima/colorize';
6
6
  import '@visulima/interactive-manager';
7
7
  /**
@@ -1,7 +1,7 @@
1
- import { W as WideEvent } from "../packem_shared/wide-event.d-DA-6dTPc.js";
2
- import { P as PailMiddlewareOptions } from "../packem_shared/create-middleware-logger.d-CMQdVeVE.js";
1
+ import { W as WideEvent } from "../packem_shared/wide-event.d-B-t8ZnhI.js";
2
+ import { P as PailMiddlewareOptions } from "../packem_shared/create-middleware-logger.d-DheMh8q4.js";
3
3
  import 'safe-stable-stringify';
4
- import "../packem_shared/types.d-Ck_RSjLg.js";
4
+ import "../packem_shared/types.d-BeLumqgD.js";
5
5
  import '@visulima/colorize';
6
6
  import '@visulima/interactive-manager';
7
7
  /**
@@ -1,7 +1,7 @@
1
- import { P as PailMiddlewareOptions } from "../../packem_shared/create-middleware-logger.d-CMQdVeVE.js";
2
- import { W as WideEvent } from "../../packem_shared/wide-event.d-DA-6dTPc.js";
1
+ import { P as PailMiddlewareOptions } from "../../packem_shared/create-middleware-logger.d-DheMh8q4.js";
2
+ import { W as WideEvent } from "../../packem_shared/wide-event.d-B-t8ZnhI.js";
3
3
  import 'node:async_hooks';
4
- import "../../packem_shared/types.d-Ck_RSjLg.js";
4
+ import "../../packem_shared/types.d-BeLumqgD.js";
5
5
  import '@visulima/colorize';
6
6
  import '@visulima/interactive-manager';
7
7
  import 'safe-stable-stringify';
@@ -1,7 +1,7 @@
1
- import { W as WideEvent } from "../packem_shared/wide-event.d-DA-6dTPc.js";
2
- import { P as PailMiddlewareOptions } from "../packem_shared/create-middleware-logger.d-CMQdVeVE.js";
1
+ import { W as WideEvent } from "../packem_shared/wide-event.d-B-t8ZnhI.js";
2
+ import { P as PailMiddlewareOptions } from "../packem_shared/create-middleware-logger.d-DheMh8q4.js";
3
3
  import 'safe-stable-stringify';
4
- import "../packem_shared/types.d-Ck_RSjLg.js";
4
+ import "../packem_shared/types.d-BeLumqgD.js";
5
5
  import '@visulima/colorize';
6
6
  import '@visulima/interactive-manager';
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import { stringify } from 'safe-stable-stringify';
2
- import { R as ReadonlyMeta, E as ExtendedRfc5424LogLevels, L as LiteralUnion, a as StringifyAwareReporter } from "./types.d-Ck_RSjLg.js";
2
+ import { R as ReadonlyMeta, E as ExtendedRfc5424LogLevels, L as LiteralUnion, S as StringifyAwareReporter } from "./types.d-BeLumqgD.js";
3
3
  /**
4
4
  * Options for configuring JSON reporters.
5
5
  */
@@ -1,5 +1,5 @@
1
- import { P as PailBrowserImpl } from "./wide-event.d-DA-6dTPc.js";
2
- import { D as DefaultLogTypes, e as LoggerFunction } from "./types.d-Ck_RSjLg.js";
1
+ import { P as PailBrowserImpl } from "./wide-event.d-B-t8ZnhI.js";
2
+ import { D as DefaultLogTypes, e as LoggerFunction } from "./types.d-BeLumqgD.js";
3
3
  /**
4
4
  * Route configuration for a specific path pattern.
5
5
  */
@@ -243,4 +243,4 @@ type Message = {
243
243
  prefix?: string;
244
244
  suffix?: string;
245
245
  };
246
- export { ConstructorOptions as C, DefaultLogTypes as D, ExtendedRfc5424LogLevels as E, InteractiveStreamReporter as I, LiteralUnion as L, Meta as M, Processor as P, ReadonlyMeta as R, StreamAwareReporter as S, StringifyAwareReporter as a, StringifyAwareProcessor as b, LoggerTypesConfig as c, Reporter as d, LoggerFunction as e, LoggerTypesAwareReporter as f };
246
+ export { ConstructorOptions as C, DefaultLogTypes as D, ExtendedRfc5424LogLevels as E, InteractiveStreamReporter as I, LiteralUnion as L, Meta as M, Processor as P, ReadonlyMeta as R, StringifyAwareReporter as S, StreamAwareReporter as a, StringifyAwareProcessor as b, LoggerTypesConfig as c, Reporter as d, LoggerFunction as e, LoggerTypesAwareReporter as f };
@@ -1,5 +1,5 @@
1
1
  import { stringify } from 'safe-stable-stringify';
2
- import { M as Meta, D as DefaultLogTypes, L as LiteralUnion, c as LoggerTypesConfig, P as Processor, E as ExtendedRfc5424LogLevels, d as Reporter, e as LoggerFunction, C as ConstructorOptions } from "./types.d-Ck_RSjLg.js";
2
+ import { M as Meta, D as DefaultLogTypes, L as LiteralUnion, c as LoggerTypesConfig, P as Processor, E as ExtendedRfc5424LogLevels, d as Reporter, e as LoggerFunction, C as ConstructorOptions } from "./types.d-BeLumqgD.js";
3
3
  /**
4
4
  * Pail Browser Implementation.
5
5
  *
@@ -1,4 +1,4 @@
1
- import { M as Meta, P as Processor } from "../../packem_shared/types.d-Ck_RSjLg.js";
1
+ import { M as Meta, P as Processor } from "../../packem_shared/types.d-BeLumqgD.js";
2
2
  import '@visulima/colorize';
3
3
  import '@visulima/interactive-manager';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { M as Meta, P as Processor } from "../packem_shared/types.d-Ck_RSjLg.js";
1
+ import { M as Meta, P as Processor } from "../packem_shared/types.d-BeLumqgD.js";
2
2
  import '@visulima/colorize';
3
3
  import '@visulima/interactive-manager';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { M as Meta, b as StringifyAwareProcessor } from "../packem_shared/types.d-Ck_RSjLg.js";
1
+ import { M as Meta, b as StringifyAwareProcessor } from "../packem_shared/types.d-BeLumqgD.js";
2
2
  import '@visulima/colorize';
3
3
  import '@visulima/interactive-manager';
4
4
  type FormatterFunction = (argument: any) => string;
@@ -1,4 +1,4 @@
1
- import { M as Meta, P as Processor } from "../packem_shared/types.d-Ck_RSjLg.js";
1
+ import { M as Meta, P as Processor } from "../packem_shared/types.d-BeLumqgD.js";
2
2
  import '@visulima/colorize';
3
3
  import '@visulima/interactive-manager';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { M as Meta, P as Processor } from "../packem_shared/types.d-Ck_RSjLg.js";
1
+ import { M as Meta, P as Processor } from "../packem_shared/types.d-BeLumqgD.js";
2
2
  import '@visulima/colorize';
3
3
  import '@visulima/interactive-manager';
4
4
  type StringAnonymize = {
@@ -1,4 +1,4 @@
1
- import { M as Meta, P as Processor } from "../packem_shared/types.d-Ck_RSjLg.js";
1
+ import { M as Meta, P as Processor } from "../packem_shared/types.d-BeLumqgD.js";
2
2
  import '@visulima/colorize';
3
3
  import '@visulima/interactive-manager';
4
4
  /**
@@ -1,7 +1,7 @@
1
1
  import { Options } from 'rotating-file-stream';
2
- import { A as AbstractJsonReporterOptions, a as AbstractJsonReporter } from "../../packem_shared/abstract-json-reporter.d-Boj5w068.js";
2
+ import { A as AbstractJsonReporterOptions, a as AbstractJsonReporter } from "../../packem_shared/abstract-json-reporter.d-BAgznjyU.js";
3
3
  import 'safe-stable-stringify';
4
- import "../../packem_shared/types.d-Ck_RSjLg.js";
4
+ import "../../packem_shared/types.d-BeLumqgD.js";
5
5
  import '@visulima/colorize';
6
6
  import '@visulima/interactive-manager';
7
7
  /**
@@ -1,5 +1,5 @@
1
- import { E as ExtendedRfc5424LogLevels, L as LiteralUnion, a as StringifyAwareReporter } from "../../packem_shared/types.d-Ck_RSjLg.js";
2
- import { A as AbstractJsonReporterOptions, a as AbstractJsonReporter } from "../../packem_shared/abstract-json-reporter.d-Boj5w068.js";
1
+ import { E as ExtendedRfc5424LogLevels, L as LiteralUnion, S as StringifyAwareReporter } from "../../packem_shared/types.d-BeLumqgD.js";
2
+ import { A as AbstractJsonReporterOptions, a as AbstractJsonReporter } from "../../packem_shared/abstract-json-reporter.d-BAgznjyU.js";
3
3
  import '@visulima/colorize';
4
4
  import '@visulima/interactive-manager';
5
5
  import 'safe-stable-stringify';
@@ -1,8 +1,8 @@
1
1
  import { AbstractHttpReporterOptions, AbstractHttpReporter } from "./abstract-http-reporter.js";
2
- import "../../packem_shared/types.d-Ck_RSjLg.js";
2
+ import "../../packem_shared/types.d-BeLumqgD.js";
3
3
  import '@visulima/colorize';
4
4
  import '@visulima/interactive-manager';
5
- import "../../packem_shared/abstract-json-reporter.d-Boj5w068.js";
5
+ import "../../packem_shared/abstract-json-reporter.d-BAgznjyU.js";
6
6
  import 'safe-stable-stringify';
7
7
  /**
8
8
  * HTTP Reporter.
@@ -1,5 +1,5 @@
1
- import { A as AbstractJsonReporterOptions, a as AbstractJsonReporter } from "../../packem_shared/abstract-json-reporter.d-Boj5w068.js";
2
- import { E as ExtendedRfc5424LogLevels, L as LiteralUnion, S as StreamAwareReporter } from "../../packem_shared/types.d-Ck_RSjLg.js";
1
+ import { A as AbstractJsonReporterOptions, a as AbstractJsonReporter } from "../../packem_shared/abstract-json-reporter.d-BAgznjyU.js";
2
+ import { E as ExtendedRfc5424LogLevels, L as LiteralUnion, a as StreamAwareReporter } from "../../packem_shared/types.d-BeLumqgD.js";
3
3
  import 'safe-stable-stringify';
4
4
  import '@visulima/colorize';
5
5
  import '@visulima/interactive-manager';
@@ -1,40 +1,7 @@
1
+ import { RenderErrorOptions } from '@visulima/error/error';
1
2
  import { InteractiveManager } from '@visulima/interactive-manager';
2
- import { D as DefaultLogTypes, L as LiteralUnion$1, c as LoggerTypesConfig, R as ReadonlyMeta, f as LoggerTypesAwareReporter, E as ExtendedRfc5424LogLevels, I as InteractiveStreamReporter } from "../../packem_shared/types.d-Ck_RSjLg.js";
3
+ import { D as DefaultLogTypes, L as LiteralUnion$1, c as LoggerTypesConfig, R as ReadonlyMeta, f as LoggerTypesAwareReporter, E as ExtendedRfc5424LogLevels, I as InteractiveStreamReporter } from "../../packem_shared/types.d-BeLumqgD.js";
3
4
  import '@visulima/colorize';
4
- type ColorizeMethod = (value: string) => string;
5
- type CodeFrameOptions = {
6
- color?: {
7
- gutter?: ColorizeMethod;
8
- marker?: ColorizeMethod;
9
- message?: ColorizeMethod;
10
- };
11
- linesAbove?: number;
12
- linesBelow?: number;
13
- message?: string;
14
- prefix?: string;
15
- showGutter?: boolean;
16
- showLineNumbers?: boolean;
17
- tabWidth?: number | false;
18
- };
19
- type Options$1 = Omit<CodeFrameOptions, "message | prefix"> & {
20
- color: CodeFrameOptions["color"] & {
21
- fileLine: ColorizeMethod;
22
- hint: ColorizeMethod;
23
- method: ColorizeMethod;
24
- title: ColorizeMethod;
25
- };
26
- cwd: string;
27
- displayShortPath: boolean;
28
- filterStacktrace: ((line: string) => boolean) | undefined;
29
- framesMaxLimit: number;
30
- hideErrorCauseCodeView: boolean;
31
- hideErrorCodeView: boolean;
32
- hideErrorErrorsCodeView: boolean;
33
- hideErrorTitle: boolean;
34
- hideMessage: boolean;
35
- indentation: number | " ";
36
- prefix: string;
37
- };
38
5
  /**
39
6
  Matches any [primitive value](https://developer.mozilla.org/en-US/docs/Glossary/Primitive).
40
7
 
@@ -158,7 +125,7 @@ type PrettyStyleOptions = {
158
125
  */
159
126
  type PrettyReporterOptions = PrettyStyleOptions & {
160
127
  /** Error rendering options */
161
- error: Partial<Omit<Options$1, "color" | "prefix" | "indentation">>;
128
+ error: Partial<Omit<RenderErrorOptions, "color" | "prefix" | "indentation">>;
162
129
  /** Object inspection options */
163
130
  inspect: Partial<Options>;
164
131
  };
@@ -1,5 +1,5 @@
1
- export { R as RequestLogEntry, S as SerializedError, W as WideEvent, a as WideEventFinishOptions, b as WideEventLevel, c as WideEventOptions, d as createWideEvent } from "./packem_shared/wide-event.d-DA-6dTPc.js";
2
- import "./packem_shared/types.d-Ck_RSjLg.js";
1
+ export { R as RequestLogEntry, S as SerializedError, W as WideEvent, a as WideEventFinishOptions, b as WideEventLevel, c as WideEventOptions, d as createWideEvent } from "./packem_shared/wide-event.d-B-t8ZnhI.js";
2
+ import "./packem_shared/types.d-BeLumqgD.js";
3
3
  import 'safe-stable-stringify';
4
4
  import '@visulima/colorize';
5
5
  import '@visulima/interactive-manager';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/pail",
3
- "version": "4.0.0-alpha.14",
3
+ "version": "4.0.0-alpha.15",
4
4
  "description": "Highly configurable Logger for Node.js, Edge and Browser.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -244,9 +244,9 @@
244
244
  "@visulima/interactive-manager": "1.0.0-alpha.2"
245
245
  },
246
246
  "peerDependencies": {
247
- "@opentelemetry/api": "^1.9.0",
247
+ "@opentelemetry/api": "^1.9.1",
248
248
  "@sveltejs/kit": ">=2.0",
249
- "@visulima/redact": "3.0.0-alpha.10",
249
+ "@visulima/redact": "3.0.0-alpha.11",
250
250
  "elysia": ">=1.0",
251
251
  "express": ">=4.0",
252
252
  "fastify": ">=4.0",