@visulima/pail 3.2.1 → 4.0.0-alpha.1

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.
Files changed (25) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +32 -24
  3. package/dist/index.browser.js +2 -2
  4. package/dist/index.server.js +4 -4
  5. package/dist/packem_shared/{AbstractJsonReporter-intFdT_A.js → AbstractJsonReporter-BaZ33PlE.js} +1 -1
  6. package/dist/packem_shared/{JsonReporter-DcM2LBX9.js → JsonReporter-BRw4skd5.js} +1 -1
  7. package/dist/packem_shared/{JsonReporter-C0AXk99i.js → JsonReporter-VzgyLEYz.js} +1 -1
  8. package/dist/packem_shared/{PrettyReporter-BFWaYP_J.js → PrettyReporter-DgZB2eBG.js} +3 -3
  9. package/dist/packem_shared/{PrettyReporter-CuLLKr6-.js → PrettyReporter-DySIXBjQ.js} +2 -2
  10. package/dist/packem_shared/{abstract-pretty-reporter-DMPDCslJ.js → abstract-pretty-reporter-Di_sdm2r.js} +1 -1
  11. package/dist/packem_shared/{constants-DfDr4MHC.js → constants-omsTHUWB.js} +1 -1
  12. package/dist/packem_shared/{format-label-Btft2KGP.js → format-label-De49vNPd.js} +4 -5
  13. package/dist/packem_shared/{pail.browser-CPjQrsyy.js → pail.browser-u2CSR_af.js} +1 -1
  14. package/dist/processor/message-formatter-processor.d.ts +2 -1
  15. package/dist/processor/message-formatter-processor.js +0 -1
  16. package/dist/reporter/file/json-file-reporter.js +1 -1
  17. package/dist/reporter/http/abstract-http-reporter.js +1 -1
  18. package/dist/reporter/http/http-reporter.edge-light.js +1 -1
  19. package/dist/reporter/json/index.browser.js +2 -2
  20. package/dist/reporter/json/index.js +2 -2
  21. package/dist/reporter/pretty/index.browser.js +1 -1
  22. package/dist/reporter/pretty/index.js +1 -1
  23. package/dist/reporter/simple/simple-reporter.server.js +3 -3
  24. package/dist/types.d.ts +1 -1
  25. package/package.json +6 -5
