node-ansi-logger 3.2.1-dev-20260410-82ad6db → 3.2.2-dev-20260501-fdaf118

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
@@ -1,3 +1,5 @@
1
+ <!-- eslint-disable markdown/no-missing-label-refs -->
2
+
1
3
  # Node ansi logger and stringify changelog
2
4
 
3
5
  [![npm version](https://img.shields.io/npm/v/node-ansi-logger.svg)](https://www.npmjs.com/package/node-ansi-logger)
@@ -18,6 +20,28 @@ If you like this project and find it useful, please consider giving it a star on
18
20
 
19
21
  <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="120"></a>
20
22
 
23
+ ## [3.2.2] - Dev branch
24
+
25
+ ### Changed
26
+
27
+ - [package]: Update dependencies.
28
+ - [package]: Bump package to `automator` v.3.1.7.
29
+ - [eslint]: Remove `eslint-plugin-promise` (not actively maintained) and add optional @typescript-eslint promise rules.
30
+ - [package]: Remove `overrides` that was necessary for eslint-plugin-promise.
31
+ - [package]: Bump `typescript-eslint` to v.8.59.1.
32
+ - [package]: Bump `typescript` to v.6.0.3.
33
+ - [package]: Bump `eslint` to v.10.2.1.
34
+ - [package]: Bump `typescript-eslint` to v.8.59.0.
35
+ - [eslint]: Add `eslint` v.2.0.0 config.
36
+ - [package]: Add `.vscode\tasks.json`.
37
+ - [package]: Add `.vscode\settings.json`.
38
+ - [devcontainer]: Add `Claude Code for VS Code extension` to Dev Container.
39
+ - [agent]: Add `.github\copilot-instructions.md` for copilot.
40
+ - [agent]: Add `.claude\CLAUDE.md` for claude.
41
+ - [agent]: Add agent custom instructions (`testing`) for copilot and claude.
42
+
43
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
44
+
21
45
  ## [3.2.1] - 2026-04-10
22
46
 
23
47
  ### Changed
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ <!-- eslint-disable markdown/no-multiple-h1 -->
2
+
1
3
  # Node ansi logger and stringify
2
4
 
3
5
  [![npm version](https://img.shields.io/npm/v/node-ansi-logger.svg)](https://www.npmjs.com/package/node-ansi-logger)
@@ -48,23 +50,23 @@ npm install node-ansi-logger
48
50
 
49
51
  Create an instance of AnsiLogger.
50
52
 
51
- ```
53
+ ```typescript
52
54
  import { AnsiLogger, AnsiLoggerParams, LogLevel } from 'node-ansi-logger';
53
55
  ```
54
56
 
55
- ```
57
+ ```typescript
56
58
  const log = new AnsiLogger({logName: '<your name>'}); // Eventually other params in AnsiLoggerParams
57
59
  ```
58
60
 
59
61
  To import the stringify functions
60
62
 
61
- ```
63
+ ```typescript
62
64
  import { stringify, payloadStringify, colorStringify, mqttStringify, debugStringify } from 'node-ansi-logger';
63
65
  ```
64
66
 
65
67
  ## Using the logger:
66
68
 
67
- ```
69
+ ```typescript
68
70
  log.debug('Debug message...', ...parameters);
69
71
  log.info('Info message...', ...parameters);
70
72
  log.notice('Notice message...', ...parameters);
@@ -76,20 +78,20 @@ log(LogLevel.WARN, 'Warning message', ...parameters)
76
78
 
77
79
  ## Using the logger with colors inside the message:
78
80
 
79
- ```
81
+ ```typescript
80
82
  log.debug(`Debug message ${YELLOW}with yellow part${db}`, ...);
81
83
  ```
82
84
 
83
85
  ## Using the logger internal timer:
84
86
 
85
- ```
87
+ ```typescript
86
88
  log.startTimer('Time sensitive code started')
87
89
  log.stopTimer('Time sensitive code finished')
88
90
  ```
89
91
 
90
92
  ## Using the stringify function:
91
93
 
92
- ```
94
+ ```typescript
93
95
  stringify({...})
94
96
  colorStringify({...})
95
97
  ```
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "node-ansi-logger",
3
- "version": "3.2.1-dev-20260410-82ad6db",
3
+ "version": "3.2.2-dev-20260501-fdaf118",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "node-ansi-logger",
9
- "version": "3.2.1-dev-20260410-82ad6db",
9
+ "version": "3.2.2-dev-20260501-fdaf118",
10
10
  "license": "Apache-2.0",
11
11
  "engines": {
12
12
  "node": ">=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.0.0 <25.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-ansi-logger",
3
- "version": "3.2.1-dev-20260410-82ad6db",
3
+ "version": "3.2.2-dev-20260501-fdaf118",
4
4
  "description": "Enhanced Ansi Color Logging and Stringify for Node.js in type script",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",
@@ -42,9 +42,5 @@
42
42
  "dist",
43
43
  "npm-shrinkwrap.json",
44
44
  "CHANGELOG.md"
45
- ],
46
- "overrides": {
47
- "eslint": "10.2.0",
48
- "@eslint/js": "10.0.1"
49
- }
45
+ ]
50
46
  }