@visulima/pail 1.1.11 → 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 CHANGED
@@ -1,3 +1,22 @@
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
+
1
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)
2
21
 
3
22
 
@@ -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--_CcxoUw.js';
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;
@@ -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--_CcxoUw.cjs';
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;
@@ -1,6 +1,6 @@
1
- import { P as PailBrowserType } from './pail.browser-qG_FNUeK.cjs';
2
- import { C as ConstructorOptions } from './types--_CcxoUw.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--_CcxoUw.cjs';
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
 
@@ -1,6 +1,6 @@
1
- import { P as PailBrowserType } from './pail.browser-0Ej0KEkV.js';
2
- import { C as ConstructorOptions } from './types--_CcxoUw.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--_CcxoUw.js';
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
 
@@ -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--_CcxoUw.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--_CcxoUw.cjs';
3
- import { a as PailBrowserImpl } from './pail.browser-qG_FNUeK.cjs';
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
 
@@ -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--_CcxoUw.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--_CcxoUw.js';
3
- import { a as PailBrowserImpl } from './pail.browser-0Ej0KEkV.js';
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--_CcxoUw.js';
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--_CcxoUw.cjs';
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, 'MessageFormatterProcessor', {
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--_CcxoUw.cjs';
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--_CcxoUw.js';
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, 'ErrorProcessor', {
8
+ Object.defineProperty(exports, "ErrorProcessor", {
9
9
  enumerable: true,
10
10
  get: function () { return chunkVWAGNTLB_cjs.a; }
11
11
  });
12
- Object.defineProperty(exports, 'MessageFormatterProcessor', {
12
+ Object.defineProperty(exports, "MessageFormatterProcessor", {
13
13
  enumerable: true,
14
14
  get: function () { return chunkF4FJCQ4L_cjs.a; }
15
15
  });
@@ -1,4 +1,4 @@
1
- import { P as Processor, M as Meta } from './types--_CcxoUw.cjs';
1
+ import { P as Processor, M as Meta } from './types-DrhFTME0.cjs';
2
2
  export { MessageFormatterProcessor } from './processor.browser.cjs';
3
3
  import '@visulima/colorize';
4
4
  import '@visulima/fmt';
@@ -1,4 +1,4 @@
1
- import { P as Processor, M as Meta } from './types--_CcxoUw.js';
1
+ import { P as Processor, M as Meta } from './types-DrhFTME0.js';
2
2
  export { MessageFormatterProcessor } from './processor.browser.js';
3
3
  import '@visulima/colorize';
4
4
  import '@visulima/fmt';
@@ -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, 'JsonReporter', {
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--_CcxoUw.cjs';
2
- import { A as AbstractJsonReporter, a as AbstractPrettyReporter, P as PrettyStyleOptions } from './abstract-pretty-reporter-SBWxNXW5.cjs';
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--_CcxoUw.js';
2
- import { A as AbstractJsonReporter, a as AbstractPrettyReporter, P as PrettyStyleOptions } from './abstract-pretty-reporter-L82dKD7X.js';
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
 
@@ -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, 'PrettyReporter', {
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--_CcxoUw.cjs';
3
- import { A as AbstractJsonReporter, a as AbstractPrettyReporter, P as PrettyStyleOptions } from './abstract-pretty-reporter-SBWxNXW5.cjs';
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--_CcxoUw.js';
3
- import { A as AbstractJsonReporter, a as AbstractPrettyReporter, P as PrettyStyleOptions } from './abstract-pretty-reporter-L82dKD7X.js';
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/pail",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "Find a file or directory by walking up parent directories.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -163,8 +163,8 @@
163
163
  "LICENSE.md"
164
164
  ],
165
165
  "dependencies": {
166
- "@visulima/colorize": "1.4.1",
167
- "@visulima/fmt": "1.1.4",
166
+ "@visulima/colorize": "1.4.2",
167
+ "@visulima/fmt": "1.1.5",
168
168
  "safe-stable-stringify": "^2.4.3"
169
169
  },
170
170
  "devDependencies": {
@@ -172,7 +172,7 @@
172
172
  "@anolilab/prettier-config": "^5.0.14",
173
173
  "@anolilab/semantic-release-pnpm": "^1.1.0",
174
174
  "@anolilab/semantic-release-preset": "^8.1.0",
175
- "@babel/core": "^7.24.5",
175
+ "@babel/core": "^7.24.6",
176
176
  "@rushstack/eslint-plugin-security": "^0.8.1",
177
177
  "@secretlint/secretlint-rule-preset-recommend": "^8.2.4",
178
178
  "@total-typescript/ts-reset": "^0.5.1",
@@ -181,20 +181,20 @@
181
181
  "@vitest/ui": "^1.6.0",
182
182
  "cross-env": "^7.0.3",
183
183
  "eslint": "^8.57.0",
184
- "eslint-plugin-deprecation": "^2.0.0",
184
+ "eslint-plugin-deprecation": "^3.0.0",
185
185
  "eslint-plugin-etc": "^2.0.3",
186
186
  "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
187
187
  "eslint-plugin-mdx": "^3.1.5",
188
188
  "eslint-plugin-vitest": "^0.4.1",
189
189
  "eslint-plugin-vitest-globals": "^1.5.0",
190
- "prettier": "^3.2.5",
190
+ "prettier": "^3.3.0",
191
191
  "rimraf": "^5.0.7",
192
192
  "rotating-file-stream": "^3.2.1",
193
193
  "secretlint": "8.2.3",
194
- "semantic-release": "^23.1.1",
194
+ "semantic-release": "23.1.1",
195
195
  "string-length": "^6.0.0",
196
196
  "terminal-size": "^4.0.0",
197
- "tsup": "^8.0.2",
197
+ "tsup": "^8.1.0",
198
198
  "typescript": "^5.4.5",
199
199
  "vitest": "^1.6.0",
200
200
  "wrap-ansi": "^9.0.0"
@@ -208,7 +208,7 @@
208
208
  }
209
209
  },
210
210
  "engines": {
211
- "node": ">=18.* <=21.*"
211
+ "node": ">=18.* <=22.*"
212
212
  },
213
213
  "os": [
214
214
  "darwin",