@alwatr/logger 5.3.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 CHANGED
@@ -3,6 +3,43 @@
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
+
16
+ ## [5.4.0](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@4.0.8...@alwatr/logger@5.4.0) (2025-02-18)
17
+
18
+ ### Dependencies update
19
+
20
+ * bump @types/node from ^22.13.0 to ^22.13.4 and prettier from 3.4.2 to 3.5.1; update eslint-import-resolver-typescript to 3.8.2 ([b9a8399](https://github.com/Alwatr/nanolib/commit/b9a8399add39509e90bfdc589fb5e2321718029d)) by @
21
+
22
+ ## 5.3.0 (2025-02-03)
23
+
24
+ ### Miscellaneous Chores
25
+
26
+ * edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @
27
+
28
+ ### Dependencies update
29
+
30
+ * bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @
31
+ * update typescript and @types/node to version 5.7.3 and 22.13.0 respectively across multiple packages ([ddab05b](https://github.com/Alwatr/nanolib/commit/ddab05b5d767c30191f36a065e4bc88744e8e3fe)) by @
32
+
33
+ ## 5.0.0 (2024-11-02)
34
+
35
+ ### ⚠ BREAKING CHANGES
36
+
37
+ * To simplify version management and ensure consistency, all nanolib packages now use the same version as @alwatr/nanolib. This may require updates to your project's dependencies.
38
+
39
+ ### Code Refactoring
40
+
41
+ * use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
42
+
6
43
  ## [5.3.0](https://github.com/Alwatr/nanolib/compare/v5.2.1...v5.3.0) (2025-02-03)
7
44
 
8
45
  ### Miscellaneous Chores
@@ -90,7 +127,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
90
127
 
91
128
  ### Dependencies update
92
129
 
93
- * update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @AliMD
130
+ * update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @alimd
94
131
 
95
132
  ## [4.0.7](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@4.0.6...@alwatr/logger@4.0.7) (2024-10-25)
96
133
 
@@ -107,7 +144,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
107
144
 
108
145
  ### Bug Fixes
109
146
 
110
- - **logger:** Update default debug mode logic for prevent side-effects ([42101d6](https://github.com/Alwatr/nanolib/commit/42101d6471bd0d4e88e47dc8321dddc1cd63cec8)) by @AliMD
147
+ - **logger:** Update default debug mode logic for prevent side-effects ([42101d6](https://github.com/Alwatr/nanolib/commit/42101d6471bd0d4e88e47dc8321dddc1cd63cec8)) by @alimd
111
148
 
112
149
  ### Code Refactoring
113
150
 
@@ -118,7 +155,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
118
155
 
119
156
  ### Miscellaneous Chores
120
157
 
121
- - include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @AliMD
158
+ - include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @alimd
122
159
 
123
160
  ## [4.0.3](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@4.0.2...@alwatr/logger@4.0.3) (2024-10-11)
124
161
 
@@ -143,7 +180,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
143
180
 
144
181
  ### Features
145
182
 
146
- - **logger:** add logStep method to logger ([860aeed](https://github.com/Alwatr/nanolib/commit/860aeedb2da390ee3d47c037b22a37f73e6dbbbc)) by @AliMD
183
+ - **logger:** add logStep method to logger ([860aeed](https://github.com/Alwatr/nanolib/commit/860aeedb2da390ee3d47c037b22a37f73e6dbbbc)) by @alimd
147
184
  - use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @mohammadhonarvar
148
185
 
149
186
  ### Bug Fixes
@@ -153,12 +190,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
153
190
  ### Code Refactoring
154
191
 
155
192
  - **logger:** remove definePackage from logger ([c8a9d0c](https://github.com/Alwatr/nanolib/commit/c8a9d0cdcc3e45e7a33731ec6ee6a496451e9eb1)) by @mohammadhonarvar
156
- - **logger:** rename logModule to logFileModule ([1f6bd71](https://github.com/Alwatr/nanolib/commit/1f6bd71272007f5bbc90258ffa13b7d851e0918c)) by @AliMD
193
+ - **logger:** rename logModule to logFileModule ([1f6bd71](https://github.com/Alwatr/nanolib/commit/1f6bd71272007f5bbc90258ffa13b7d851e0918c)) by @alimd
157
194
 
158
195
  ### Miscellaneous Chores
159
196
 
160
- - **logger:** change the license to AGPL-3.0 ([4bb4673](https://github.com/Alwatr/nanolib/commit/4bb4673972069a307e799cad9a5078b0288a9340)) by @AliMD
161
- - Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @AliMD
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
162
199
 
163
200
  ### Dependencies update
164
201
 
@@ -173,7 +210,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
173
210
  ### Dependencies update
174
211
 
175
212
  - bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
176
- - update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @AliMD
213
+ - update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @alimd
177
214
 
178
215
  ## [3.2.12](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.2.11...@alwatr/logger@3.2.12) (2024-08-31)
179
216
 
@@ -189,7 +226,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
189
226
 
190
227
  ### Dependencies update
191
228
 
192
- - update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @AliMD
229
+ - update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @alimd
193
230
 
194
231
  ## [3.2.9](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.2.8...@alwatr/logger@3.2.9) (2024-07-04)
195
232
 
@@ -201,7 +238,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
201
238
 
202
239
  ### Dependencies update
203
240
 
204
- - upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @AliMD
241
+ - upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @alimd
205
242
 
206
243
  ## [3.2.7](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.2.6...@alwatr/logger@3.2.7) (2024-04-25)
207
244
 
@@ -215,11 +252,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
215
252
 
216
253
  ### Bug Fixes
217
254
 
218
- - exported types by add .js extensions to all imports ([fc3d83e](https://github.com/Alwatr/nanolib/commit/fc3d83e8f375da97ba276314b2e6966aa82c9b3f)) by @AliMD
255
+ - exported types by add .js extensions to all imports ([fc3d83e](https://github.com/Alwatr/nanolib/commit/fc3d83e8f375da97ba276314b2e6966aa82c9b3f)) by @alimd
219
256
 
220
257
  ### Miscellaneous Chores
221
258
 
222
- - **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @AliMD
259
+ - **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @alimd
223
260
 
224
261
  ## [3.2.4](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.2.3...@alwatr/logger@3.2.4) (2024-01-24)
225
262
 
@@ -241,7 +278,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
241
278
 
242
279
  ### Bug Fixes
243
280
 
244
- - **logger:** defaultDebugMode ([bab9f7c](https://github.com/Alwatr/nanolib/commit/bab9f7c7b26fc2f50476ebc74d484a4b39c9dbda)) by @AliMD
281
+ - **logger:** defaultDebugMode ([bab9f7c](https://github.com/Alwatr/nanolib/commit/bab9f7c7b26fc2f50476ebc74d484a4b39c9dbda)) by @alimd
245
282
 
246
283
  ### Features
247
284
 
@@ -251,7 +288,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
251
288
 
252
289
  ### Features
253
290
 
254
- - **logger:** definePackage ([dfd090e](https://github.com/Alwatr/nanolib/commit/dfd090ebd691c9a589370094d49f950524f71369)) by @AliMD
291
+ - **logger:** definePackage ([dfd090e](https://github.com/Alwatr/nanolib/commit/dfd090ebd691c9a589370094d49f950524f71369)) by @alimd
255
292
 
256
293
  ## [3.0.1](https://github.com/Alwatr/nanolib/compare/@alwatr/logger@3.0.0...@alwatr/logger@3.0.1) (2024-01-03)
257
294
 
@@ -261,13 +298,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
261
298
 
262
299
  ### Bug Fixes
263
300
 
264
- - `__package_version__` global type ([de8a3f9](https://github.com/Alwatr/nanolib/commit/de8a3f93bdb5a786c42f56324072b4b9520ce3a1)) by @AliMD
265
- - **logger:** definePackage ([e2e5c6c](https://github.com/Alwatr/nanolib/commit/e2e5c6c8175d6f7bfba1d103c1cac2f647aa6116)) by @AliMD
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
266
303
 
267
304
  ### Features
268
305
 
269
306
  - **logger:** change devMode env name ([ad549dc](https://github.com/Alwatr/nanolib/commit/ad549dc39e52242261c78939bd62ca10f69cea60)) by @njfamirm
270
- - **logger:** Update debugMode to enabled by default in development mode ([bc7c7ee](https://github.com/Alwatr/nanolib/commit/bc7c7ee1118a259ceaa1be1dade90f2f9ccf9e1d)) by @AliMD
307
+ - **logger:** Update debugMode to enabled by default in development mode ([bc7c7ee](https://github.com/Alwatr/nanolib/commit/bc7c7ee1118a259ceaa1be1dade90f2f9ccf9e1d)) by @alimd
271
308
  - **logger:** use alwatr dedupe ([d89d076](https://github.com/Alwatr/nanolib/commit/d89d076c9fd0dd311804831b1ac0ea955efd4b6d)) by @njfamirm
272
309
 
273
310
  ### BREAKING CHANGES
@@ -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,WAAY,MAAM,0BAAiC,YAwD3E,CAAC"}
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.3.0 */
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.3.0");
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
  })();
@@ -110,5 +110,4 @@ var createLogger = (domain, debugMode = defaultDebugMode) => {
110
110
  0 && (module.exports = {
111
111
  createLogger
112
112
  });
113
- /*! For license information please see main.cjs.LEGAL.txt */
114
113
  //# sourceMappingURL=main.cjs.map
package/dist/main.mjs CHANGED
@@ -1,9 +1,9 @@
1
- /* @alwatr/logger v5.3.0 */
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.3.0");
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
  })();
@@ -84,5 +84,4 @@ var createLogger = (domain, debugMode = defaultDebugMode) => {
84
84
  export {
85
85
  createLogger
86
86
  };
87
- /*! For license information please see main.mjs.LEGAL.txt */
88
87
  //# sourceMappingURL=main.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/logger",
3
- "version": "5.3.0",
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.3.0",
71
- "@alwatr/platform-info": "^5.3.0"
70
+ "@alwatr/package-tracer": "^5.5.0",
71
+ "@alwatr/platform-info": "^5.5.0"
72
72
  },
73
73
  "devDependencies": {
74
- "@alwatr/nano-build": "^5.3.0",
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.0",
78
- "typescript": "^5.7.3"
77
+ "@types/node": "^22.13.9",
78
+ "typescript": "^5.8.2"
79
79
  },
80
- "gitHead": "9cfb80ed0666355887d8e3865fc75311420ac371"
80
+ "gitHead": "fdf8e6de77cca359465110a75ff18faff0649a95"
81
81
  }
File without changes
File without changes