@alwatr/logger 5.4.0 → 5.5.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.
- package/CHANGELOG.md +33 -17
- package/dist/logger.d.ts.map +1 -1
- package/dist/main.cjs +2 -2
- package/dist/main.mjs +2 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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
|
+
## [5.5.1](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@5.5.0...@alwatr/logger@5.5.1) (2025-03-18)
|
|
7
|
+
|
|
8
|
+
### Dependencies update
|
|
9
|
+
|
|
10
|
+
* bump the development-dependencies group with 9 updates ([7290aa3](https://github.com/Alwatr/nanolib/commit/7290aa3b52ce66ca237d2a12d28a7687b113f83d)) by @dependabot[bot]
|
|
11
|
+
|
|
12
|
+
## [5.5.0](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@5.4.0...@alwatr/logger@5.5.0) (2025-03-06)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous Chores
|
|
15
|
+
|
|
16
|
+
* update username casing in changelog entries ([9722ac9](https://github.com/Alwatr/nanolib/commit/9722ac9a078438a4e8ebfa5826ea70e0e3a52ca6)) by @
|
|
17
|
+
|
|
18
|
+
### Dependencies update
|
|
19
|
+
|
|
20
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([720c395](https://github.com/Alwatr/nanolib/commit/720c3954da55c929fe8fb16957121f4c51fb7f0c)) by @dependabot[bot]
|
|
21
|
+
|
|
6
22
|
## [5.4.0](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@4.0.8...@alwatr/logger@5.4.0) (2025-02-18)
|
|
7
23
|
|
|
8
24
|
### Dependencies update
|
|
@@ -117,7 +133,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
117
133
|
|
|
118
134
|
### Dependencies update
|
|
119
135
|
|
|
120
|
-
* update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @
|
|
136
|
+
* update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @alimd
|
|
121
137
|
|
|
122
138
|
## [4.0.7](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@4.0.6...@alwatr/logger@4.0.7) (2024-10-25)
|
|
123
139
|
|
|
@@ -134,7 +150,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
134
150
|
|
|
135
151
|
### Bug Fixes
|
|
136
152
|
|
|
137
|
-
- **logger:** Update default debug mode logic for prevent side-effects ([42101d6](https://github.com/Alwatr/nanolib/commit/42101d6471bd0d4e88e47dc8321dddc1cd63cec8)) by @
|
|
153
|
+
- **logger:** Update default debug mode logic for prevent side-effects ([42101d6](https://github.com/Alwatr/nanolib/commit/42101d6471bd0d4e88e47dc8321dddc1cd63cec8)) by @alimd
|
|
138
154
|
|
|
139
155
|
### Code Refactoring
|
|
140
156
|
|
|
@@ -145,7 +161,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
145
161
|
|
|
146
162
|
### Miscellaneous Chores
|
|
147
163
|
|
|
148
|
-
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @
|
|
164
|
+
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @alimd
|
|
149
165
|
|
|
150
166
|
## [4.0.3](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@4.0.2...@alwatr/logger@4.0.3) (2024-10-11)
|
|
151
167
|
|
|
@@ -170,7 +186,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
170
186
|
|
|
171
187
|
### Features
|
|
172
188
|
|
|
173
|
-
- **logger:** add logStep method to logger ([860aeed](https://github.com/Alwatr/nanolib/commit/860aeedb2da390ee3d47c037b22a37f73e6dbbbc)) by @
|
|
189
|
+
- **logger:** add logStep method to logger ([860aeed](https://github.com/Alwatr/nanolib/commit/860aeedb2da390ee3d47c037b22a37f73e6dbbbc)) by @alimd
|
|
174
190
|
- use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @mohammadhonarvar
|
|
175
191
|
|
|
176
192
|
### Bug Fixes
|
|
@@ -180,12 +196,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
180
196
|
### Code Refactoring
|
|
181
197
|
|
|
182
198
|
- **logger:** remove definePackage from logger ([c8a9d0c](https://github.com/Alwatr/nanolib/commit/c8a9d0cdcc3e45e7a33731ec6ee6a496451e9eb1)) by @mohammadhonarvar
|
|
183
|
-
- **logger:** rename logModule to logFileModule ([1f6bd71](https://github.com/Alwatr/nanolib/commit/1f6bd71272007f5bbc90258ffa13b7d851e0918c)) by @
|
|
199
|
+
- **logger:** rename logModule to logFileModule ([1f6bd71](https://github.com/Alwatr/nanolib/commit/1f6bd71272007f5bbc90258ffa13b7d851e0918c)) by @alimd
|
|
184
200
|
|
|
185
201
|
### Miscellaneous Chores
|
|
186
202
|
|
|
187
|
-
- **logger:** change the license to AGPL-3.0 ([4bb4673](https://github.com/Alwatr/nanolib/commit/4bb4673972069a307e799cad9a5078b0288a9340)) by @
|
|
188
|
-
- Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @
|
|
203
|
+
- **logger:** change the license to AGPL-3.0 ([4bb4673](https://github.com/Alwatr/nanolib/commit/4bb4673972069a307e799cad9a5078b0288a9340)) by @alimd
|
|
204
|
+
- Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @alimd
|
|
189
205
|
|
|
190
206
|
### Dependencies update
|
|
191
207
|
|
|
@@ -200,7 +216,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
200
216
|
### Dependencies update
|
|
201
217
|
|
|
202
218
|
- bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
|
|
203
|
-
- update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @
|
|
219
|
+
- update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @alimd
|
|
204
220
|
|
|
205
221
|
## [3.2.12](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.2.11...@alwatr/logger@3.2.12) (2024-08-31)
|
|
206
222
|
|
|
@@ -216,7 +232,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
216
232
|
|
|
217
233
|
### Dependencies update
|
|
218
234
|
|
|
219
|
-
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @
|
|
235
|
+
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @alimd
|
|
220
236
|
|
|
221
237
|
## [3.2.9](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.2.8...@alwatr/logger@3.2.9) (2024-07-04)
|
|
222
238
|
|
|
@@ -228,7 +244,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
228
244
|
|
|
229
245
|
### Dependencies update
|
|
230
246
|
|
|
231
|
-
- upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @
|
|
247
|
+
- upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @alimd
|
|
232
248
|
|
|
233
249
|
## [3.2.7](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.2.6...@alwatr/logger@3.2.7) (2024-04-25)
|
|
234
250
|
|
|
@@ -242,11 +258,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
242
258
|
|
|
243
259
|
### Bug Fixes
|
|
244
260
|
|
|
245
|
-
- exported types by add .js extensions to all imports ([fc3d83e](https://github.com/Alwatr/nanolib/commit/fc3d83e8f375da97ba276314b2e6966aa82c9b3f)) by @
|
|
261
|
+
- exported types by add .js extensions to all imports ([fc3d83e](https://github.com/Alwatr/nanolib/commit/fc3d83e8f375da97ba276314b2e6966aa82c9b3f)) by @alimd
|
|
246
262
|
|
|
247
263
|
### Miscellaneous Chores
|
|
248
264
|
|
|
249
|
-
- **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @
|
|
265
|
+
- **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @alimd
|
|
250
266
|
|
|
251
267
|
## [3.2.4](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.2.3...@alwatr/logger@3.2.4) (2024-01-24)
|
|
252
268
|
|
|
@@ -268,7 +284,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
268
284
|
|
|
269
285
|
### Bug Fixes
|
|
270
286
|
|
|
271
|
-
- **logger:** defaultDebugMode ([bab9f7c](https://github.com/Alwatr/nanolib/commit/bab9f7c7b26fc2f50476ebc74d484a4b39c9dbda)) by @
|
|
287
|
+
- **logger:** defaultDebugMode ([bab9f7c](https://github.com/Alwatr/nanolib/commit/bab9f7c7b26fc2f50476ebc74d484a4b39c9dbda)) by @alimd
|
|
272
288
|
|
|
273
289
|
### Features
|
|
274
290
|
|
|
@@ -278,7 +294,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
278
294
|
|
|
279
295
|
### Features
|
|
280
296
|
|
|
281
|
-
- **logger:** definePackage ([dfd090e](https://github.com/Alwatr/nanolib/commit/dfd090ebd691c9a589370094d49f950524f71369)) by @
|
|
297
|
+
- **logger:** definePackage ([dfd090e](https://github.com/Alwatr/nanolib/commit/dfd090ebd691c9a589370094d49f950524f71369)) by @alimd
|
|
282
298
|
|
|
283
299
|
## [3.0.1](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.0.0...@alwatr/logger@3.0.1) (2024-01-03)
|
|
284
300
|
|
|
@@ -288,13 +304,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
288
304
|
|
|
289
305
|
### Bug Fixes
|
|
290
306
|
|
|
291
|
-
- `__package_version__` global type ([de8a3f9](https://github.com/Alwatr/nanolib/commit/de8a3f93bdb5a786c42f56324072b4b9520ce3a1)) by @
|
|
292
|
-
- **logger:** definePackage ([e2e5c6c](https://github.com/Alwatr/nanolib/commit/e2e5c6c8175d6f7bfba1d103c1cac2f647aa6116)) by @
|
|
307
|
+
- `__package_version__` global type ([de8a3f9](https://github.com/Alwatr/nanolib/commit/de8a3f93bdb5a786c42f56324072b4b9520ce3a1)) by @alimd
|
|
308
|
+
- **logger:** definePackage ([e2e5c6c](https://github.com/Alwatr/nanolib/commit/e2e5c6c8175d6f7bfba1d103c1cac2f647aa6116)) by @alimd
|
|
293
309
|
|
|
294
310
|
### Features
|
|
295
311
|
|
|
296
312
|
- **logger:** change devMode env name ([ad549dc](https://github.com/Alwatr/nanolib/commit/ad549dc39e52242261c78939bd62ca10f69cea60)) by @njfamirm
|
|
297
|
-
- **logger:** Update debugMode to enabled by default in development mode ([bc7c7ee](https://github.com/Alwatr/nanolib/commit/bc7c7ee1118a259ceaa1be1dade90f2f9ccf9e1d)) by @
|
|
313
|
+
- **logger:** Update debugMode to enabled by default in development mode ([bc7c7ee](https://github.com/Alwatr/nanolib/commit/bc7c7ee1118a259ceaa1be1dade90f2f9ccf9e1d)) by @alimd
|
|
298
314
|
- **logger:** use alwatr dedupe ([d89d076](https://github.com/Alwatr/nanolib/commit/d89d076c9fd0dd311804831b1ac0ea955efd4b6d)) by @njfamirm
|
|
299
315
|
|
|
300
316
|
### BREAKING CHANGES
|
package/dist/logger.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,WAAW,CAAC;AA6D5C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,WAAW,CAAC;AA6D5C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,EAAE,mBAA4B,KAAG,YAwD3E,CAAC"}
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/logger v5.
|
|
1
|
+
/* @alwatr/logger v5.5.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -28,7 +28,7 @@ module.exports = __toCommonJS(main_exports);
|
|
|
28
28
|
// src/logger.ts
|
|
29
29
|
var import_package_tracer = require("@alwatr/package-tracer");
|
|
30
30
|
var import_platform_info = require("@alwatr/platform-info");
|
|
31
|
-
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/logger", "5.
|
|
31
|
+
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/logger", "5.5.1");
|
|
32
32
|
var defaultDebugMode = /* @__PURE__ */ (() => {
|
|
33
33
|
return import_platform_info.platformInfo.development || (import_platform_info.platformInfo.isCli ? Boolean(process.env.DEBUG) : typeof localStorage !== "undefined" && localStorage.getItem("ALWATR_DEBUG") === "1");
|
|
34
34
|
})();
|
package/dist/main.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* @alwatr/logger v5.
|
|
1
|
+
/* @alwatr/logger v5.5.1 */
|
|
2
2
|
|
|
3
3
|
// src/logger.ts
|
|
4
4
|
import { packageTracer } from "@alwatr/package-tracer";
|
|
5
5
|
import { platformInfo } from "@alwatr/platform-info";
|
|
6
|
-
__dev_mode__: packageTracer.add("@alwatr/logger", "5.
|
|
6
|
+
__dev_mode__: packageTracer.add("@alwatr/logger", "5.5.1");
|
|
7
7
|
var defaultDebugMode = /* @__PURE__ */ (() => {
|
|
8
8
|
return platformInfo.development || (platformInfo.isCli ? Boolean(process.env.DEBUG) : typeof localStorage !== "undefined" && localStorage.getItem("ALWATR_DEBUG") === "1");
|
|
9
9
|
})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/logger",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.1",
|
|
4
4
|
"description": "Fancy colorful console debugger with custom scope written in tiny TypeScript, ES module.",
|
|
5
5
|
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
|
|
6
6
|
"keywords": [
|
|
@@ -67,15 +67,15 @@
|
|
|
67
67
|
"clean": "rm -rfv dist *.tsbuildinfo"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@alwatr/package-tracer": "^5.
|
|
71
|
-
"@alwatr/platform-info": "^5.
|
|
70
|
+
"@alwatr/package-tracer": "^5.5.1",
|
|
71
|
+
"@alwatr/platform-info": "^5.5.1"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@alwatr/nano-build": "^5.
|
|
74
|
+
"@alwatr/nano-build": "^5.5.1",
|
|
75
75
|
"@alwatr/prettier-config": "^5.0.0",
|
|
76
76
|
"@alwatr/tsconfig-base": "^5.0.0",
|
|
77
|
-
"@types/node": "^22.13.
|
|
78
|
-
"typescript": "^5.
|
|
77
|
+
"@types/node": "^22.13.10",
|
|
78
|
+
"typescript": "^5.8.2"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "21cb1fe0f26a580944d9e72a313fc99308cd8be7"
|
|
81
81
|
}
|