@alwatr/logger 2.1.1 → 2.1.3
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 +123 -111
- package/define-package.d.ts.map +1 -1
- package/define-package.js +5 -3
- package/define-package.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,60 +3,72 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [2.1.
|
|
6
|
+
## [2.1.3](https://github.com/Alwatr/eslib/compare/@alwatr/logger@2.1.2...@alwatr/logger@2.1.3) (2023-11-08)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* move repo urls ([719aa3e](https://github.com/Alwatr/eslib/commit/719aa3e7462d3c9c6272958fc93f89fda6793fb1)) by @AliMD
|
|
11
|
+
|
|
12
|
+
## [2.1.2](https://github.com/Alwatr/eslib/compare/@alwatr/logger@2.1.1...@alwatr/logger@2.1.2) (2023-11-01)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **logger:** show duplicate_old_package_defined error after all packages designed ([8bb3410](https://github.com/Alwatr/eslib/commit/8bb341033091d25d1128127e00fafdafc25d1827)) by @
|
|
17
|
+
|
|
18
|
+
## [2.1.1](https://github.com/Alwatr/eslib/compare/@alwatr/logger@2.1.0...@alwatr/logger@2.1.1) (2023-10-23)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @alwatr/logger
|
|
9
21
|
|
|
10
|
-
# [2.1.0](https://github.com/
|
|
22
|
+
# [2.1.0](https://github.com/Alwatr/eslib/compare/@alwatr/logger@2.0.0...@alwatr/logger@2.1.0) (2023-10-23)
|
|
11
23
|
|
|
12
24
|
### Features
|
|
13
25
|
|
|
14
|
-
* **logger:** accident if old Alwatr.registeredList found ([d0ae735](https://github.com/
|
|
26
|
+
* **logger:** accident if old Alwatr.registeredList found ([d0ae735](https://github.com/Alwatr/eslib/commit/d0ae735b2b54cc75a380902d9fbe9dddaad650f4)) by @
|
|
15
27
|
|
|
16
|
-
# [2.0.0](https://github.com/
|
|
28
|
+
# [2.0.0](https://github.com/Alwatr/eslib/compare/@alwatr/logger@1.2.0...@alwatr/logger@2.0.0) (2023-10-23)
|
|
17
29
|
|
|
18
30
|
### Bug Fixes
|
|
19
31
|
|
|
20
|
-
* **logger:** remove globalAlwatr ([e7a7236](https://github.com/
|
|
32
|
+
* **logger:** remove globalAlwatr ([e7a7236](https://github.com/Alwatr/eslib/commit/e7a72361715cbeb05c5dea4dbff7c2b583d2eab2)) by @AliMD
|
|
21
33
|
|
|
22
34
|
### Features
|
|
23
35
|
|
|
24
|
-
* **logger:** define logger package ([5beaaf4](https://github.com/
|
|
25
|
-
* **logger:** definePackage, the new api for global alwatr ([e3635e2](https://github.com/
|
|
26
|
-
* **logger:** remove desc from incident & accident ([fa38b68](https://github.com/
|
|
36
|
+
* **logger:** define logger package ([5beaaf4](https://github.com/Alwatr/eslib/commit/5beaaf4f6f2f74d4976f9d0d58927526f283d5f9)) by @AliMD
|
|
37
|
+
* **logger:** definePackage, the new api for global alwatr ([e3635e2](https://github.com/Alwatr/eslib/commit/e3635e2012e5ab5a79622693c5bf7c4639840258)) by @AliMD
|
|
38
|
+
* **logger:** remove desc from incident & accident ([fa38b68](https://github.com/Alwatr/eslib/commit/fa38b68ce63524f1b53f3ad135450289eff66ae8)) by @AliMD
|
|
27
39
|
|
|
28
40
|
### BREAKING CHANGES
|
|
29
41
|
|
|
30
42
|
* **logger:** remove desc from incident & accident
|
|
31
43
|
* **logger:** global Alwatr.registeredList not exist anymore
|
|
32
44
|
|
|
33
|
-
# [1.2.0](https://github.com/
|
|
45
|
+
# [1.2.0](https://github.com/Alwatr/eslib/compare/@alwatr/logger@1.1.5...@alwatr/logger@1.2.0) (2023-10-23)
|
|
34
46
|
|
|
35
47
|
### Features
|
|
36
48
|
|
|
37
|
-
* **logger:** banner method ([3e3af6d](https://github.com/
|
|
49
|
+
* **logger:** banner method ([3e3af6d](https://github.com/Alwatr/eslib/commit/3e3af6d71ccecaaf14ca9d63a8a14c7239afe697)) by @
|
|
38
50
|
|
|
39
|
-
## [1.1.5](https://github.com/
|
|
51
|
+
## [1.1.5](https://github.com/Alwatr/eslib/compare/@alwatr/logger@1.1.4...@alwatr/logger@1.1.5) (2023-09-19)
|
|
40
52
|
|
|
41
53
|
### Bug Fixes
|
|
42
54
|
|
|
43
|
-
- package repo urls ([466cbe9](https://github.com/
|
|
55
|
+
- package repo urls ([466cbe9](https://github.com/Alwatr/eslib/commit/466cbe9188f24e1a1bc36d879a95b52538a58f16)) by @AliMD
|
|
44
56
|
|
|
45
|
-
## [1.1.4](https://github.com/
|
|
57
|
+
## [1.1.4](https://github.com/Alwatr/eslib/compare/@alwatr/logger@1.1.3...@alwatr/logger@1.1.4) (2023-09-19)
|
|
46
58
|
|
|
47
59
|
**Note:** Version bump only for package @alwatr/logger
|
|
48
60
|
|
|
49
|
-
## [1.1.3](https://github.com/
|
|
61
|
+
## [1.1.3](https://github.com/Alwatr/eslib/compare/@alwatr/logger@1.1.2...@alwatr/logger@1.1.3) (2023-09-19)
|
|
50
62
|
|
|
51
63
|
**Note:** Version bump only for package @alwatr/logger
|
|
52
64
|
|
|
53
|
-
## [1.1.2](https://github.com/
|
|
65
|
+
## [1.1.2](https://github.com/Alwatr/eslib/compare/@alwatr/logger@1.1.1...@alwatr/logger@1.1.2) (2023-09-12)
|
|
54
66
|
|
|
55
67
|
### Bug Fixes
|
|
56
68
|
|
|
57
|
-
- **logger:** change localStorage debug key to `alwatrDebug` ([66542ea](https://github.com/
|
|
69
|
+
- **logger:** change localStorage debug key to `alwatrDebug` ([66542ea](https://github.com/Alwatr/eslib/commit/66542ea22a9a515db4a15dc966624b3029f517ed)) by @AliMD
|
|
58
70
|
|
|
59
|
-
## [1.1.1](https://github.com/
|
|
71
|
+
## [1.1.1](https://github.com/Alwatr/eslib/compare/@alwatr/logger@1.1.0...@alwatr/logger@1.1.1) (2023-09-12)
|
|
60
72
|
|
|
61
73
|
**Note:** Version bump only for package @alwatr/logger
|
|
62
74
|
|
|
@@ -64,7 +76,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
64
76
|
|
|
65
77
|
### Features
|
|
66
78
|
|
|
67
|
-
- **logger:** add logModule ([2e37bef](https://github.com/
|
|
79
|
+
- **logger:** add logModule ([2e37bef](https://github.com/Alwatr/eslib/commit/2e37befd5f66094c5a521424e2a9d60796384f88))
|
|
68
80
|
|
|
69
81
|
# 1.0.0 (2023-06-14)
|
|
70
82
|
|
|
@@ -74,21 +86,21 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
74
86
|
|
|
75
87
|
### Bug Fixes
|
|
76
88
|
|
|
77
|
-
- **logger:** logMethod args type ([66338b7](https://github.com/
|
|
78
|
-
- **logger:** logMethod args type ([1983b3d](https://github.com/
|
|
79
|
-
- new logger api ([9d83a7d](https://github.com/
|
|
89
|
+
- **logger:** logMethod args type ([66338b7](https://github.com/Alwatr/eslib/commit/66338b7ba1d4b15af78f9f604f7be0a7e483413d))
|
|
90
|
+
- **logger:** logMethod args type ([1983b3d](https://github.com/Alwatr/eslib/commit/1983b3d2fe260226ca2660e33b9bd924facdf776))
|
|
91
|
+
- new logger api ([9d83a7d](https://github.com/Alwatr/eslib/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300))
|
|
80
92
|
|
|
81
93
|
### Features
|
|
82
94
|
|
|
83
|
-
- **logger:** add `duration time` to logger time label ([ef188c4](https://github.com/
|
|
84
|
-
- **logger:** add `time` & `timeEnd` ([0bd4ec5](https://github.com/
|
|
85
|
-
- **logger:** optional devMode per package ([cc1eb87](https://github.com/
|
|
95
|
+
- **logger:** add `duration time` to logger time label ([ef188c4](https://github.com/Alwatr/eslib/commit/ef188c41a02789e1b35ab424bab24a393a03a3b0))
|
|
96
|
+
- **logger:** add `time` & `timeEnd` ([0bd4ec5](https://github.com/Alwatr/eslib/commit/0bd4ec5dbd185b17cfb8656a84a782e848ade138))
|
|
97
|
+
- **logger:** optional devMode per package ([cc1eb87](https://github.com/Alwatr/eslib/commit/cc1eb879832807d55ad4cf268a54b2d5e4346fff))
|
|
86
98
|
|
|
87
99
|
# 0.30.0 (2023-03-06)
|
|
88
100
|
|
|
89
101
|
### Features
|
|
90
102
|
|
|
91
|
-
- **logger:** export isBrowser ([5b5be8b](https://github.com/
|
|
103
|
+
- **logger:** export isBrowser ([5b5be8b](https://github.com/Alwatr/eslib/commit/5b5be8b2312ca67f186d1614506423f1fdb90877))
|
|
92
104
|
|
|
93
105
|
# 0.29.0 (2023-02-10)
|
|
94
106
|
|
|
@@ -96,260 +108,260 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
96
108
|
|
|
97
109
|
### Bug Fixes
|
|
98
110
|
|
|
99
|
-
- **logger:** _ALWATR_VERSION_ ([9cf8f20](https://github.com/
|
|
111
|
+
- **logger:** _ALWATR_VERSION_ ([9cf8f20](https://github.com/Alwatr/eslib/commit/9cf8f208e8adbfa2e2c622a8465453d5554cbd37))
|
|
100
112
|
|
|
101
113
|
# 0.27.0 (2022-12-29)
|
|
102
114
|
|
|
103
115
|
### Bug Fixes
|
|
104
116
|
|
|
105
|
-
- **logger:** version ([2295fee](https://github.com/
|
|
117
|
+
- **logger:** version ([2295fee](https://github.com/Alwatr/eslib/commit/2295fee74e8eebd9db399129de31f2b0d6d6b168))
|
|
106
118
|
|
|
107
119
|
### Features
|
|
108
120
|
|
|
109
|
-
- **type:** define alwatrRegistredList ([25406c2](https://github.com/
|
|
121
|
+
- **type:** define alwatrRegistredList ([25406c2](https://github.com/Alwatr/eslib/commit/25406c268f39cf3e055ea05c9fc7b50bd3dd0a17))
|
|
110
122
|
|
|
111
123
|
# 0.26.0 (2022-12-22)
|
|
112
124
|
|
|
113
125
|
### Bug Fixes
|
|
114
126
|
|
|
115
|
-
- set correct path ([d01ce6f](https://github.com/
|
|
116
|
-
- tsconfig ([e96dcd3](https://github.com/
|
|
127
|
+
- set correct path ([d01ce6f](https://github.com/Alwatr/eslib/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
|
|
128
|
+
- tsconfig ([e96dcd3](https://github.com/Alwatr/eslib/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
|
|
117
129
|
|
|
118
130
|
### Features
|
|
119
131
|
|
|
120
|
-
- improve error debugging ([1fba504](https://github.com/
|
|
121
|
-
- **logger:** add root version ([2ac01c1](https://github.com/
|
|
122
|
-
- **logger:** move incident to deployment mode ([4ee8dac](https://github.com/
|
|
132
|
+
- improve error debugging ([1fba504](https://github.com/Alwatr/eslib/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c))
|
|
133
|
+
- **logger:** add root version ([2ac01c1](https://github.com/Alwatr/eslib/commit/2ac01c1d12323a6c8591b3dd4826d08a55647dc1))
|
|
134
|
+
- **logger:** move incident to deployment mode ([4ee8dac](https://github.com/Alwatr/eslib/commit/4ee8dac5c54ce8a897382d3d4fb5bb852d24cf24))
|
|
123
135
|
|
|
124
|
-
# [1.0.0](https://github.com/
|
|
136
|
+
# [1.0.0](https://github.com/Alwatr/eslib/compare/v0.32.0...v1.0.0) (2023-06-14)
|
|
125
137
|
|
|
126
138
|
**Note:** Version bump only for package @alwatr/logger
|
|
127
139
|
|
|
128
|
-
# [0.32.0](https://github.com/
|
|
140
|
+
# [0.32.0](https://github.com/Alwatr/eslib/compare/v0.31.0...v0.32.0) (2023-05-27)
|
|
129
141
|
|
|
130
142
|
**Note:** Version bump only for package @alwatr/logger
|
|
131
143
|
|
|
132
|
-
# [0.31.0](https://github.com/
|
|
144
|
+
# [0.31.0](https://github.com/Alwatr/eslib/compare/v0.30.0...v0.31.0) (2023-05-08)
|
|
133
145
|
|
|
134
146
|
### Bug Fixes
|
|
135
147
|
|
|
136
|
-
- **logger:** logMethod args type ([66338b7](https://github.com/
|
|
137
|
-
- **logger:** logMethod args type ([1983b3d](https://github.com/
|
|
138
|
-
- new logger api ([9d83a7d](https://github.com/
|
|
148
|
+
- **logger:** logMethod args type ([66338b7](https://github.com/Alwatr/eslib/commit/66338b7ba1d4b15af78f9f604f7be0a7e483413d))
|
|
149
|
+
- **logger:** logMethod args type ([1983b3d](https://github.com/Alwatr/eslib/commit/1983b3d2fe260226ca2660e33b9bd924facdf776))
|
|
150
|
+
- new logger api ([9d83a7d](https://github.com/Alwatr/eslib/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300))
|
|
139
151
|
|
|
140
152
|
### Features
|
|
141
153
|
|
|
142
|
-
- **logger:** add `duration time` to logger time label ([ef188c4](https://github.com/
|
|
143
|
-
- **logger:** add `time` & `timeEnd` ([0bd4ec5](https://github.com/
|
|
144
|
-
- **logger:** optional devMode per package ([cc1eb87](https://github.com/
|
|
154
|
+
- **logger:** add `duration time` to logger time label ([ef188c4](https://github.com/Alwatr/eslib/commit/ef188c41a02789e1b35ab424bab24a393a03a3b0))
|
|
155
|
+
- **logger:** add `time` & `timeEnd` ([0bd4ec5](https://github.com/Alwatr/eslib/commit/0bd4ec5dbd185b17cfb8656a84a782e848ade138))
|
|
156
|
+
- **logger:** optional devMode per package ([cc1eb87](https://github.com/Alwatr/eslib/commit/cc1eb879832807d55ad4cf268a54b2d5e4346fff))
|
|
145
157
|
|
|
146
|
-
# [0.30.0](https://github.com/
|
|
158
|
+
# [0.30.0](https://github.com/Alwatr/eslib/compare/v0.29.0...v0.30.0) (2023-03-06)
|
|
147
159
|
|
|
148
160
|
### Features
|
|
149
161
|
|
|
150
|
-
- **logger:** export isBrowser ([5b5be8b](https://github.com/
|
|
162
|
+
- **logger:** export isBrowser ([5b5be8b](https://github.com/Alwatr/eslib/commit/5b5be8b2312ca67f186d1614506423f1fdb90877))
|
|
151
163
|
|
|
152
|
-
# [0.29.0](https://github.com/
|
|
164
|
+
# [0.29.0](https://github.com/Alwatr/eslib/compare/v0.28.0...v0.29.0) (2023-02-10)
|
|
153
165
|
|
|
154
166
|
**Note:** Version bump only for package @alwatr/logger
|
|
155
167
|
|
|
156
|
-
# [0.28.0](https://github.com/
|
|
168
|
+
# [0.28.0](https://github.com/Alwatr/eslib/compare/v0.27.0...v0.28.0) (2023-01-20)
|
|
157
169
|
|
|
158
170
|
### Bug Fixes
|
|
159
171
|
|
|
160
|
-
- **logger:** _ALWATR_VERSION_ ([9cf8f20](https://github.com/
|
|
172
|
+
- **logger:** _ALWATR_VERSION_ ([9cf8f20](https://github.com/Alwatr/eslib/commit/9cf8f208e8adbfa2e2c622a8465453d5554cbd37))
|
|
161
173
|
|
|
162
174
|
### Features
|
|
163
175
|
|
|
164
|
-
- **type:** define alwatrRegistredList ([25406c2](https://github.com/
|
|
176
|
+
- **type:** define alwatrRegistredList ([25406c2](https://github.com/Alwatr/eslib/commit/25406c268f39cf3e055ea05c9fc7b50bd3dd0a17))
|
|
165
177
|
|
|
166
|
-
# [0.27.0](https://github.com/
|
|
178
|
+
# [0.27.0](https://github.com/Alwatr/eslib/compare/v0.26.0...v0.27.0) (2022-12-29)
|
|
167
179
|
|
|
168
180
|
### Bug Fixes
|
|
169
181
|
|
|
170
|
-
- **logger:** version ([2295fee](https://github.com/
|
|
182
|
+
- **logger:** version ([2295fee](https://github.com/Alwatr/eslib/commit/2295fee74e8eebd9db399129de31f2b0d6d6b168))
|
|
171
183
|
|
|
172
|
-
# [0.26.0](https://github.com/
|
|
184
|
+
# [0.26.0](https://github.com/Alwatr/eslib/compare/v0.25.0...v0.26.0) (2022-12-22)
|
|
173
185
|
|
|
174
186
|
### Bug Fixes
|
|
175
187
|
|
|
176
|
-
- set correct path ([d01ce6f](https://github.com/
|
|
177
|
-
- tsconfig ([e96dcd3](https://github.com/
|
|
188
|
+
- set correct path ([d01ce6f](https://github.com/Alwatr/eslib/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
|
|
189
|
+
- tsconfig ([e96dcd3](https://github.com/Alwatr/eslib/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
|
|
178
190
|
|
|
179
191
|
### Features
|
|
180
192
|
|
|
181
|
-
- improve error debugging ([1fba504](https://github.com/
|
|
182
|
-
- **logger:** add root version ([2ac01c1](https://github.com/
|
|
183
|
-
- **logger:** move incident to deployment mode ([4ee8dac](https://github.com/
|
|
193
|
+
- improve error debugging ([1fba504](https://github.com/Alwatr/eslib/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c))
|
|
194
|
+
- **logger:** add root version ([2ac01c1](https://github.com/Alwatr/eslib/commit/2ac01c1d12323a6c8591b3dd4826d08a55647dc1))
|
|
195
|
+
- **logger:** move incident to deployment mode ([4ee8dac](https://github.com/Alwatr/eslib/commit/4ee8dac5c54ce8a897382d3d4fb5bb852d24cf24))
|
|
184
196
|
|
|
185
|
-
# [0.25.0](https://github.com/
|
|
197
|
+
# [0.25.0](https://github.com/Alwatr/eslib/compare/v0.24.1...v0.25.0) (2022-12-07)
|
|
186
198
|
|
|
187
199
|
### Features
|
|
188
200
|
|
|
189
|
-
- **logger:** log incident in production mode ([c9b6c56](https://github.com/
|
|
201
|
+
- **logger:** log incident in production mode ([c9b6c56](https://github.com/Alwatr/eslib/commit/c9b6c56182750444b1cced3343b02eea6a9f24c5))
|
|
190
202
|
|
|
191
|
-
## [0.24.1](https://github.com/
|
|
203
|
+
## [0.24.1](https://github.com/Alwatr/eslib/compare/v0.24.0...v0.24.1) (2022-12-01)
|
|
192
204
|
|
|
193
205
|
### Bug Fixes
|
|
194
206
|
|
|
195
|
-
- **logger:** optimize for browserify builds ([7afdc1c](https://github.com/
|
|
207
|
+
- **logger:** optimize for browserify builds ([7afdc1c](https://github.com/Alwatr/eslib/commit/7afdc1cb5baf9b66dedcdc251595c02a79a163b2))
|
|
196
208
|
|
|
197
|
-
# [0.24.0](https://github.com/
|
|
209
|
+
# [0.24.0](https://github.com/Alwatr/eslib/compare/v0.23.0...v0.24.0) (2022-11-28)
|
|
198
210
|
|
|
199
211
|
### Bug Fixes
|
|
200
212
|
|
|
201
|
-
- use ~ for package version ([4e027ff](https://github.com/
|
|
213
|
+
- use ~ for package version ([4e027ff](https://github.com/Alwatr/eslib/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec))
|
|
202
214
|
|
|
203
|
-
# [0.23.0](https://github.com/
|
|
215
|
+
# [0.23.0](https://github.com/Alwatr/eslib/compare/v0.22.1...v0.23.0) (2022-11-23)
|
|
204
216
|
|
|
205
217
|
**Note:** Version bump only for package @alwatr/logger
|
|
206
218
|
|
|
207
|
-
# [0.22.0](https://github.com/
|
|
219
|
+
# [0.22.0](https://github.com/Alwatr/eslib/compare/v0.21.0...v0.22.0) (2022-11-20)
|
|
208
220
|
|
|
209
221
|
### Bug Fixes
|
|
210
222
|
|
|
211
|
-
- **logger:** message format in node ([0ab9153](https://github.com/
|
|
223
|
+
- **logger:** message format in node ([0ab9153](https://github.com/Alwatr/eslib/commit/0ab9153e407cafd07af8b77b63e25c8d21b474c0))
|
|
212
224
|
|
|
213
225
|
### Features
|
|
214
226
|
|
|
215
|
-
- **logger:** better log in browser and node ([1a35ac4](https://github.com/
|
|
227
|
+
- **logger:** better log in browser and node ([1a35ac4](https://github.com/Alwatr/eslib/commit/1a35ac4bbb9aae4280ea99b8383459cf44de0baa))
|
|
216
228
|
|
|
217
|
-
# [0.21.0](https://github.com/
|
|
229
|
+
# [0.21.0](https://github.com/Alwatr/eslib/compare/v0.20.0...v0.21.0) (2022-11-13)
|
|
218
230
|
|
|
219
231
|
**Note:** Version bump only for package @alwatr/logger
|
|
220
232
|
|
|
221
|
-
# [0.20.0](https://github.com/
|
|
233
|
+
# [0.20.0](https://github.com/Alwatr/eslib/compare/v0.19.0...v0.20.0) (2022-11-05)
|
|
222
234
|
|
|
223
235
|
**Note:** Version bump only for package @alwatr/logger
|
|
224
236
|
|
|
225
|
-
# [0.19.0](https://github.com/
|
|
237
|
+
# [0.19.0](https://github.com/Alwatr/eslib/compare/v0.18.0...v0.19.0) (2022-11-01)
|
|
226
238
|
|
|
227
239
|
### Bug Fixes
|
|
228
240
|
|
|
229
|
-
- Import error in webpack ([1a52f67](https://github.com/
|
|
241
|
+
- Import error in webpack ([1a52f67](https://github.com/Alwatr/eslib/commit/1a52f67ff2788c51abd13126f34353c26aa669c3))
|
|
230
242
|
|
|
231
|
-
# [0.18.0](https://github.com/
|
|
243
|
+
# [0.18.0](https://github.com/Alwatr/eslib/compare/v0.17.0...v0.18.0) (2022-10-22)
|
|
232
244
|
|
|
233
245
|
**Note:** Version bump only for package @alwatr/logger
|
|
234
246
|
|
|
235
|
-
# [0.17.0](https://github.com/
|
|
247
|
+
# [0.17.0](https://github.com/Alwatr/eslib/compare/v0.16.1...v0.17.0) (2022-10-21)
|
|
236
248
|
|
|
237
249
|
### Bug Fixes
|
|
238
250
|
|
|
239
|
-
- **`logger`:** `accident` sould `console.warn` ([c210c9f](https://github.com/
|
|
251
|
+
- **`logger`:** `accident` sould `console.warn` ([c210c9f](https://github.com/Alwatr/eslib/commit/c210c9f6a864692848ea0c89d6ffbdb19167732a))
|
|
240
252
|
|
|
241
|
-
# [0.16.0](https://github.com/
|
|
253
|
+
# [0.16.0](https://github.com/Alwatr/eslib/compare/v0.15.0...v0.16.0) (2022-09-08)
|
|
242
254
|
|
|
243
255
|
**Note:** Version bump only for package @alwatr/logger
|
|
244
256
|
|
|
245
|
-
# [0.15.0](https://github.com/
|
|
257
|
+
# [0.15.0](https://github.com/Alwatr/eslib/compare/v0.14.0...v0.15.0) (2022-09-01)
|
|
246
258
|
|
|
247
259
|
**Note:** Version bump only for package @alwatr/logger
|
|
248
260
|
|
|
249
|
-
# [0.14.0](https://github.com/
|
|
261
|
+
# [0.14.0](https://github.com/Alwatr/eslib/compare/v0.13.0...v0.14.0) (2022-08-19)
|
|
250
262
|
|
|
251
263
|
**Note:** Version bump only for package @alwatr/logger
|
|
252
264
|
|
|
253
|
-
# [0.13.0](https://github.com/
|
|
265
|
+
# [0.13.0](https://github.com/Alwatr/eslib/compare/v0.12.0...v0.13.0) (2022-08-06)
|
|
254
266
|
|
|
255
267
|
**Note:** Version bump only for package @alwatr/logger
|
|
256
268
|
|
|
257
|
-
# [0.12.0](https://github.com/
|
|
269
|
+
# [0.12.0](https://github.com/Alwatr/eslib/compare/v0.11.0...v0.12.0) (2022-07-22)
|
|
258
270
|
|
|
259
271
|
### Bug Fixes
|
|
260
272
|
|
|
261
|
-
- **logger:** refactor behavior of force ([7d9307b](https://github.com/
|
|
273
|
+
- **logger:** refactor behavior of force ([7d9307b](https://github.com/Alwatr/eslib/commit/7d9307bb78523f3dae17b3bd80fa2fb47c90975f))
|
|
262
274
|
|
|
263
275
|
### Features
|
|
264
276
|
|
|
265
|
-
- **logger:** compatible with node.js ([7ee8b6d](https://github.com/
|
|
266
|
-
- **logger:** node coloring support ([2b4aab6](https://github.com/
|
|
277
|
+
- **logger:** compatible with node.js ([7ee8b6d](https://github.com/Alwatr/eslib/commit/7ee8b6de3143e39c300345dec6864c9c56a4aae7))
|
|
278
|
+
- **logger:** node coloring support ([2b4aab6](https://github.com/Alwatr/eslib/commit/2b4aab655bc0707761587a7439de98bbd4ad0e08))
|
|
267
279
|
|
|
268
|
-
# [0.11.0](https://github.com/
|
|
280
|
+
# [0.11.0](https://github.com/Alwatr/eslib/compare/v0.10.1...v0.11.0) (2022-04-16)
|
|
269
281
|
|
|
270
282
|
**Note:** Version bump only for package @alwatr/logger
|
|
271
283
|
|
|
272
|
-
# [0.10.0](https://github.com/
|
|
284
|
+
# [0.10.0](https://github.com/Alwatr/eslib/compare/v0.9.0...v0.10.0) (2022-04-02)
|
|
273
285
|
|
|
274
286
|
**Note:** Version bump only for package @alwatr/logger
|
|
275
287
|
|
|
276
|
-
# [0.9.0](https://github.com/
|
|
288
|
+
# [0.9.0](https://github.com/Alwatr/eslib/compare/v0.8.0...v0.9.0) (2022-03-22)
|
|
277
289
|
|
|
278
290
|
**Note:** Version bump only for package @alwatr/logger
|
|
279
291
|
|
|
280
|
-
# [0.8.0](https://github.com/
|
|
292
|
+
# [0.8.0](https://github.com/Alwatr/eslib/compare/v0.7.2...v0.8.0) (2022-03-14)
|
|
281
293
|
|
|
282
294
|
**Note:** Version bump only for package @alwatr/logger
|
|
283
295
|
|
|
284
|
-
## [0.7.2](https://github.com/
|
|
296
|
+
## [0.7.2](https://github.com/Alwatr/eslib/compare/v0.7.1...v0.7.2) (2022-03-12)
|
|
285
297
|
|
|
286
298
|
### Features
|
|
287
299
|
|
|
288
|
-
- **logger:** add debug and improve documents ([8f83d29](https://github.com/
|
|
300
|
+
- **logger:** add debug and improve documents ([8f83d29](https://github.com/Alwatr/eslib/commit/8f83d2956e521f016fe530322f657c343f1a0b80))
|
|
289
301
|
|
|
290
|
-
# [0.7.0](https://github.com/
|
|
302
|
+
# [0.7.0](https://github.com/Alwatr/eslib/compare/v0.6.1...v0.7.0) (2022-03-12)
|
|
291
303
|
|
|
292
304
|
**Note:** Version bump only for package @alwatr/logger
|
|
293
305
|
|
|
294
|
-
# [0.6.0](https://github.com/
|
|
306
|
+
# [0.6.0](https://github.com/Alwatr/eslib/compare/v0.5.0...v0.6.0) (2022-03-11)
|
|
295
307
|
|
|
296
308
|
### Bug Fixes
|
|
297
309
|
|
|
298
|
-
- alalwatr ([898aa6e](https://github.com/
|
|
299
|
-
- **packages:** duplicate alwatr keyword ([77d4aa2](https://github.com/
|
|
310
|
+
- alalwatr ([898aa6e](https://github.com/Alwatr/eslib/commit/898aa6ed0888eab9265c83b96a50f1b8c216d143))
|
|
311
|
+
- **packages:** duplicate alwatr keyword ([77d4aa2](https://github.com/Alwatr/eslib/commit/77d4aa2105ad47515c3eee251fd6b8c281d0d1fc))
|
|
300
312
|
|
|
301
|
-
# [0.5.0](https://github.com/
|
|
313
|
+
# [0.5.0](https://github.com/Alwatr/eslib/compare/v0.4.0...v0.5.0) (2022-03-11)
|
|
302
314
|
|
|
303
315
|
### Performance Improvements
|
|
304
316
|
|
|
305
|
-
- **logger:** refactor making logger object ([bc38018](https://github.com/
|
|
317
|
+
- **logger:** refactor making logger object ([bc38018](https://github.com/Alwatr/eslib/commit/bc38018758540130df2f46c44521aea0a867bbe8))
|
|
306
318
|
|
|
307
|
-
# [0.4.0](https://github.com/
|
|
319
|
+
# [0.4.0](https://github.com/Alwatr/eslib/compare/v0.3.0...v0.4.0) (2022-03-11)
|
|
308
320
|
|
|
309
321
|
### Bug Fixes
|
|
310
322
|
|
|
311
|
-
- **logger:** types missing ([712363d](https://github.com/
|
|
323
|
+
- **logger:** types missing ([712363d](https://github.com/Alwatr/eslib/commit/712363d3cf77a712f8c801c4dc9d06d256dfc0e6))
|
|
312
324
|
|
|
313
325
|
### Features
|
|
314
326
|
|
|
315
|
-
- **logger:** add logProperty, logMethodFull ([8b0317d](https://github.com/
|
|
316
|
-
- **logger:** complete refactor the logger with new API and fix show correct line number ([7efe8cf](https://github.com/
|
|
327
|
+
- **logger:** add logProperty, logMethodFull ([8b0317d](https://github.com/Alwatr/eslib/commit/8b0317db88ed73604a27935a3a30cd5c31cb0804))
|
|
328
|
+
- **logger:** complete refactor the logger with new API and fix show correct line number ([7efe8cf](https://github.com/Alwatr/eslib/commit/7efe8cf0f566e148406f38fdd60fa3d747c9bc51))
|
|
317
329
|
|
|
318
|
-
# [0.3.0](https://github.com/
|
|
330
|
+
# [0.3.0](https://github.com/Alwatr/eslib/compare/v0.2.1...v0.3.0) (2022-03-06)
|
|
319
331
|
|
|
320
332
|
**Note:** Version bump only for package @alwatr/logger
|
|
321
333
|
|
|
322
|
-
## [0.2.1](https://github.com/
|
|
334
|
+
## [0.2.1](https://github.com/Alwatr/eslib/compare/v0.2.0...v0.2.1) (2022-03-05)
|
|
323
335
|
|
|
324
336
|
### Bug Fixes
|
|
325
337
|
|
|
326
|
-
- **logger:** alwatrRegisteredList name ([ff59133](https://github.com/
|
|
338
|
+
- **logger:** alwatrRegisteredList name ([ff59133](https://github.com/Alwatr/eslib/commit/ff5913321c4eafa1ce53fdacebf8fb4f23bfe430))
|
|
327
339
|
|
|
328
|
-
# [0.2.0](https://github.com/
|
|
340
|
+
# [0.2.0](https://github.com/Alwatr/eslib/compare/v0.1.2...v0.2.0) (2022-03-05)
|
|
329
341
|
|
|
330
342
|
**Note:** Version bump only for package @alwatr/logger
|
|
331
343
|
|
|
332
|
-
## [0.1.2](https://github.com/
|
|
344
|
+
## [0.1.2](https://github.com/Alwatr/eslib/compare/v0.1.1...v0.1.2) (2022-03-03)
|
|
333
345
|
|
|
334
346
|
**Note:** Version bump only for package @alwatr/logger
|
|
335
347
|
|
|
336
|
-
## [0.1.1](https://github.com/
|
|
348
|
+
## [0.1.1](https://github.com/Alwatr/eslib/compare/v0.1.0...v0.1.1) (2022-03-03)
|
|
337
349
|
|
|
338
350
|
### Bug Fixes
|
|
339
351
|
|
|
340
|
-
- **packages:** add publish config to public ([9cb3710](https://github.com/
|
|
352
|
+
- **packages:** add publish config to public ([9cb3710](https://github.com/Alwatr/eslib/commit/9cb37106b5a35d24d5195ff54232e5769ccc034e))
|
|
341
353
|
|
|
342
354
|
# 0.1.0 (2022-03-02)
|
|
343
355
|
|
|
344
356
|
### Bug Fixes
|
|
345
357
|
|
|
346
|
-
- **logger:** fix debug scope ([be62f14](https://github.com/
|
|
347
|
-
- **logger:** fix logger debug scope ([e734d21](https://github.com/
|
|
348
|
-
- tsconfig issues ([159adeb](https://github.com/
|
|
358
|
+
- **logger:** fix debug scope ([be62f14](https://github.com/Alwatr/eslib/commit/be62f142cbe3fe4d328e3fd9941ea7c2d640a23f))
|
|
359
|
+
- **logger:** fix logger debug scope ([e734d21](https://github.com/Alwatr/eslib/commit/e734d218db888ecec33a03dc805b98dd75543efd))
|
|
360
|
+
- tsconfig issues ([159adeb](https://github.com/Alwatr/eslib/commit/159adeb72de4626dc16f6657765605b0a2ddccb1))
|
|
349
361
|
|
|
350
362
|
### Features
|
|
351
363
|
|
|
352
|
-
- **logger:** debug scope ([6e4190d](https://github.com/
|
|
353
|
-
- **logger:** debug scope logger package ([1a4baeb](https://github.com/
|
|
354
|
-
- **logger:** alwatr logger package ([711268e](https://github.com/
|
|
355
|
-
- **logger:** alwatr meta structure ([feade73](https://github.com/
|
|
364
|
+
- **logger:** debug scope ([6e4190d](https://github.com/Alwatr/eslib/commit/6e4190dc9dafc28e3a7a481aa43622a23527993c))
|
|
365
|
+
- **logger:** debug scope logger package ([1a4baeb](https://github.com/Alwatr/eslib/commit/1a4baeb7a253ba66563dbcf06079242dabb9f246))
|
|
366
|
+
- **logger:** alwatr logger package ([711268e](https://github.com/Alwatr/eslib/commit/711268e17dea8ada9c901ef1e9d605b3212abd97))
|
|
367
|
+
- **logger:** alwatr meta structure ([feade73](https://github.com/Alwatr/eslib/commit/feade735a6f141db77b81d7791d8872d45c8bf7e))
|
package/define-package.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define-package.d.ts","sourceRoot":"","sources":["src/define-package.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"define-package.d.ts","sourceRoot":"","sources":["src/define-package.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,aAAa,gBAAiB,MAAM,WAAW,MAAM,SAajE,CAAC"}
|
package/define-package.js
CHANGED
|
@@ -2,9 +2,11 @@ import { createLogger } from './logger.js';
|
|
|
2
2
|
globalThis.Alwatr ?? (globalThis.Alwatr = { packages: {} });
|
|
3
3
|
Alwatr.packages ?? (Alwatr.packages = {});
|
|
4
4
|
const logger = createLogger('logger');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
setTimeout(() => {
|
|
6
|
+
if ('registeredList' in Alwatr) {
|
|
7
|
+
logger.accident?.('define-package', 'duplicate_old_package_defined', Alwatr.registeredList);
|
|
8
|
+
}
|
|
9
|
+
}, 2000);
|
|
8
10
|
export const definePackage = (packageName, version) => {
|
|
9
11
|
logger.logMethodArgs?.('define-package', { packageName, version });
|
|
10
12
|
if (packageName in Alwatr.packages) {
|
package/define-package.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define-package.js","sourceRoot":"","sources":["src/define-package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAIzC,UAAU,CAAC,MAAM,KAAjB,UAAU,CAAC,MAAM,GAAK,EAAC,QAAQ,EAAE,EAAE,EAAC,EAAC;AACrC,MAAM,CAAC,QAAQ,KAAf,MAAM,CAAC,QAAQ,GAAK,EAAE,EAAC;AAEvB,MAAM,MAAM,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;AAEtC,IAAI,gBAAgB,IAAI,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"define-package.js","sourceRoot":"","sources":["src/define-package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAIzC,UAAU,CAAC,MAAM,KAAjB,UAAU,CAAC,MAAM,GAAK,EAAC,QAAQ,EAAE,EAAE,EAAC,EAAC;AACrC,MAAM,CAAC,QAAQ,KAAf,MAAM,CAAC,QAAQ,GAAK,EAAE,EAAC;AAEvB,MAAM,MAAM,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;AAEtC,UAAU,CAAC,GAAG,EAAE;IACd,IAAI,gBAAgB,IAAI,MAAM,EAAE;QAC9B,MAAM,CAAC,QAAQ,EAAE,CAAC,gBAAgB,EAAE,+BAA+B,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC;KAC7F;AACH,CAAC,EAAE,IAAI,CAAC,CAAC;AAET,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,WAAmB,EAAE,OAAe,EAAE,EAAE;IACpE,MAAM,CAAC,aAAa,EAAE,CAAC,gBAAgB,EAAE,EAAC,WAAW,EAAE,OAAO,EAAC,CAAC,CAAC;IAEjE,IAAI,WAAW,IAAI,MAAM,CAAC,QAAQ,EAAE;QAClC,MAAM,CAAC,QAAQ,EAAE,CAAC,gBAAgB,EAAE,2BAA2B,EAAE;YAC/D,WAAW;YACX,GAAG,EAAE,OAAO;YACZ,GAAG,EAAE,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC;SAClC,CAAC,CAAC;QACH,OAAO;KACR;IAED,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC;AACzC,CAAC,CAAC;AAEF,aAAa,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC","sourcesContent":["import {createLogger} from './logger.js';\n\nimport type {} from './type.js';\n\nglobalThis.Alwatr ??= {packages: {}};\nAlwatr.packages ??= {};\n\nconst logger = createLogger('logger');\n\nsetTimeout(() => {\n if ('registeredList' in Alwatr) {\n logger.accident?.('define-package', 'duplicate_old_package_defined', Alwatr.registeredList);\n }\n}, 2000);\n\nexport const definePackage = (packageName: string, version: string) => {\n logger.logMethodArgs?.('define-package', {packageName, version});\n\n if (packageName in Alwatr.packages) {\n logger.accident?.('define-package', 'duplicate_package_defined', {\n packageName,\n new: version,\n old: Alwatr.packages[packageName],\n });\n return;\n }\n\n Alwatr.packages[packageName] = version;\n};\n\ndefinePackage('logger', '2.x');\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/logger",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "Fancy colorful console debugger with custom scope written in tiny TypeScript, ES module.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"log",
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
27
|
-
"url": "https://github.com/
|
|
27
|
+
"url": "https://github.com/Alwatr/eslib",
|
|
28
28
|
"directory": "packages/logger"
|
|
29
29
|
},
|
|
30
|
-
"homepage": "https://github.com/
|
|
30
|
+
"homepage": "https://github.com/Alwatr/eslib/tree/next/packages/logger#readme",
|
|
31
31
|
"bugs": {
|
|
32
|
-
"url": "https://github.com/
|
|
32
|
+
"url": "https://github.com/Alwatr/eslib/issues"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"tslib": "^2.6.2"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "dc6207512b0fbae5ffad73e77a0e076c1523e4b1"
|
|
38
38
|
}
|