package/CHANGELOG.md CHANGED
@@ -1,3 +1,43 @@
1
+ ## @visulima/pail [4.0.0-alpha.1](https://github.com/visulima/visulima/compare/@visulima/pail@3.2.2...@visulima/pail@4.0.0-alpha.1) (2025-12-07)
2
+
3
+ ### ⚠ BREAKING CHANGES
4
+
5
+ * change min node version to 22.13
6
+
7
+ ### Bug Fixes
8
+
9
+ * add new package image, fixed readme rendering on npm, fixed building of packages ([b790ba2](https://github.com/visulima/visulima/commit/b790ba253ea07fef83528fd822a678facf021b5f))
10
+ * update Node.js engine version requirement to >=22.13 in multiple package.json files for improved compatibility ([b828e9a](https://github.com/visulima/visulima/commit/b828e9aeaebfc798eecddccd90e6ec7560c6d36a))
11
+
12
+ ### Miscellaneous Chores
13
+
14
+ * moved all packages into groups ([0615e9d](https://github.com/visulima/visulima/commit/0615e9d14a8a886e11da529ce150cf31ca973c10))
15
+ * update @anolilab/semantic-release-pnpm and @anolilab/semantic-release-preset to versions 3.2.2 and 12.1.2 across multiple package.json files for improved compatibility ([3921626](https://github.com/visulima/visulima/commit/3921626141fe5da398749bf0ba675f1596f18afb))
16
+ * update dependencies across multiple packages to improve compatibility and performance, including upgrading `@anolilab/semantic-release-pnpm` and `@anolilab/semantic-release-preset` to versions 3.2.0 and 12.1.0 respectively, and updating `react`, `react-dom`, and `next` versions to 19.2.1 and 16.0.7 in various package.json files ([aee8fcd](https://github.com/visulima/visulima/commit/aee8fcd796ae9b8d055903260e7150996ea9f53d))
17
+
18
+
19
+ ### Dependencies
20
+
21
+ * **@visulima/error:** upgraded to 6.0.0-alpha.1
22
+ * **@visulima/inspector:** upgraded to 2.0.0-alpha.1
23
+ * **@visulima/string:** upgraded to 3.0.0-alpha.1
24
+
25
+ ## @visulima/pail [3.2.2](https://github.com/visulima/visulima/compare/@visulima/pail@3.2.1...@visulima/pail@3.2.2) (2025-11-13)
26
+
27
+ ### Bug Fixes
28
+
29
+ * bump packem, to fix minified version of the code ([2a36ceb](https://github.com/visulima/visulima/commit/2a36ceb09251b0ca1178701a26547a871ed717a7))
30
+
31
+
32
+ ### Dependencies
33
+
34
+ * **@visulima/colorize:** upgraded to 1.4.29
35
+ * **@visulima/error:** upgraded to 5.0.6
36
+ * **@visulima/fmt:** upgraded to 1.1.21
37
+ * **@visulima/inspector:** upgraded to 1.0.30
38
+ * **@visulima/redact:** upgraded to 2.0.5
39
+ * **@visulima/string:** upgraded to 2.0.6
40
+
1
41
  ## @visulima/pail [3.2.1](https://github.com/visulima/visulima/compare/@visulima/pail@3.2.0...@visulima/pail@3.2.1) (2025-11-12)
2
42
 
3
43
  ### Bug Fixes
package/README.md CHANGED
@@ -1,23 +1,24 @@
1
- <div align="center">
2
- <h3>Visulima Pail</h3>
3
- <p>
4
- Highly configurable Logger for Node.js, Edge and Browser, built on top of
5
-
6
- [@visulima/fmt][fmt],
7
- [@visulima/colorize](https://github.com/visulima/visulima/tree/main/packages/colorize),
8
- [@visulima/string](https://github.com/visulima/visulima/tree/main/packages/string),
9
- [ansi-escapes](https://www.npmjs.com/package/ansi-escapes),
10
- [safe-stable-stringify](https://www.npmjs.com/package/safe-stable-stringify), and
11
- [terminal-size](https://www.npmjs.com/package/terminal-size)
12
-
13
- </p>
14
- </div>
1
+ <!-- START_PACKAGE_OG_IMAGE_PLACEHOLDER -->
2
+
3
+ <a href="https://www.anolilab.com/open-source" align="center">
4
+
5
+ <img src="__assets__/package-og.svg" alt="pail" />
6
+
7
+ </a>
8
+
9
+ <h3 align="center">Highly configurable Logger for Node.js, Edge and Browser.</h3>
10
+
11
+ <!-- END_PACKAGE_OG_IMAGE_PLACEHOLDER -->
15
12
 
16
13
  <br />
17
14
 
18
15
  <div align="center">
19
16
 
20
- [![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url]
17
+ [![typescript-image][typescript-badge]][typescript-url]
18
+ [![mit licence][license-badge]][license]
19
+ [![npm downloads][npm-downloads-badge]][npm-downloads]
20
+ [![Chat][chat-badge]][chat]
21
+ [![PRs Welcome][prs-welcome-badge]][prs-welcome]
21
22
 
22
23
  </div>
23
24
 
@@ -1195,16 +1196,23 @@ If you would like to help take a look at the [list of issues](https://github.com
1195
1196
  - [signale](https://github.com/klaudiosinani/signale) - Highly configurable logging utility
1196
1197
  - [consola](https://github.com/unjs/consola) - 🐨 Elegant Console Logger for Node.js and Browser
1197
1198
 
1199
+ ## Made with ❤️ at Anolilab
1200
+
1201
+ This is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Anolilab](https://www.anolilab.com/open-source) is a Development and AI Studio. Contact us at [hello@anolilab.com](mailto:hello@anolilab.com) if you need any help with these technologies or just want to say hi!
1202
+
1198
1203
  ## License
1199
1204
 
1200
- The visulima pail is open-sourced software licensed under the [MIT][license-url]
1205
+ The visulima pail is open-sourced software licensed under the [MIT][license]
1201
1206
 
1202
- [typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
1207
+ <!-- badges -->
1203
1208
 
1204
- [typescript-url]: https://www.typescriptlang.org/ "TypeScript" "typescript"
1205
- [license-image]: https://img.shields.io/npm/l/@visulima/pail?color=blueviolet&style=for-the-badge
1206
- [license-url]: LICENSE.md "license"
1207
- [npm-image]: https://img.shields.io/npm/v/@visulima/pail/latest.svg?style=for-the-badge&logo=npm
1208
- [npm-url]: https://www.npmjs.com/package/@visulima/pail/v/latest "npm"
1209
- [rfc-5424]: https://datatracker.ietf.org/doc/html/rfc5424#page-36
1210
- [fmt]: https://github.com/visulima/visulima/tree/main/packages/fmt
1209
+ [license-badge]: https://img.shields.io/npm/l/@visulima/pail?style=for-the-badge
1210
+ [license]: https://github.com/visulima/visulima/blob/main/LICENSE
1211
+ [npm-downloads-badge]: https://img.shields.io/npm/dm/@visulima/pail?style=for-the-badge
1212
+ [npm-downloads]: https://www.npmjs.com/package/@visulima/pail
1213
+ [prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
1214
+ [prs-welcome]: https://github.com/visulima/visulima/blob/main/.github/CONTRIBUTING.md
1215
+ [chat-badge]: https://img.shields.io/discord/932323359193186354.svg?style=for-the-badge
1216
+ [chat]: https://discord.gg/TtFJY8xkFK
1217
+ [typescript-badge]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
1218
+ [typescript-url]: https://www.typescriptlang.org/
@@ -1,6 +1,6 @@
1
- import { P as PailBrowser } from './packem_shared/pail.browser-CPjQrsyy.js';
1
+ import { P as PailBrowser } from './packem_shared/pail.browser-u2CSR_af.js';
2
2
  import MessageFormatterProcessor from './processor/message-formatter-processor.js';
3
- import JsonReporter from './packem_shared/JsonReporter-DcM2LBX9.js';
3
+ import JsonReporter from './packem_shared/JsonReporter-BRw4skd5.js';
4
4
 
5
5
  const createPail = (options) => new PailBrowser({
6
6
  processors: [new MessageFormatterProcessor()],
@@ -11,16 +11,16 @@ const {
11
11
  } = __cjs_getProcess;
12
12
  import InteractiveManager from './packem_shared/InteractiveManager-CZ85hGNW.js';
13
13
  import { I as InteractiveStreamHook, c as clearTerminal } from './packem_shared/interactive-stream-hook-DG4BtN12.js';
14
- import { a as PailBrowserImpl, m as mergeTypes, b as arrayify } from './packem_shared/pail.browser-CPjQrsyy.js';
14
+ import { a as PailBrowserImpl, m as mergeTypes, b as arrayify } from './packem_shared/pail.browser-u2CSR_af.js';
15
15
  import { ProgressBar, applyStyleToOptions, MultiProgressBar } from './progress-bar.js';
16
16
  export { getBarChar } from './progress-bar.js';
17
- import { i as inspect } from './packem_shared/format-label-Btft2KGP.js';
18
- import { E as EMPTY_SYMBOL } from './packem_shared/constants-DfDr4MHC.js';
17
+ import { i as inspect } from './packem_shared/format-label-De49vNPd.js';
18
+ import { E as EMPTY_SYMBOL } from './packem_shared/constants-omsTHUWB.js';
19
19
  import { w as writeStream } from './packem_shared/write-stream-BG8fhcs3.js';
20
20
  import { Spinner, MultiSpinner } from './spinner.js';
21
21
  import { g as getLongestLabel } from './packem_shared/get-longest-label-C9PWeyKq.js';
22
22
  import MessageFormatterProcessor from './processor/message-formatter-processor.js';
23
- import { PrettyReporter } from './packem_shared/PrettyReporter-BFWaYP_J.js';
23
+ import { PrettyReporter } from './packem_shared/PrettyReporter-DgZB2eBG.js';
24
24
 
25
25
  class RawReporter {
26
26
  #stdout;
@@ -1,4 +1,4 @@
1
- import { E as EMPTY_SYMBOL } from './constants-DfDr4MHC.js';
1
+ import { E as EMPTY_SYMBOL } from './constants-omsTHUWB.js';
2
2
 
3
3
  function isPlainObject(value) {
4
4
  if (typeof value !== "object" || value === null) {
@@ -1,4 +1,4 @@
1
- import { AbstractJsonReporter } from './AbstractJsonReporter-intFdT_A.js';
1
+ import { AbstractJsonReporter } from './AbstractJsonReporter-BaZ33PlE.js';
2
2
  import { w as writeConsoleLogBasedOnLevel } from './write-console-log-based-on-level-DBmRYXpj.js';
3
3
 
4
4
  class JsonReporter extends AbstractJsonReporter {
@@ -9,7 +9,7 @@ const {
9
9
  stderr
10
10
  } = __cjs_getProcess;
11
11
  import { w as writeStream } from './write-stream-BG8fhcs3.js';
12
- import { AbstractJsonReporter } from './AbstractJsonReporter-intFdT_A.js';
12
+ import { AbstractJsonReporter } from './AbstractJsonReporter-BaZ33PlE.js';
13
13
 
14
14
  class JsonReporter extends AbstractJsonReporter {
15
15
  /** Standard output stream */
@@ -9,10 +9,10 @@ const {
9
9
  stderr
10
10
  } = __cjs_getProcess;
11
11
  import colorize, { red, greenBright, cyan, green, grey, white, bgGrey, underline } from '@visulima/colorize';
12
- import { d as defaultInspectorConfig, f as formatLabel, i as inspect, r as renderError } from './format-label-Btft2KGP.js';
12
+ import { d as defaultInspectorConfig, f as formatLabel, i as inspect, r as renderError } from './format-label-De49vNPd.js';
13
13
  import { t as terminalSize, g as getStringWidth, w as wordWrap, W as WrapMode } from './index-DqKWykfa.js';
14
- import { E as EMPTY_SYMBOL } from './constants-DfDr4MHC.js';
15
- import { A as AbstractPrettyReporter, g as getLongestBadge } from './abstract-pretty-reporter-DMPDCslJ.js';
14
+ import { E as EMPTY_SYMBOL } from './constants-omsTHUWB.js';
15
+ import { A as AbstractPrettyReporter, g as getLongestBadge } from './abstract-pretty-reporter-Di_sdm2r.js';
16
16
  import { g as getLongestLabel } from './get-longest-label-C9PWeyKq.js';
17
17
  import { w as writeStream } from './write-stream-BG8fhcs3.js';
18
18
 
@@ -1,7 +1,7 @@
1
1
  import colorize, { grey, white, underline, bold } from '@visulima/colorize/browser';
2
2
  import { f as format } from './index-BomQ3E6J.js';
3
- import { E as EMPTY_SYMBOL } from './constants-DfDr4MHC.js';
4
- import { A as AbstractPrettyReporter, g as getLongestBadge } from './abstract-pretty-reporter-DMPDCslJ.js';
3
+ import { E as EMPTY_SYMBOL } from './constants-omsTHUWB.js';
4
+ import { A as AbstractPrettyReporter, g as getLongestBadge } from './abstract-pretty-reporter-Di_sdm2r.js';
5
5
  import { g as getLongestLabel } from './get-longest-label-C9PWeyKq.js';
6
6
  import { w as writeConsoleLogBasedOnLevel } from './write-console-log-based-on-level-DBmRYXpj.js';
7
7
 
@@ -1,4 +1,4 @@
1
- import { L as LOG_TYPES } from './constants-DfDr4MHC.js';
1
+ import { L as LOG_TYPES } from './constants-omsTHUWB.js';
2
2
 
3
3
  const getLongestBadge = (types) => {
4
4
  const badges = Object.keys(types).map((x) => types[x].badge ?? "");
@@ -114,6 +114,6 @@ const LOG_TYPES = {
114
114
  logLevel: "informational"
115
115
  }
116
116
  };
117
- const EMPTY_SYMBOL = Symbol("EMPTY");
117
+ const EMPTY_SYMBOL = /* @__PURE__ */ Symbol("EMPTY");
118
118
 
119
119
  export { EMPTY_SYMBOL as E, LOG_TYPES as L, EXTENDED_RFC_5424_LOG_LEVELS as a };
@@ -977,7 +977,7 @@ const escapeCharacters = {
977
977
  "\\": "\\\\"
978
978
  };
979
979
  const hex = 16;
980
- const escape = (char) => escapeCharacters[char] || `\\u${`0000${char.codePointAt(0).toString(hex)}`.slice(-4)}`;
980
+ const escape = (char) => escapeCharacters[char] || String.raw`\u${`0000${char.codePointAt(0).toString(hex)}`.slice(-4)}`;
981
981
  const inspectString = (string_, options) => {
982
982
  if (stringEscapeChars.test(string_)) {
983
983
  string_ = string_.replaceAll(stringEscapeChars, escape);
@@ -1075,8 +1075,8 @@ const baseTypesMap = {
1075
1075
  WeakSet: (_value, options) => options.stylize("WeakSet{…}", "special")
1076
1076
  };
1077
1077
  const inspectCustom = (value, options, type, depth) => {
1078
- if (globalThis.window === void 0 && typeof value[Symbol.for("nodejs.util.inspect.custom")] === "function") {
1079
- return value[Symbol.for("nodejs.util.inspect.custom")](depth, options);
1078
+ if (globalThis.window === void 0 && typeof value[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] === "function") {
1079
+ return value[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")](depth, options);
1080
1080
  }
1081
1081
  if ("inspect" in value && typeof value.inspect === "function") {
1082
1082
  return value.inspect(depth, options);
@@ -1098,8 +1098,7 @@ const internalInspect = (value, options, depth, seen) => {
1098
1098
  }
1099
1099
  const inspect2 = (object, from, options2) => {
1100
1100
  if (from) {
1101
- seen = [...seen];
1102
- seen.push(from);
1101
+ seen = [...seen, from];
1103
1102
  }
1104
1103
  return internalInspect(object, options2, depth + 1, seen);
1105
1104
  };
@@ -1,4 +1,4 @@
1
- import { a as EXTENDED_RFC_5424_LOG_LEVELS, E as EMPTY_SYMBOL, L as LOG_TYPES } from './constants-DfDr4MHC.js';
1
+ import { a as EXTENDED_RFC_5424_LOG_LEVELS, E as EMPTY_SYMBOL, L as LOG_TYPES } from './constants-omsTHUWB.js';
2
2
  import { w as writeConsoleLogBasedOnLevel } from './write-console-log-based-on-level-DBmRYXpj.js';
3
3
  import { g as getLongestLabel } from './get-longest-label-C9PWeyKq.js';
4
4
 
@@ -1,4 +1,5 @@
1
1
  import type { FormatterFunction } from "@visulima/fmt";
2
+ import type { stringify } from "safe-stable-stringify";
2
3
  import type { Meta, StringifyAwareProcessor } from "../types.d.ts";
3
4
  /**
4
5
  * Message Formatter Processor.
@@ -38,7 +39,7 @@ declare class MessageFormatterProcessor<L extends string = string> implements St
38
39
  * Sets the stringify function for object serialization.
39
40
  * @param function_ The stringify function to use for serializing objects
40
41
  */
41
- setStringify(function_: any): void;
42
+ setStringify(function_: typeof stringify): void;
42
43
  /**
43
44
  * Processes log metadata to format messages.
44
45
  *
@@ -17,7 +17,6 @@ class MessageFormatterProcessor {
17
17
  * Sets the stringify function for object serialization.
18
18
  * @param function_ The stringify function to use for serializing objects
19
19
  */
20
- // eslint-disable-next-line , @typescript-eslint/no-explicit-any
21
20
  setStringify(function_) {
22
21
  this.#stringify = function_;
23
22
  }
@@ -1,4 +1,4 @@
1
- import { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-intFdT_A.js';
1
+ import { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-BaZ33PlE.js';
2
2
 
3
3
  class SafeStreamHandler {
4
4
  #ready = true;
@@ -20,7 +20,7 @@ const __cjs_getBuiltinModule = (module) => {
20
20
  const {
21
21
  Buffer
22
22
  } = __cjs_getBuiltinModule("node:buffer");
23
- import { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-intFdT_A.js';
23
+ import { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-BaZ33PlE.js';
24
24
  const {
25
25
  gzipSync
26
26
  } = __cjs_getBuiltinModule("node:zlib");
@@ -170,7 +170,7 @@ const serialize = (error, options = {}) => _serialize(
170
170
  0
171
171
  );
172
172
 
173
- const EMPTY_SYMBOL = Symbol("EMPTY");
173
+ const EMPTY_SYMBOL = /* @__PURE__ */ Symbol("EMPTY");
174
174
 
175
175
  class AbstractJsonReporter {
176
176
  /** Custom stringify function for object serialization */
@@ -1,2 +1,2 @@
1
- export { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-intFdT_A.js';
2
- export { default as JsonReporter } from '../../packem_shared/JsonReporter-DcM2LBX9.js';
1
+ export { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-BaZ33PlE.js';
2
+ export { default as JsonReporter } from '../../packem_shared/JsonReporter-BRw4skd5.js';
@@ -1,2 +1,2 @@
1
- export { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-intFdT_A.js';
2
- export { default as JsonReporter } from '../../packem_shared/JsonReporter-C0AXk99i.js';
1
+ export { AbstractJsonReporter } from '../../packem_shared/AbstractJsonReporter-BaZ33PlE.js';
2
+ export { default as JsonReporter } from '../../packem_shared/JsonReporter-VzgyLEYz.js';
@@ -1 +1 @@
1
- export { default as PrettyReporter } from '../../packem_shared/PrettyReporter-CuLLKr6-.js';
1
+ export { default as PrettyReporter } from '../../packem_shared/PrettyReporter-DySIXBjQ.js';
@@ -1 +1 @@
1
- export { PrettyReporter } from '../../packem_shared/PrettyReporter-BFWaYP_J.js';
1
+ export { PrettyReporter } from '../../packem_shared/PrettyReporter-DgZB2eBG.js';
@@ -9,10 +9,10 @@ const {
9
9
  stderr
10
10
  } = __cjs_getProcess;
11
11
  import colorize, { red, greenBright, cyan, green, grey, bold, white, bgGrey, underline } from '@visulima/colorize';
12
- import { d as defaultInspectorConfig, f as formatLabel, i as inspect, r as renderError } from '../../packem_shared/format-label-Btft2KGP.js';
12
+ import { d as defaultInspectorConfig, f as formatLabel, i as inspect, r as renderError } from '../../packem_shared/format-label-De49vNPd.js';
13
13
  import { t as terminalSize, g as getStringWidth, w as wordWrap, W as WrapMode } from '../../packem_shared/index-DqKWykfa.js';
14
- import { E as EMPTY_SYMBOL } from '../../packem_shared/constants-DfDr4MHC.js';
15
- import { A as AbstractPrettyReporter, g as getLongestBadge } from '../../packem_shared/abstract-pretty-reporter-DMPDCslJ.js';
14
+ import { E as EMPTY_SYMBOL } from '../../packem_shared/constants-omsTHUWB.js';
15
+ import { A as AbstractPrettyReporter, g as getLongestBadge } from '../../packem_shared/abstract-pretty-reporter-Di_sdm2r.js';
16
16
  import { g as getLongestLabel } from '../../packem_shared/get-longest-label-C9PWeyKq.js';
17
17
  import { w as writeStream } from '../../packem_shared/write-stream-BG8fhcs3.js';
18
18
 
package/dist/types.d.ts CHANGED
@@ -158,7 +158,7 @@ export interface LoggerTypesAwareReporter<T extends string, L extends string> ex
158
158
  */
159
159
  export interface StringifyAwareReporter<L extends string> extends Reporter<L> {
160
160
  /** Set the stringify function for object serialization */
161
- setStringify: (stringify: typeof JSON.stringify) => void;
161
+ setStringify: (stringify: any) => void;
162
162
  }
163
163
  /**
164
164
  * Interactive Stream Reporter Interface.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/pail",
3
- "version": "3.2.1",
3
+ "version": "4.0.0-alpha.1",
4
4
  "description": "Highly configurable Logger for Node.js, Edge and Browser.",
5
5
  "keywords": [
6
6
  "ansi",
@@ -62,7 +62,7 @@
62
62
  "repository": {
63
63
  "type": "git",
64
64
  "url": "git+https://github.com/visulima/visulima.git",
65
- "directory": "packages/pail"
65
+ "directory": "packages/error-debugging/pail"
66
66
  },
67
67
  "funding": [
68
68
  {
@@ -203,11 +203,12 @@
203
203
  "LICENSE.md"
204
204
  ],
205
205
  "dependencies": {
206
- "@visulima/colorize": "1.4.28"
206
+ "type-fest": "^5.3.0",
207
+ "@visulima/colorize": "2.0.0-alpha.2"
207
208
  },
208
209
  "peerDependencies": {
209
210
  "@opentelemetry/api": "^1.9",
210
- "@visulima/redact": "2.0.4",
211
+ "@visulima/redact": "3.0.0-alpha.2",
211
212
  "rotating-file-stream": "^3.2.7"
212
213
  },
213
214
  "peerDependenciesMeta": {
@@ -222,7 +223,7 @@
222
223
  }
223
224
  },
224
225
  "engines": {
225
- "node": ">=20.19 <=25.x"
226
+ "node": ">=22.13 <=25.x"
226
227
  },
227
228
  "os": [
228
229
  "darwin",