@likec4/log 1.19.0 → 1.19.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.
@@ -3,7 +3,7 @@
3
3
  const process$1 = require('node:process');
4
4
  const g = require('node:readline');
5
5
  const tty = require('node:tty');
6
- const index = require('../shared/log.BlVkI277.cjs');
6
+ const index = require('../shared/log.DQnPBfHC.cjs');
7
7
  require('node:util');
8
8
  require('node:path');
9
9
 
@@ -1,7 +1,7 @@
1
1
  import { stdin, stdout } from 'node:process';
2
2
  import g from 'node:readline';
3
3
  import { WriteStream } from 'node:tty';
4
- import { i as isUnicodeSupported, c as colors } from '../shared/log.Ct4dcwC7.mjs';
4
+ import { i as isUnicodeSupported, c as colors } from '../shared/log.BjyNw23f.mjs';
5
5
  import 'node:util';
6
6
  import 'node:path';
7
7
 
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./shared/log.BlVkI277.cjs');
3
+ const index = require('./shared/log.DQnPBfHC.cjs');
4
4
  require('node:util');
5
5
  require('node:path');
6
6
  require('node:process');
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { L as LogLevels, a as consola, f as formatLogObj, a as logger, a as rootLogger } from './shared/log.Ct4dcwC7.mjs';
1
+ export { L as LogLevels, a as consola, f as formatLogObj, a as logger, a as rootLogger } from './shared/log.BjyNw23f.mjs';
2
2
  import 'node:util';
3
3
  import 'node:path';
4
4
  import 'node:process';
@@ -2811,6 +2811,8 @@ const consola = createConsola({
2811
2811
  defaults: {
2812
2812
  level
2813
2813
  },
2814
+ throttle: 2,
2815
+ throttleMin: 500,
2814
2816
  formatOptions: {
2815
2817
  colors: true,
2816
2818
  compact: false,
@@ -2830,6 +2830,8 @@ const consola = createConsola({
2830
2830
  defaults: {
2831
2831
  level
2832
2832
  },
2833
+ throttle: 2,
2834
+ throttleMin: 500,
2833
2835
  formatOptions: {
2834
2836
  colors: true,
2835
2837
  compact: false,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@likec4/log",
3
3
  "license": "MIT",
4
- "version": "1.19.0",
4
+ "version": "1.19.1",
5
5
  "bugs": "https://github.com/likec4/likec4/issues",
6
6
  "homepage": "https://likec4.dev",
7
7
  "author": "Denis Davydkov <denis@davydkov.com>",
@@ -17,7 +17,7 @@
17
17
  "type": "module",
18
18
  "exports": {
19
19
  ".": {
20
- "development": "./src/index.ts",
20
+ "sources": "./src/index.ts",
21
21
  "node": {
22
22
  "types": "./dist/index.d.ts",
23
23
  "import": "./dist/index.mjs",
@@ -44,7 +44,7 @@
44
44
  "build": "unbuild"
45
45
  },
46
46
  "devDependencies": {
47
- "@likec4/tsconfig": "1.19.0",
47
+ "@likec4/tsconfig": "1.19.1",
48
48
  "@types/node": "^20.17.7",
49
49
  "consola": "^3.3.3",
50
50
  "merge-error-cause": "^5.0.0",
package/src/index.ts CHANGED
@@ -24,6 +24,8 @@ const consola = createConsola({
24
24
  defaults: {
25
25
  level,
26
26
  },
27
+ throttle: 2,
28
+ throttleMin: 500,
27
29
  formatOptions: {
28
30
  colors: true,
29
31
  compact: false,