@visulima/pail 2.1.25 → 2.1.26

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,10 @@
1
+ ## @visulima/pail [2.1.26](https://github.com/visulima/visulima/compare/@visulima/pail@2.1.25...@visulima/pail@2.1.26) (2025-09-07)
2
+
3
+
4
+ ### Dependencies
5
+
6
+ * **@visulima/error:** upgraded to 4.5.0
7
+
1
8
  ## @visulima/pail [2.1.25](https://github.com/visulima/visulima/compare/@visulima/pail@2.1.24...@visulima/pail@2.1.25) (2025-06-04)
2
9
 
3
10
 
@@ -3,14 +3,14 @@
3
3
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
4
4
 
5
5
  const process$1 = require('node:process');
6
- const formatLabel = require('./packem_shared/format-label-o4RcL4VF.cjs');
6
+ const formatLabel = require('./packem_shared/format-label-DYEhjrTZ.cjs');
7
7
  const node_string_decoder = require('node:string_decoder');
8
8
  const pail_browser = require('./packem_shared/pail.browser-O53Q_cus.cjs');
9
9
  const inspector = require('@visulima/inspector');
10
10
  const constants = require('./packem_shared/constants-DHfYGxxG.cjs');
11
11
  const writeStream = require('./packem_shared/write-stream-CkNf2Ju8.cjs');
12
12
  const MessageFormatterProcessor = require('./packem_shared/MessageFormatterProcessor-t4t6CpzV.cjs');
13
- const PrettyReporter = require('./packem_shared/PrettyReporter-Bnji5xTp.cjs');
13
+ const PrettyReporter = require('./packem_shared/PrettyReporter-3oMWkX6j.cjs');
14
14
 
15
15
  var __defProp$5 = Object.defineProperty;
16
16
  var __name$5 = (target, value) => __defProp$5(target, "name", { value, configurable: true });
@@ -1,12 +1,12 @@
1
1
  import { stdout, stderr, env } from 'node:process';
2
- import { t as terminalSize, w as wrapAnsi } from './packem_shared/format-label-BNbv-_R-.mjs';
2
+ import { t as terminalSize, w as wrapAnsi } from './packem_shared/format-label-Uj-cxY3j.mjs';
3
3
  import { StringDecoder } from 'node:string_decoder';
4
4
  import { a as PailBrowserImpl } from './packem_shared/pail.browser-Bp1fz428.mjs';
5
5
  import { inspect } from '@visulima/inspector';
6
6
  import { E as EMPTY_SYMBOL } from './packem_shared/constants-BYYZ5WNW.mjs';
7
7
  import { w as writeStream } from './packem_shared/write-stream-BBAF33Zm.mjs';
8
8
  import MessageFormatterProcessor from './packem_shared/MessageFormatterProcessor-Cd4HntPG.mjs';
9
- import { PrettyReporter } from './packem_shared/PrettyReporter-iHNExsTk.mjs';
9
+ import { PrettyReporter } from './packem_shared/PrettyReporter-C2hjNe-y.mjs';
10
10
 
11
11
  var __defProp$5 = Object.defineProperty;
12
12
  var __name$5 = (target, value) => __defProp$5(target, "name", { value, configurable: true });
@@ -6,7 +6,7 @@ const process = require('node:process');
6
6
  const colorize = require('@visulima/colorize');
7
7
  const error = require('@visulima/error/error');
8
8
  const inspector = require('@visulima/inspector');
9
- const formatLabel = require('./format-label-o4RcL4VF.cjs');
9
+ const formatLabel = require('./format-label-DYEhjrTZ.cjs');
10
10
  const constants = require('./constants-DHfYGxxG.cjs');
11
11
  const abstractPrettyReporter = require('./abstract-pretty-reporter-BR_6_JVa.cjs');
12
12
  const getLongestLabel = require('./get-longest-label-CQ7lRhgD.cjs');
@@ -2,7 +2,7 @@ import { stdout, stderr } from 'node:process';
2
2
  import colorize, { red, greenBright, cyan, green, grey, white, bgGrey, underline } from '@visulima/colorize';
3
3
  import { renderError } from '@visulima/error/error';
4
4
  import { inspect } from '@visulima/inspector';
5
- import { d as defaultInspectorConfig, t as terminalSize, f as formatLabel, s as stringLength, w as wrapAnsi } from './format-label-BNbv-_R-.mjs';
5
+ import { d as defaultInspectorConfig, t as terminalSize, f as formatLabel, s as stringLength, w as wrapAnsi } from './format-label-Uj-cxY3j.mjs';
6
6
  import { E as EMPTY_SYMBOL } from './constants-BYYZ5WNW.mjs';
7
7
  import { A as AbstractPrettyReporter, g as getLongestBadge } from './abstract-pretty-reporter-izJgxoMv.mjs';
8
8
  import { g as getLongestLabel } from './get-longest-label-CM8kLFWH.mjs';
@@ -6,7 +6,7 @@ const process = require('node:process');
6
6
  const colorize = require('@visulima/colorize');
