measure-fn 3.8.0 → 3.8.1

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 (3) hide show
  1. package/README.md +1 -1
  2. package/index.ts +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -237,7 +237,7 @@ import { configure } from 'measure-fn';
237
237
  configure({
238
238
  silent: true, // suppress all output
239
239
  timestamps: true, // prepend [HH:MM:SS.mmm]
240
- maxResultLength: 200, // truncate results (default: 200, 0 = unlimited)
240
+ maxResultLength: 200, // truncate results (default: 0 = unlimited)
241
241
  dotEndLabel: false, // show full label on end lines (default: true = dots)
242
242
  dotChar: '.', // character for dot fill (default: '·')
243
243
  logger: (event) => { // custom event handler
package/index.ts CHANGED
@@ -12,7 +12,7 @@ const toAlpha = (num: number): string => {
12
12
 
13
13
  // ─── Safe Stringify ──────────────────────────────────────────────────
14
14
 
15
- let maxResultLen = 200;
15
+ let maxResultLen = 0;
16
16
 
17
17
  export const safeStringify = (value: unknown, limit?: number): string => {
18
18
  const cap = limit ?? maxResultLen;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "module": "index.ts",
4
4
  "main": "./index.ts",
5
5
  "types": "./index.ts",
6
- "version": "3.8.0",
6
+ "version": "3.8.1",
7
7
  "type": "module",
8
8
  "private": false,
9
9
  "description": "Zero-dependency function performance measurement with hierarchical logging",