@ls-stack/utils 3.38.0 → 3.40.0

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.
@@ -8,17 +8,17 @@
8
8
 
9
9
  ## Variables
10
10
 
11
- ### consoleFmt
11
+ ### ~~consoleFmt~~
12
12
 
13
13
  ```ts
14
14
  const consoleFmt: object;
15
15
  ```
16
16
 
17
- Defined in: [packages/utils/src/consoleFmt.ts:56](https://github.com/lucasols/utils/blob/main/packages/utils/src/consoleFmt.ts#L56)
17
+ Defined in: [packages/utils/src/consoleFmt.ts:61](https://github.com/lucasols/utils/blob/main/packages/utils/src/consoleFmt.ts#L61)
18
18
 
19
19
  #### Type declaration
20
20
 
21
- ##### bgColor()
21
+ ##### ~~bgColor()~~
22
22
 
23
23
  ```ts
24
24
  bgColor: (color, text) => string;
@@ -38,7 +38,11 @@ bgColor: (color, text) => string;
38
38
 
39
39
  `string`
40
40
 
41
- ##### bold()
41
+ ###### Deprecated
42
+
43
+ Use `styleText` from `node:util` instead.
44
+
45
+ ##### ~~bold()~~
42
46
 
43
47
  ```ts
44
48
  bold: (text) => string;
@@ -54,7 +58,11 @@ bold: (text) => string;
54
58
 
55
59
  `string`
56
60
 
57
- ##### color()
61
+ ###### Deprecated
62
+
63
+ Use `styleText` from `node:util` instead.
64
+
65
+ ##### ~~color()~~
58
66
 
59
67
  ```ts
60
68
  color: (color, text) => string = consoleColors;
@@ -74,7 +82,15 @@ color: (color, text) => string = consoleColors;
74
82
 
75
83
  `string`
76
84
 
77
- ##### underline()
85
+ ###### Deprecated
86
+
87
+ Use `styleText` from `node:util` instead.
88
+
89
+ ###### Deprecated
90
+
91
+ Use `styleText` from `node:util` instead.
92
+
93
+ ##### ~~underline()~~
78
94
 
79
95
  ```ts
80
96
  underline: (text) => string;
@@ -89,3 +105,11 @@ underline: (text) => string;
89
105
  ###### Returns
90
106
 
91
107
  `string`
108
+
109
+ ###### Deprecated
110
+
111
+ Use `styleText` from `node:util` instead.
112
+
113
+ #### Deprecated
114
+
115
+ Use `styleText` from `node:util` instead.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ls-stack/utils",
3
3
  "description": "Universal TypeScript utilities for browser and Node.js",
4
- "version": "3.38.0",
4
+ "version": "3.40.0",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "dist",
@@ -252,7 +252,7 @@
252
252
  },
253
253
  "dependencies": {
254
254
  "evtmitter": "^1.0.2",
255
- "t-result": "^0.3.0"
255
+ "t-result": "^0.6.1"
256
256
  },
257
257
  "scripts": {
258
258
  "test:ui": "vitest --ui",