7
7
  const error = require('@visulima/error');
8
8
  const inspector = require('@visulima/inspector');
9
- const formatLabel = require('./format-label-o4RcL4VF.cjs');
9
+ const formatLabel = require('./format-label-DYEhjrTZ.cjs');
10
10
  const constants = require('./constants-DHfYGxxG.cjs');
11
11
  const abstractPrettyReporter = require('./abstract-pretty-reporter-BR_6_JVa.cjs');
12
12
  const getLongestLabel = require('./get-longest-label-CQ7lRhgD.cjs');
@@ -2,7 +2,7 @@ import { stdout, stderr } from 'node:process';
2
2
  import colorize, { red, greenBright, cyan, green, grey, bold, white, bgGrey, underline } from '@visulima/colorize';
3
3
  import { renderError } from '@visulima/error';
4
4
  import { inspect } from '@visulima/inspector';
5
- import { d as defaultInspectorConfig, t as terminalSize, f as formatLabel, s as stringLength, w as wrapAnsi } from './format-label-BNbv-_R-.mjs';
5
+ import { d as defaultInspectorConfig, t as terminalSize, f as formatLabel, s as stringLength, w as wrapAnsi } from './format-label-Uj-cxY3j.mjs';
6
6
  import { E as EMPTY_SYMBOL } from './constants-BYYZ5WNW.mjs';
7
7
  import { A as AbstractPrettyReporter, g as getLongestBadge } from './abstract-pretty-reporter-izJgxoMv.mjs';
8
8
  import { g as getLongestLabel } from './get-longest-label-CM8kLFWH.mjs';
@@ -93,10 +93,9 @@ var __defProp$a = Object.defineProperty;
93
93
  var __name$a = (target, value) => __defProp$a(target, "name", { value, configurable: true });
94
94
  function ansiRegex({ onlyFirst = false } = {}) {
95
95
  const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
96
- const pattern = [
97
- `[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?${ST})`,
98
- "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"
99
- ].join("|");
96
+ const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
97
+ const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
98
+ const pattern = `${osc}|${csi}`;
100
99
  return new RegExp(pattern, onlyFirst ? void 0 : "g");
101
100
  }
102
101
  __name$a(ansiRegex, "ansiRegex");
@@ -85,10 +85,9 @@ var __defProp$a = Object.defineProperty;
85
85
  var __name$a = (target, value) => __defProp$a(target, "name", { value, configurable: true });
86
86
  function ansiRegex({ onlyFirst = false } = {}) {
87
87
  const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
88
- const pattern = [
89
- `[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?${ST})`,
90
- "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"
91
- ].join("|");
88
+ const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
89
+ const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
90
+ const pattern = `${osc}|${csi}`;
92
91
  return new RegExp(pattern, onlyFirst ? void 0 : "g");
93
92
  }
94
93
  __name$a(ansiRegex, "ansiRegex");
@@ -4,8 +4,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
4
4
 
5
5
  const JsonFileReporter = require('./packem_shared/JsonFileReporter-PNmBNTr1.cjs');
6
6
  const JsonReporter = require('./packem_shared/JsonReporter-CcOVaf3A.cjs');
7
- const PrettyReporter = require('./packem_shared/PrettyReporter-Bnji5xTp.cjs');
8
- const SimpleReporter = require('./packem_shared/SimpleReporter-xcoidMb_.cjs');
7
+ const PrettyReporter = require('./packem_shared/PrettyReporter-3oMWkX6j.cjs');
8
+ const SimpleReporter = require('./packem_shared/SimpleReporter-CXXqr1h3.cjs');
9
9
 
10
10
 
11
11
 
@@ -1,4 +1,4 @@
1
1
  export { JsonFileReporter } from './packem_shared/JsonFileReporter-BazAMbEI.mjs';
2
2
  export { default as JsonReporter } from './packem_shared/JsonReporter-DFFyVZyh.mjs';
3
- export { PrettyReporter } from './packem_shared/PrettyReporter-iHNExsTk.mjs';
4
- export { SimpleReporter } from './packem_shared/SimpleReporter-D2-9ceBV.mjs';
3
+ export { PrettyReporter } from './packem_shared/PrettyReporter-C2hjNe-y.mjs';
4
+ export { SimpleReporter } from './packem_shared/SimpleReporter-TOcMSqJb.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/pail",
3
- "version": "2.1.25",
3
+ "version": "2.1.26",
4
4
  "description": "Highly configurable Logger for Node.js, Edge and Browser.",
5
5
  "keywords": [
6
6
  "ansi",
@@ -226,7 +226,7 @@
226
226
  ],
227
227
  "dependencies": {
228
228
  "@visulima/colorize": "1.4.23",
229
- "@visulima/error": "4.4.18",
229
+ "@visulima/error": "4.5.0",
230
230
  "@visulima/fmt": "1.1.15",
231
231
  "@visulima/inspector": "1.0.24",
232
232
  "safe-stable-stringify": "^2.5.0"