@alwatr/logger 5.4.0 → 5.5.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.
- package/CHANGELOG.md +27 -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,16 @@
|
|
|
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.0](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@5.4.0...@alwatr/logger@5.5.0) (2025-03-06)
|
|
7
|
+
|
|
8
|
+
### Miscellaneous Chores
|
|
9
|
+
|
|
10
|
+
* update username casing in changelog entries ([9722ac9](https://github.com/Alwatr/nanolib/commit/9722ac9a078438a4e8ebfa5826ea70e0e3a52ca6)) by @
|
|
11
|
+
|
|
12
|
+
### Dependencies update
|
|
13
|
+
|
|
14
|
+
* bump the development-dependencies group across 1 directory with 11 updates ([720c395](https://github.com/Alwatr/nanolib/commit/720c3954da55c929fe8fb16957121f4c51fb7f0c)) by @dependabot[bot]
|
|
15
|
+
|
|
6
16
|
## [5.4.0](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@4.0.8...@alwatr/logger@5.4.0) (2025-02-18)
|
|
7
17
|
|
|
8
18
|
### Dependencies update
|
|
@@ -117,7 +127,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
117
127
|
|
|
118
128
|
### Dependencies update
|
|
119
129
|
|
|
120
|
-
* update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @
|
|
130
|
+
* update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @alimd
|
|
121
131
|
|
|
122
132
|
## [4.0.7](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@4.0.6...@alwatr/logger@4.0.7) (2024-10-25)
|
|
123
133
|
|
|
@@ -134,7 +144,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
134
144
|
|
|
135
145
|
### Bug Fixes
|
|
136
146
|
|
|
137
|
-
- **logger:** Update default debug mode logic for prevent side-effects ([42101d6](https://github.com/Alwatr/nanolib/commit/42101d6471bd0d4e88e47dc8321dddc1cd63cec8)) by @
|
|
147
|
+
- **logger:** Update default debug mode logic for prevent side-effects ([42101d6](https://github.com/Alwatr/nanolib/commit/42101d6471bd0d4e88e47dc8321dddc1cd63cec8)) by @alimd
|
|
138
148
|
|
|
139
149
|
### Code Refactoring
|
|
140
150
|
|
|
@@ -145,7 +155,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
145
155
|
|
|
146
156
|
### Miscellaneous Chores
|
|
147
157
|
|
|
148
|
-
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @
|
|
158
|
+
- include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @alimd
|
|
149
159
|
|
|
150
160
|
## [4.0.3](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@4.0.2...@alwatr/logger@4.0.3) (2024-10-11)
|
|
151
161
|
|
|
@@ -170,7 +180,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
170
180
|
|
|
171
181
|
### Features
|
|
172
182
|
|
|
173
|
-
- **logger:** add logStep method to logger ([860aeed](https://github.com/Alwatr/nanolib/commit/860aeedb2da390ee3d47c037b22a37f73e6dbbbc)) by @
|
|
183
|
+
- **logger:** add logStep method to logger ([860aeed](https://github.com/Alwatr/nanolib/commit/860aeedb2da390ee3d47c037b22a37f73e6dbbbc)) by @alimd
|
|
174
184
|
- use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @mohammadhonarvar
|
|
175
185
|
|
|
176
186
|
### Bug Fixes
|
|
@@ -180,12 +190,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
180
190
|
### Code Refactoring
|
|
181
191
|
|
|
182
192
|
- **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 @
|
|
193
|
+
- **logger:** rename logModule to logFileModule ([1f6bd71](https://github.com/Alwatr/nanolib/commit/1f6bd71272007f5bbc90258ffa13b7d851e0918c)) by @alimd
|
|
184
194
|
|
|
185
195
|
### Miscellaneous Chores
|
|
186
196
|
|
|
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 @
|
|
197
|
+
- **logger:** change the license to AGPL-3.0 ([4bb4673](https://github.com/Alwatr/nanolib/commit/4bb4673972069a307e799cad9a5078b0288a9340)) by @alimd
|
|
198
|
+
- Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @alimd
|
|
189
199
|
|
|
190
200
|
### Dependencies update
|
|
191
201
|
|
|
@@ -200,7 +210,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
200
210
|
### Dependencies update
|
|
201
211
|
|
|
202
212
|
- 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 @
|
|
213
|
+
- update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @alimd
|
|
204
214
|
|
|
205
215
|
## [3.2.12](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.2.11...@alwatr/logger@3.2.12) (2024-08-31)
|
|
206
216
|
|
|
@@ -216,7 +226,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
216
226
|
|
|
217
227
|
### Dependencies update
|
|
218
228
|
|
|
219
|
-
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @
|
|
229
|
+
- update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @alimd
|
|
220
230
|
|
|
221
231
|
## [3.2.9](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.2.8...@alwatr/logger@3.2.9) (2024-07-04)
|
|
222
232
|
|
|
@@ -228,7 +238,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
228
238
|
|
|
229
239
|
### Dependencies update
|
|
230
240
|
|
|
231
|
-
- upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @
|
|
241
|
+
- upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @alimd
|
|
232
242
|
|
|
233
243
|
## [3.2.7](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.2.6...@alwatr/logger@3.2.7) (2024-04-25)
|
|
234
244
|
|
|
@@ -242,11 +252,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
242
252
|
|
|
243
253
|
### Bug Fixes
|
|
244
254
|
|
|
245
|
-
- exported types by add .js extensions to all imports ([fc3d83e](https://github.com/Alwatr/nanolib/commit/fc3d83e8f375da97ba276314b2e6966aa82c9b3f)) by @
|
|
255
|
+
- exported types by add .js extensions to all imports ([fc3d83e](https://github.com/Alwatr/nanolib/commit/fc3d83e8f375da97ba276314b2e6966aa82c9b3f)) by @alimd
|
|
246
256
|
|
|
247
257
|
### Miscellaneous Chores
|
|
248
258
|
|
|
249
|
-
- **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @
|
|
259
|
+
- **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @alimd
|
|
250
260
|
|
|
251
261
|
## [3.2.4](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.2.3...@alwatr/logger@3.2.4) (2024-01-24)
|
|
252
262
|
|
|
@@ -268,7 +278,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
268
278
|
|
|
269
279
|
### Bug Fixes
|
|
270
280
|
|
|
271
|
-
- **logger:** defaultDebugMode ([bab9f7c](https://github.com/Alwatr/nanolib/commit/bab9f7c7b26fc2f50476ebc74d484a4b39c9dbda)) by @
|
|
281
|
+
- **logger:** defaultDebugMode ([bab9f7c](https://github.com/Alwatr/nanolib/commit/bab9f7c7b26fc2f50476ebc74d484a4b39c9dbda)) by @alimd
|
|
272
282
|
|
|
273
283
|
### Features
|
|
274
284
|
|
|
@@ -278,7 +288,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
278
288
|
|
|
279
289
|
### Features
|
|
280
290
|
|
|
281
|
-
- **logger:** definePackage ([dfd090e](https://github.com/Alwatr/nanolib/commit/dfd090ebd691c9a589370094d49f950524f71369)) by @
|
|
291
|
+
- **logger:** definePackage ([dfd090e](https://github.com/Alwatr/nanolib/commit/dfd090ebd691c9a589370094d49f950524f71369)) by @alimd
|
|
282
292
|
|
|
283
293
|
## [3.0.1](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.0.0...@alwatr/logger@3.0.1) (2024-01-03)
|
|
284
294
|
|
|
@@ -288,13 +298,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
288
298
|
|
|
289
299
|
### Bug Fixes
|
|
290
300
|
|
|
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 @
|
|
301
|
+
- `__package_version__` global type ([de8a3f9](https://github.com/Alwatr/nanolib/commit/de8a3f93bdb5a786c42f56324072b4b9520ce3a1)) by @alimd
|
|
302
|
+
- **logger:** definePackage ([e2e5c6c](https://github.com/Alwatr/nanolib/commit/e2e5c6c8175d6f7bfba1d103c1cac2f647aa6116)) by @alimd
|
|
293
303
|
|
|
294
304
|
### Features
|
|
295
305
|
|
|
296
306
|
- **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 @
|
|
307
|
+
- **logger:** Update debugMode to enabled by default in development mode ([bc7c7ee](https://github.com/Alwatr/nanolib/commit/bc7c7ee1118a259ceaa1be1dade90f2f9ccf9e1d)) by @alimd
|
|
298
308
|
- **logger:** use alwatr dedupe ([d89d076](https://github.com/Alwatr/nanolib/commit/d89d076c9fd0dd311804831b1ac0ea955efd4b6d)) by @njfamirm
|
|
299
309
|
|
|
300
310
|
### 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.0 */
|
|
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.0");
|
|
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.0 */
|
|
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.0");
|
|
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.0",
|
|
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.0",
|
|
71
|
+
"@alwatr/platform-info": "^5.5.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@alwatr/nano-build": "^5.
|
|
74
|
+
"@alwatr/nano-build": "^5.5.0",
|
|
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.9",
|
|
78
|
+
"typescript": "^5.8.2"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "fdf8e6de77cca359465110a75ff18faff0649a95"
|
|
81
81
|
}
|