@visulima/pail 1.1.10 → 1.1.12
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 +42 -0
- package/README.md +0 -0
- package/dist/{abstract-pretty-reporter-L82dKD7X.d.ts → abstract-pretty-reporter-B-VS5gYX.d.ts} +1 -1
- package/dist/{abstract-pretty-reporter-SBWxNXW5.d.cts → abstract-pretty-reporter-DwzTRutd.d.cts} +1 -1
- package/dist/index.browser.d.cts +3 -3
- package/dist/index.browser.d.ts +3 -3
- package/dist/index.server.d.cts +3 -3
- package/dist/index.server.d.ts +3 -3
- package/dist/{pail.browser-0Ej0KEkV.d.ts → pail.browser-DuX9zHSz.d.ts} +1 -1
- package/dist/{pail.browser-qG_FNUeK.d.cts → pail.browser-pg1HpChf.d.cts} +1 -1
- package/dist/processor.browser.cjs +1 -1
- package/dist/processor.browser.d.cts +1 -1
- package/dist/processor.browser.d.ts +1 -1
- package/dist/processor.server.cjs +2 -2
- package/dist/processor.server.d.cts +1 -1
- package/dist/processor.server.d.ts +1 -1
- package/dist/reporter.browser.cjs +1 -1
- package/dist/reporter.browser.d.cts +2 -2
- package/dist/reporter.browser.d.ts +2 -2
- package/dist/reporter.server.cjs +1 -1
- package/dist/reporter.server.d.cts +2 -2
- package/dist/reporter.server.d.ts +2 -2
- package/package.json +249 -249
- /package/dist/{types--_CcxoUw.d.cts → types-DrhFTME0.d.cts} +0 -0
- /package/dist/{types--_CcxoUw.d.ts → types-DrhFTME0.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,45 @@
|
|
|
1
|
+
## @visulima/pail [1.1.12](https://github.com/visulima/visulima/compare/@visulima/pail@1.1.11...@visulima/pail@1.1.12) (2024-06-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* allow node v22 ([890d457](https://github.com/visulima/visulima/commit/890d4570f18428e2463944813c0c638b3f142803))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Miscellaneous Chores
|
|
10
|
+
|
|
11
|
+
* updated dev dependencies ([a2e0504](https://github.com/visulima/visulima/commit/a2e0504dc239049434c2482756ff15bdbaac9b54))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Dependencies
|
|
16
|
+
|
|
17
|
+
* **@visulima/colorize:** upgraded to 1.4.2
|
|
18
|
+
* **@visulima/fmt:** upgraded to 1.1.5
|
|
19
|
+
|
|
20
|
+
## @visulima/pail [1.1.11](https://github.com/visulima/visulima/compare/@visulima/pail@1.1.10...@visulima/pail@1.1.11) (2024-05-24)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Styles
|
|
24
|
+
|
|
25
|
+
* cs fixes ([7bf5b91](https://github.com/visulima/visulima/commit/7bf5b91383b612598d955fe23505c94f22a8d277))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Miscellaneous Chores
|
|
29
|
+
|
|
30
|
+
* changed semantic-release-npm to pnpm ([b6d100a](https://github.com/visulima/visulima/commit/b6d100a2bf3fd026577be48726a37754947f0973))
|
|
31
|
+
* updated dev dependencies ([2e08f23](https://github.com/visulima/visulima/commit/2e08f23ba4f23ff4c64a36807b53242e9497c073))
|
|
32
|
+
* updated dev dependencies ([abd319c](https://github.com/visulima/visulima/commit/abd319c23576aa1dc751ac874e806bddbc977d51))
|
|
33
|
+
* updated dev dependencies ([0767afe](https://github.com/visulima/visulima/commit/0767afe9be83da6698c1343724400171f952599e))
|
|
34
|
+
* updated dev dependencies ([d7791e3](https://github.com/visulima/visulima/commit/d7791e327917e438757636573b1e5549a97bba7b))
|
|
35
|
+
* updated dev dependencies ([6005345](https://github.com/visulima/visulima/commit/60053456717a3889fc77b4fb5b05d50a662475b2))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Dependencies
|
|
40
|
+
|
|
41
|
+
* **@visulima/colorize:** upgraded to 1.4.1
|
|
42
|
+
|
|
1
43
|
## @visulima/pail [1.1.10](https://github.com/visulima/visulima/compare/@visulima/pail@1.1.9...@visulima/pail@1.1.10) (2024-04-27)
|
|
2
44
|
|
|
3
45
|
|
package/README.md
CHANGED
|
File without changes
|
package/dist/{abstract-pretty-reporter-L82dKD7X.d.ts → abstract-pretty-reporter-B-VS5gYX.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { stringify } from 'safe-stable-stringify';
|
|
2
|
-
import { h as StringifyAwareReporter, g as ReadonlyMeta, e as LiteralUnion, E as ExtendedRfc5424LogLevels, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, a as DefaultLogTypes } from './types
|
|
2
|
+
import { h as StringifyAwareReporter, g as ReadonlyMeta, e as LiteralUnion, E as ExtendedRfc5424LogLevels, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, a as DefaultLogTypes } from './types-DrhFTME0.js';
|
|
3
3
|
|
|
4
4
|
declare abstract class AbstractJsonReporter<L extends string = never> implements StringifyAwareReporter<L> {
|
|
5
5
|
protected _stringify: typeof stringify | undefined;
|
package/dist/{abstract-pretty-reporter-SBWxNXW5.d.cts → abstract-pretty-reporter-DwzTRutd.d.cts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { stringify } from 'safe-stable-stringify';
|
|
2
|
-
import { h as StringifyAwareReporter, g as ReadonlyMeta, e as LiteralUnion, E as ExtendedRfc5424LogLevels, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, a as DefaultLogTypes } from './types
|
|
2
|
+
import { h as StringifyAwareReporter, g as ReadonlyMeta, e as LiteralUnion, E as ExtendedRfc5424LogLevels, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, a as DefaultLogTypes } from './types-DrhFTME0.cjs';
|
|
3
3
|
|
|
4
4
|
declare abstract class AbstractJsonReporter<L extends string = never> implements StringifyAwareReporter<L> {
|
|
5
5
|
protected _stringify: typeof stringify | undefined;
|
package/dist/index.browser.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as PailBrowserType } from './pail.browser-
|
|
2
|
-
import { C as ConstructorOptions } from './types
|
|
3
|
-
export { a as DefaultLogTypes, D as DefaultLoggerTypes, E as ExtendedRfc5424LogLevels, L as LoggerConfiguration, b as LoggerFunction, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, P as Processor, R as Reporter, S as StreamAwareReporter } from './types
|
|
1
|
+
import { P as PailBrowserType } from './pail.browser-pg1HpChf.cjs';
|
|
2
|
+
import { C as ConstructorOptions } from './types-DrhFTME0.cjs';
|
|
3
|
+
export { a as DefaultLogTypes, D as DefaultLoggerTypes, E as ExtendedRfc5424LogLevels, L as LoggerConfiguration, b as LoggerFunction, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, P as Processor, R as Reporter, S as StreamAwareReporter } from './types-DrhFTME0.cjs';
|
|
4
4
|
import 'safe-stable-stringify';
|
|
5
5
|
import '@visulima/colorize';
|
|
6
6
|
|
package/dist/index.browser.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as PailBrowserType } from './pail.browser-
|
|
2
|
-
import { C as ConstructorOptions } from './types
|
|
3
|
-
export { a as DefaultLogTypes, D as DefaultLoggerTypes, E as ExtendedRfc5424LogLevels, L as LoggerConfiguration, b as LoggerFunction, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, P as Processor, R as Reporter, S as StreamAwareReporter } from './types
|
|
1
|
+
import { P as PailBrowserType } from './pail.browser-DuX9zHSz.js';
|
|
2
|
+
import { C as ConstructorOptions } from './types-DrhFTME0.js';
|
|
3
|
+
export { a as DefaultLogTypes, D as DefaultLoggerTypes, E as ExtendedRfc5424LogLevels, L as LoggerConfiguration, b as LoggerFunction, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, P as Processor, R as Reporter, S as StreamAwareReporter } from './types-DrhFTME0.js';
|
|
4
4
|
import 'safe-stable-stringify';
|
|
5
5
|
import '@visulima/colorize';
|
|
6
6
|
|
package/dist/index.server.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as DefaultLogTypes, b as LoggerFunction, f as ServerConstructorOptions, I as InteractiveManager, R as Reporter, C as ConstructorOptions } from './types
|
|
2
|
-
export { D as DefaultLoggerTypes, E as ExtendedRfc5424LogLevels, L as LoggerConfiguration, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, P as Processor, S as StreamAwareReporter } from './types
|
|
3
|
-
import { a as PailBrowserImpl } from './pail.browser-
|
|
1
|
+
import { a as DefaultLogTypes, b as LoggerFunction, f as ServerConstructorOptions, I as InteractiveManager, R as Reporter, C as ConstructorOptions } from './types-DrhFTME0.cjs';
|
|
2
|
+
export { D as DefaultLoggerTypes, E as ExtendedRfc5424LogLevels, L as LoggerConfiguration, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, P as Processor, S as StreamAwareReporter } from './types-DrhFTME0.cjs';
|
|
3
|
+
import { a as PailBrowserImpl } from './pail.browser-pg1HpChf.cjs';
|
|
4
4
|
import '@visulima/colorize';
|
|
5
5
|
import 'safe-stable-stringify';
|
|
6
6
|
|
package/dist/index.server.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as DefaultLogTypes, b as LoggerFunction, f as ServerConstructorOptions, I as InteractiveManager, R as Reporter, C as ConstructorOptions } from './types
|
|
2
|
-
export { D as DefaultLoggerTypes, E as ExtendedRfc5424LogLevels, L as LoggerConfiguration, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, P as Processor, S as StreamAwareReporter } from './types
|
|
3
|
-
import { a as PailBrowserImpl } from './pail.browser-
|
|
1
|
+
import { a as DefaultLogTypes, b as LoggerFunction, f as ServerConstructorOptions, I as InteractiveManager, R as Reporter, C as ConstructorOptions } from './types-DrhFTME0.js';
|
|
2
|
+
export { D as DefaultLoggerTypes, E as ExtendedRfc5424LogLevels, L as LoggerConfiguration, c as LoggerTypesAwareReporter, d as LoggerTypesConfig, P as Processor, S as StreamAwareReporter } from './types-DrhFTME0.js';
|
|
3
|
+
import { a as PailBrowserImpl } from './pail.browser-DuX9zHSz.js';
|
|
4
4
|
import '@visulima/colorize';
|
|
5
5
|
import 'safe-stable-stringify';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { stringify } from 'safe-stable-stringify';
|
|
2
|
-
import { a as DefaultLogTypes, b as LoggerFunction, C as ConstructorOptions, M as Meta, d as LoggerTypesConfig, e as LiteralUnion, P as Processor, E as ExtendedRfc5424LogLevels, R as Reporter } from './types
|
|
2
|
+
import { a as DefaultLogTypes, b as LoggerFunction, C as ConstructorOptions, M as Meta, d as LoggerTypesConfig, e as LiteralUnion, P as Processor, E as ExtendedRfc5424LogLevels, R as Reporter } from './types-DrhFTME0.js';
|
|
3
3
|
|
|
4
4
|
declare class PailBrowserImpl<T extends string = never, L extends string = never> {
|
|
5
5
|
protected timersMap: Map<string, number>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { stringify } from 'safe-stable-stringify';
|
|
2
|
-
import { a as DefaultLogTypes, b as LoggerFunction, C as ConstructorOptions, M as Meta, d as LoggerTypesConfig, e as LiteralUnion, P as Processor, E as ExtendedRfc5424LogLevels, R as Reporter } from './types
|
|
2
|
+
import { a as DefaultLogTypes, b as LoggerFunction, C as ConstructorOptions, M as Meta, d as LoggerTypesConfig, e as LiteralUnion, P as Processor, E as ExtendedRfc5424LogLevels, R as Reporter } from './types-DrhFTME0.cjs';
|
|
3
3
|
|
|
4
4
|
declare class PailBrowserImpl<T extends string = never, L extends string = never> {
|
|
5
5
|
protected timersMap: Map<string, number>;
|
|
@@ -4,7 +4,7 @@ var chunkF4FJCQ4L_cjs = require('./chunk-F4FJCQ4L.cjs');
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
Object.defineProperty(exports,
|
|
7
|
+
Object.defineProperty(exports, "MessageFormatterProcessor", {
|
|
8
8
|
enumerable: true,
|
|
9
9
|
get: function () { return chunkF4FJCQ4L_cjs.a; }
|
|
10
10
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormatterFunction } from '@visulima/fmt';
|
|
2
|
-
import { j as StringifyAwareProcessor, M as Meta } from './types
|
|
2
|
+
import { j as StringifyAwareProcessor, M as Meta } from './types-DrhFTME0.cjs';
|
|
3
3
|
import '@visulima/colorize';
|
|
4
4
|
|
|
5
5
|
declare class MessageFormatterProcessor<L extends string = string> implements StringifyAwareProcessor<L> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormatterFunction } from '@visulima/fmt';
|
|
2
|
-
import { j as StringifyAwareProcessor, M as Meta } from './types
|
|
2
|
+
import { j as StringifyAwareProcessor, M as Meta } from './types-DrhFTME0.js';
|
|
3
3
|
import '@visulima/colorize';
|
|
4
4
|
|
|
5
5
|
declare class MessageFormatterProcessor<L extends string = string> implements StringifyAwareProcessor<L> {
|
|
@@ -5,11 +5,11 @@ var chunkF4FJCQ4L_cjs = require('./chunk-F4FJCQ4L.cjs');
|
|
|
5
5
|
|
|
6
6
|
var o=()=>{let i=Error.prepareStackTrace;try{let r=[];Error.prepareStackTrace=(n,l)=>{let u=l.slice(1);return r=u,u},new Error().stack;let e=r.reduce((n,l)=>(n.push({columnNumber:l.getColumnNumber(),fileName:l.getFileName(),lineNumber:l.getLineNumber()}),n),[]).at(-2);return e?{columnNumber:e.columnNumber??void 0,fileName:e.fileName,lineNumber:e.lineNumber??void 0}:{fileName:"anonymous",lineNumber:void 0}}finally{Error.prepareStackTrace=i;}};var t=class{process(r){let{columnNumber:m,fileName:e,lineNumber:n}=o();return r.file={column:m,line:n,name:e},r}};
|
|
7
7
|
|
|
8
|
-
Object.defineProperty(exports,
|
|
8
|
+
Object.defineProperty(exports, "ErrorProcessor", {
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: function () { return chunkVWAGNTLB_cjs.a; }
|
|
11
11
|
});
|
|
12
|
-
Object.defineProperty(exports,
|
|
12
|
+
Object.defineProperty(exports, "MessageFormatterProcessor", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () { return chunkF4FJCQ4L_cjs.a; }
|
|
15
15
|
});
|
|
@@ -18,7 +18,7 @@ var m=class extends chunkYP3U3DTV_cjs.b{constructor(r={}){super({uppercase:{labe
|
|
|
18
18
|
`+s[0],s.slice(1))):e.push([`
|
|
19
19
|
`+s[0],...s.slice(1)]);}if(t)w(...e);else {let s="",n=[],a=[];for(let l of e)Array.isArray(l)&&l.length>1&&l[0].includes("%c")?(s+=l[0],n.push(...l.slice(1))):a.push(l);w(s+"%c",...n,"",...a);}}_formatLabel(r){let t=this._styles.uppercase.label?r.toUpperCase():r;return t=this._styles.underline.label?z.underline(t):t,this._styles.bold.label&&(t=z.bold(t)),t}};
|
|
20
20
|
|
|
21
|
-
Object.defineProperty(exports,
|
|
21
|
+
Object.defineProperty(exports, "JsonReporter", {
|
|
22
22
|
enumerable: true,
|
|
23
23
|
get: function () { return chunk5MNFJRLM_cjs.a; }
|
|
24
24
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as LiteralUnion, E as ExtendedRfc5424LogLevels, g as ReadonlyMeta } from './types
|
|
2
|
-
import { A as AbstractJsonReporter, a as AbstractPrettyReporter, P as PrettyStyleOptions } from './abstract-pretty-reporter-
|
|
1
|
+
import { e as LiteralUnion, E as ExtendedRfc5424LogLevels, g as ReadonlyMeta } from './types-DrhFTME0.cjs';
|
|
2
|
+
import { A as AbstractJsonReporter, a as AbstractPrettyReporter, P as PrettyStyleOptions } from './abstract-pretty-reporter-DwzTRutd.cjs';
|
|
3
3
|
import '@visulima/colorize';
|
|
4
4
|
import 'safe-stable-stringify';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as LiteralUnion, E as ExtendedRfc5424LogLevels, g as ReadonlyMeta } from './types
|
|
2
|
-
import { A as AbstractJsonReporter, a as AbstractPrettyReporter, P as PrettyStyleOptions } from './abstract-pretty-reporter-
|
|
1
|
+
import { e as LiteralUnion, E as ExtendedRfc5424LogLevels, g as ReadonlyMeta } from './types-DrhFTME0.js';
|
|
2
|
+
import { A as AbstractJsonReporter, a as AbstractPrettyReporter, P as PrettyStyleOptions } from './abstract-pretty-reporter-B-VS5gYX.js';
|
|
3
3
|
import '@visulima/colorize';
|
|
4
4
|
import 'safe-stable-stringify';
|
|
5
5
|
|
package/dist/reporter.server.cjs
CHANGED
|
@@ -15,7 +15,7 @@ var a=class{_ready=!0;_stream;_name;constructor(t,r){this._stream=t,this._name=r
|
|
|
15
15
|
`);}};var p=class extends s{#t;constructor(t){super({compress:"gzip",interval:"1d",size:"10M",...t});}setStringify(t){this.#t=t;}_formatMessage(t){let{type:r,...e}=t;return e.label&&(e.label=e.label.trim()),e.file&&(e.file=e.file.name+":"+e.file.line+(e.file.column?":"+e.file.column:"")),this.#t(e)}};var m=class extends chunkZJMTPHZR_cjs.a{#t;#e;constructor(){super(),this.#t=c__default.default.stdout,this.#e=c__default.default.stderr;}setStdout(t){this.#t=t;}setStderr(t){this.#e=t;}_log(t,r){let e=["error","warn"].includes(r)?this.#e:this.#t;chunkS4PFPURC_cjs.c(t+`
|
|
16
16
|
`,e);}};
|
|
17
17
|
|
|
18
|
-
Object.defineProperty(exports,
|
|
18
|
+
Object.defineProperty(exports, "PrettyReporter", {
|
|
19
19
|
enumerable: true,
|
|
20
20
|
get: function () { return chunkS4PFPURC_cjs.d; }
|
|
21
21
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Options as Options$1 } from 'rotating-file-stream';
|
|
2
|
-
import { R as Reporter, g as ReadonlyMeta, M as Meta, S as StreamAwareReporter, e as LiteralUnion, E as ExtendedRfc5424LogLevels, i as InteractiveStreamReporter, I as InteractiveManager } from './types
|
|
3
|
-
import { A as AbstractJsonReporter, a as AbstractPrettyReporter, P as PrettyStyleOptions } from './abstract-pretty-reporter-
|
|
2
|
+
import { R as Reporter, g as ReadonlyMeta, M as Meta, S as StreamAwareReporter, e as LiteralUnion, E as ExtendedRfc5424LogLevels, i as InteractiveStreamReporter, I as InteractiveManager } from './types-DrhFTME0.cjs';
|
|
3
|
+
import { A as AbstractJsonReporter, a as AbstractPrettyReporter, P as PrettyStyleOptions } from './abstract-pretty-reporter-DwzTRutd.cjs';
|
|
4
4
|
import '@visulima/colorize';
|
|
5
5
|
import 'safe-stable-stringify';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Options as Options$1 } from 'rotating-file-stream';
|
|
2
|
-
import { R as Reporter, g as ReadonlyMeta, M as Meta, S as StreamAwareReporter, e as LiteralUnion, E as ExtendedRfc5424LogLevels, i as InteractiveStreamReporter, I as InteractiveManager } from './types
|
|
3
|
-
import { A as AbstractJsonReporter, a as AbstractPrettyReporter, P as PrettyStyleOptions } from './abstract-pretty-reporter-
|
|
2
|
+
import { R as Reporter, g as ReadonlyMeta, M as Meta, S as StreamAwareReporter, e as LiteralUnion, E as ExtendedRfc5424LogLevels, i as InteractiveStreamReporter, I as InteractiveManager } from './types-DrhFTME0.js';
|
|
3
|
+
import { A as AbstractJsonReporter, a as AbstractPrettyReporter, P as PrettyStyleOptions } from './abstract-pretty-reporter-B-VS5gYX.js';
|
|
4
4
|
import '@visulima/colorize';
|
|
5
5
|
import 'safe-stable-stringify';
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,258 +1,258 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
2
|
+
"name": "@visulima/pail",
|
|
3
|
+
"version": "1.1.12",
|
|
4
|
+
"description": "Find a file or directory by walking up parent directories.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"anolilab",
|
|
7
|
+
"browser",
|
|
8
|
+
"browser-logger",
|
|
9
|
+
"callsite",
|
|
10
|
+
"callsites",
|
|
11
|
+
"cli",
|
|
12
|
+
"color",
|
|
13
|
+
"colorful",
|
|
14
|
+
"colorize",
|
|
15
|
+
"consola",
|
|
16
|
+
"console",
|
|
17
|
+
"console-logger",
|
|
18
|
+
"debug",
|
|
19
|
+
"error-logging",
|
|
20
|
+
"file-logger",
|
|
21
|
+
"file-logging",
|
|
22
|
+
"filesystem-logger",
|
|
23
|
+
"filter",
|
|
24
|
+
"fs-logger",
|
|
25
|
+
"handling exceptions",
|
|
26
|
+
"json",
|
|
27
|
+
"json-logger",
|
|
28
|
+
"json-logging",
|
|
29
|
+
"log level",
|
|
30
|
+
"log",
|
|
31
|
+
"log-cleaner",
|
|
32
|
+
"log-rotation",
|
|
33
|
+
"log4j",
|
|
34
|
+
"log4js",
|
|
35
|
+
"log4ts",
|
|
36
|
+
"logger",
|
|
37
|
+
"logging",
|
|
38
|
+
"node",
|
|
39
|
+
"node-logger",
|
|
40
|
+
"pail",
|
|
41
|
+
"pino",
|
|
42
|
+
"pretty-error",
|
|
43
|
+
"pretty-log",
|
|
44
|
+
"print",
|
|
45
|
+
"progress",
|
|
46
|
+
"redact",
|
|
47
|
+
"rotating-log",
|
|
48
|
+
"show error",
|
|
49
|
+
"timer",
|
|
50
|
+
"visulima",
|
|
51
|
+
"warning-logging",
|
|
52
|
+
"winston"
|
|
53
|
+
],
|
|
54
|
+
"homepage": "https://www.visulima.com/docs/package/pail",
|
|
55
|
+
"repository": {
|
|
56
|
+
"type": "git",
|
|
57
|
+
"url": "https://github.com/visulima/visulima.git",
|
|
58
|
+
"directory": "packages/pail"
|
|
59
|
+
},
|
|
60
|
+
"funding": [
|
|
61
|
+
{
|
|
62
|
+
"type": "github",
|
|
63
|
+
"url": "https://github.com/sponsors/prisis"
|
|
59
64
|
},
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
65
|
+
{
|
|
66
|
+
"type": "consulting",
|
|
67
|
+
"url": "https://anolilab.com/support"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"license": "MIT",
|
|
71
|
+
"author": {
|
|
72
|
+
"name": "Daniel Bannert",
|
|
73
|
+
"email": "d.bannert@anolilab.de",
|
|
74
|
+
"url": "https://danielbannert.com"
|
|
75
|
+
},
|
|
76
|
+
"sideEffects": false,
|
|
77
|
+
"type": "module",
|
|
78
|
+
"exports": {
|
|
79
|
+
".": {
|
|
80
|
+
"browser": "./dist/index.browser.js",
|
|
81
|
+
"require": {
|
|
82
|
+
"types": "./dist/index.server.d.cts",
|
|
83
|
+
"default": "./dist/index.server.cjs"
|
|
84
|
+
},
|
|
85
|
+
"import": {
|
|
86
|
+
"types": "./dist/index.server.d.ts",
|
|
87
|
+
"default": "./dist/index.server.js"
|
|
88
|
+
}
|
|
75
89
|
},
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
"import": {
|
|
86
|
-
"types": "./dist/index.server.d.ts",
|
|
87
|
-
"default": "./dist/index.server.js"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"./browser": {
|
|
91
|
-
"require": {
|
|
92
|
-
"types": "./dist/index.browser.d.cts",
|
|
93
|
-
"default": "./dist/index.browser.cjs"
|
|
94
|
-
},
|
|
95
|
-
"import": {
|
|
96
|
-
"types": "./dist/index.browser.d.ts",
|
|
97
|
-
"default": "./dist/index.browser.js"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"./server": {
|
|
101
|
-
"require": {
|
|
102
|
-
"types": "./dist/index.server.d.cts",
|
|
103
|
-
"default": "./dist/index.server.cjs"
|
|
104
|
-
},
|
|
105
|
-
"import": {
|
|
106
|
-
"types": "./dist/index.server.d.ts",
|
|
107
|
-
"default": "./dist/index.server.js"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"./reporter": {
|
|
111
|
-
"browser": "./dist/reporter.browser.js",
|
|
112
|
-
"require": {
|
|
113
|
-
"types": "./dist/reporter.server.d.cts",
|
|
114
|
-
"default": "./dist/reporter.server.cjs"
|
|
115
|
-
},
|
|
116
|
-
"import": {
|
|
117
|
-
"types": "./dist/reporter.server.d.ts",
|
|
118
|
-
"default": "./dist/reporter.server.js"
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"./browser/reporter": {
|
|
122
|
-
"require": {
|
|
123
|
-
"types": "./dist/reporter.browser.d.cts",
|
|
124
|
-
"default": "./dist/reporter.browser.cjs"
|
|
125
|
-
},
|
|
126
|
-
"import": {
|
|
127
|
-
"types": "./dist/reporter.browser.d.ts",
|
|
128
|
-
"default": "./dist/reporter.browser.js"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"./server/reporter": {
|
|
132
|
-
"browser": "./dist/reporter.browser.js",
|
|
133
|
-
"require": {
|
|
134
|
-
"types": "./dist/reporter.server.d.cts",
|
|
135
|
-
"default": "./dist/reporter.server.cjs"
|
|
136
|
-
},
|
|
137
|
-
"import": {
|
|
138
|
-
"types": "./dist/reporter.server.d.ts",
|
|
139
|
-
"default": "./dist/reporter.server.js"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
"./processor": {
|
|
143
|
-
"browser": "./dist/processor.browser.js",
|
|
144
|
-
"require": {
|
|
145
|
-
"types": "./dist/processor.server.d.cts",
|
|
146
|
-
"default": "./dist/processor.server.cjs"
|
|
147
|
-
},
|
|
148
|
-
"import": {
|
|
149
|
-
"types": "./dist/processor.server.d.ts",
|
|
150
|
-
"default": "./dist/processor.server.js"
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
"./package.json": "./package.json"
|
|
90
|
+
"./browser": {
|
|
91
|
+
"require": {
|
|
92
|
+
"types": "./dist/index.browser.d.cts",
|
|
93
|
+
"default": "./dist/index.browser.cjs"
|
|
94
|
+
},
|
|
95
|
+
"import": {
|
|
96
|
+
"types": "./dist/index.browser.d.ts",
|
|
97
|
+
"default": "./dist/index.browser.js"
|
|
98
|
+
}
|
|
154
99
|
},
|
|
155
|
-
"
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
|
|
164
|
-
],
|
|
165
|
-
"scripts": {
|
|
166
|
-
"build": "cross-env NODE_ENV=development tsup",
|
|
167
|
-
"build:prod": "node ./scripts/wait.js && cross-env NODE_ENV=production tsup",
|
|
168
|
-
"clean": "rimraf node_modules dist .eslintcache",
|
|
169
|
-
"dev": "pnpm run build --watch",
|
|
170
|
-
"lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs",
|
|
171
|
-
"lint:eslint:fix": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs --fix",
|
|
172
|
-
"lint:packagejson": "publint --strict",
|
|
173
|
-
"lint:prettier": "prettier --config=.prettierrc.cjs --check .",
|
|
174
|
-
"lint:prettier:fix": "prettier --config=.prettierrc.cjs --write .",
|
|
175
|
-
"lint:types": "tsc --noEmit || exit 0",
|
|
176
|
-
"test": "vitest run",
|
|
177
|
-
"test:coverage": "vitest run --coverage",
|
|
178
|
-
"test:ui": "vitest --ui --coverage.enabled=true",
|
|
179
|
-
"test:watch": "vitest"
|
|
100
|
+
"./server": {
|
|
101
|
+
"require": {
|
|
102
|
+
"types": "./dist/index.server.d.cts",
|
|
103
|
+
"default": "./dist/index.server.cjs"
|
|
104
|
+
},
|
|
105
|
+
"import": {
|
|
106
|
+
"types": "./dist/index.server.d.ts",
|
|
107
|
+
"default": "./dist/index.server.js"
|
|
108
|
+
}
|
|
180
109
|
},
|
|
181
|
-
"
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
"
|
|
110
|
+
"./reporter": {
|
|
111
|
+
"browser": "./dist/reporter.browser.js",
|
|
112
|
+
"require": {
|
|
113
|
+
"types": "./dist/reporter.server.d.cts",
|
|
114
|
+
"default": "./dist/reporter.server.cjs"
|
|
115
|
+
},
|
|
116
|
+
"import": {
|
|
117
|
+
"types": "./dist/reporter.server.d.ts",
|
|
118
|
+
"default": "./dist/reporter.server.js"
|
|
119
|
+
}
|
|
185
120
|
},
|
|
186
|
-
"
|
|
187
|
-
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
|
|
195
|
-
"@vitest/coverage-v8": "^1.5.2",
|
|
196
|
-
"@vitest/ui": "^1.5.2",
|
|
197
|
-
"cross-env": "^7.0.3",
|
|
198
|
-
"eslint": "^8.57.0",
|
|
199
|
-
"eslint-plugin-deprecation": "^2.0.0",
|
|
200
|
-
"eslint-plugin-etc": "^2.0.3",
|
|
201
|
-
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
|
|
202
|
-
"eslint-plugin-mdx": "^3.1.5",
|
|
203
|
-
"eslint-plugin-vitest": "^0.4.1",
|
|
204
|
-
"eslint-plugin-vitest-globals": "^1.5.0",
|
|
205
|
-
"prettier": "^3.2.5",
|
|
206
|
-
"rimraf": "^5.0.5",
|
|
207
|
-
"rotating-file-stream": "^3.2.1",
|
|
208
|
-
"secretlint": "8.2.3",
|
|
209
|
-
"semantic-release": "^23.0.8",
|
|
210
|
-
"sort-package-json": "^2.10.0",
|
|
211
|
-
"string-length": "^6.0.0",
|
|
212
|
-
"terminal-size": "^4.0.0",
|
|
213
|
-
"tsup": "^8.0.2",
|
|
214
|
-
"typescript": "^5.4.5",
|
|
215
|
-
"vitest": "^1.5.2",
|
|
216
|
-
"wrap-ansi": "^9.0.0"
|
|
121
|
+
"./browser/reporter": {
|
|
122
|
+
"require": {
|
|
123
|
+
"types": "./dist/reporter.browser.d.cts",
|
|
124
|
+
"default": "./dist/reporter.browser.cjs"
|
|
125
|
+
},
|
|
126
|
+
"import": {
|
|
127
|
+
"types": "./dist/reporter.browser.d.ts",
|
|
128
|
+
"default": "./dist/reporter.browser.js"
|
|
129
|
+
}
|
|
217
130
|
},
|
|
218
|
-
"
|
|
219
|
-
|
|
131
|
+
"./server/reporter": {
|
|
132
|
+
"browser": "./dist/reporter.browser.js",
|
|
133
|
+
"require": {
|
|
134
|
+
"types": "./dist/reporter.server.d.cts",
|
|
135
|
+
"default": "./dist/reporter.server.cjs"
|
|
136
|
+
},
|
|
137
|
+
"import": {
|
|
138
|
+
"types": "./dist/reporter.server.d.ts",
|
|
139
|
+
"default": "./dist/reporter.server.js"
|
|
140
|
+
}
|
|
220
141
|
},
|
|
221
|
-
"
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
142
|
+
"./processor": {
|
|
143
|
+
"browser": "./dist/processor.browser.js",
|
|
144
|
+
"require": {
|
|
145
|
+
"types": "./dist/processor.server.d.cts",
|
|
146
|
+
"default": "./dist/processor.server.cjs"
|
|
147
|
+
},
|
|
148
|
+
"import": {
|
|
149
|
+
"types": "./dist/processor.server.d.ts",
|
|
150
|
+
"default": "./dist/processor.server.js"
|
|
151
|
+
}
|
|
225
152
|
},
|
|
226
|
-
"
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
"
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
"
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
153
|
+
"./package.json": "./package.json"
|
|
154
|
+
},
|
|
155
|
+
"main": "dist/index.server.cjs",
|
|
156
|
+
"module": "dist/index.server.js",
|
|
157
|
+
"browser": "dist/index.browser.js",
|
|
158
|
+
"types": "dist/index.server.d.ts",
|
|
159
|
+
"files": [
|
|
160
|
+
"dist/**",
|
|
161
|
+
"README.md",
|
|
162
|
+
"CHANGELOG.md",
|
|
163
|
+
"LICENSE.md"
|
|
164
|
+
],
|
|
165
|
+
"dependencies": {
|
|
166
|
+
"@visulima/colorize": "1.4.2",
|
|
167
|
+
"@visulima/fmt": "1.1.5",
|
|
168
|
+
"safe-stable-stringify": "^2.4.3"
|
|
169
|
+
},
|
|
170
|
+
"devDependencies": {
|
|
171
|
+
"@anolilab/eslint-config": "^15.0.3",
|
|
172
|
+
"@anolilab/prettier-config": "^5.0.14",
|
|
173
|
+
"@anolilab/semantic-release-pnpm": "^1.1.0",
|
|
174
|
+
"@anolilab/semantic-release-preset": "^8.1.0",
|
|
175
|
+
"@babel/core": "^7.24.6",
|
|
176
|
+
"@rushstack/eslint-plugin-security": "^0.8.1",
|
|
177
|
+
"@secretlint/secretlint-rule-preset-recommend": "^8.2.4",
|
|
178
|
+
"@total-typescript/ts-reset": "^0.5.1",
|
|
179
|
+
"@types/node": "18.18.8",
|
|
180
|
+
"@vitest/coverage-v8": "^1.6.0",
|
|
181
|
+
"@vitest/ui": "^1.6.0",
|
|
182
|
+
"cross-env": "^7.0.3",
|
|
183
|
+
"eslint": "^8.57.0",
|
|
184
|
+
"eslint-plugin-deprecation": "^3.0.0",
|
|
185
|
+
"eslint-plugin-etc": "^2.0.3",
|
|
186
|
+
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
|
|
187
|
+
"eslint-plugin-mdx": "^3.1.5",
|
|
188
|
+
"eslint-plugin-vitest": "^0.4.1",
|
|
189
|
+
"eslint-plugin-vitest-globals": "^1.5.0",
|
|
190
|
+
"prettier": "^3.3.0",
|
|
191
|
+
"rimraf": "^5.0.7",
|
|
192
|
+
"rotating-file-stream": "^3.2.1",
|
|
193
|
+
"secretlint": "8.2.3",
|
|
194
|
+
"semantic-release": "23.1.1",
|
|
195
|
+
"string-length": "^6.0.0",
|
|
196
|
+
"terminal-size": "^4.0.0",
|
|
197
|
+
"tsup": "^8.1.0",
|
|
198
|
+
"typescript": "^5.4.5",
|
|
199
|
+
"vitest": "^1.6.0",
|
|
200
|
+
"wrap-ansi": "^9.0.0"
|
|
201
|
+
},
|
|
202
|
+
"peerDependencies": {
|
|
203
|
+
"rotating-file-stream": "^3.1.1"
|
|
204
|
+
},
|
|
205
|
+
"peerDependenciesMeta": {
|
|
206
|
+
"rotating-file-stream": {
|
|
207
|
+
"optional": true
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"engines": {
|
|
211
|
+
"node": ">=18.* <=22.*"
|
|
212
|
+
},
|
|
213
|
+
"os": [
|
|
214
|
+
"darwin",
|
|
215
|
+
"linux",
|
|
216
|
+
"win32"
|
|
217
|
+
],
|
|
218
|
+
"publishConfig": {
|
|
219
|
+
"access": "public",
|
|
220
|
+
"provenance": true
|
|
221
|
+
},
|
|
222
|
+
"anolilab": {
|
|
223
|
+
"eslint-config": {
|
|
224
|
+
"plugin": {
|
|
225
|
+
"tsdoc": false
|
|
226
|
+
},
|
|
227
|
+
"warn_on_unsupported_typescript_version": false,
|
|
228
|
+
"info_on_disabling_jsx_react_rule": false,
|
|
229
|
+
"info_on_disabling_prettier_conflict_rule": false,
|
|
230
|
+
"info_on_disabling_jsonc_sort_keys_rule": false,
|
|
231
|
+
"info_on_disabling_etc_no_deprecated": false
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"sources": [
|
|
235
|
+
"src/index.browser.ts",
|
|
236
|
+
"src/index.server.ts",
|
|
237
|
+
"src/processor.browser.ts",
|
|
238
|
+
"src/processor.server.ts",
|
|
239
|
+
"src/reporter.browser.ts",
|
|
240
|
+
"src/reporter.server.ts"
|
|
241
|
+
],
|
|
242
|
+
"scripts": {
|
|
243
|
+
"build": "cross-env NODE_ENV=development tsup",
|
|
244
|
+
"build:prod": "node ./scripts/wait.js && cross-env NODE_ENV=production tsup",
|
|
245
|
+
"clean": "rimraf node_modules dist .eslintcache",
|
|
246
|
+
"dev": "pnpm run build --watch",
|
|
247
|
+
"lint:eslint": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs",
|
|
248
|
+
"lint:eslint:fix": "eslint . --ext js,cjs,mjs,jsx,ts,tsx,json,yaml,yml,md,mdx --max-warnings=0 --config .eslintrc.cjs --fix",
|
|
249
|
+
"lint:package-json": "publint --strict",
|
|
250
|
+
"lint:prettier": "prettier --config=.prettierrc.cjs --check .",
|
|
251
|
+
"lint:prettier:fix": "prettier --config=.prettierrc.cjs --write .",
|
|
252
|
+
"lint:types": "tsc --noEmit || exit 0",
|
|
253
|
+
"test": "vitest run",
|
|
254
|
+
"test:coverage": "vitest run --coverage",
|
|
255
|
+
"test:ui": "vitest --ui --coverage.enabled=true",
|
|
256
|
+
"test:watch": "vitest"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
File without changes
|
|
File without changes
|