@clinic/heap-profiler
Advanced tools
Comparing version 4.0.0 to 4.1.0
{ | ||
"name": "@clinic/heap-profiler", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "Programmable interface to Clinic.js Heap Profiler", | ||
@@ -35,3 +35,3 @@ "repository": "https://github.com/clinicjs/node-clinic-heap-profiler", | ||
"d3-selection": "^1.3.2", | ||
"fs-extra": "^10.0.1", | ||
"fs-extra": "^11.0.0", | ||
"lodash.debounce": "^4.0.8", | ||
@@ -38,0 +38,0 @@ "on-net-listen": "1.1.2", |
@@ -108,3 +108,4 @@ 'use strict' | ||
debug = false, | ||
dest = `.clinic/${process.pid}.clinic-heapprofile` | ||
name, | ||
dest = `.clinic/${name || process.pid}.clinic-heapprofiler` | ||
} = settings | ||
@@ -111,0 +112,0 @@ |
@@ -79,4 +79,4 @@ 'use strict' | ||
? node.children.reduce((acc, child) => { | ||
return acc + this.getNodeValue(child) | ||
}, 0) | ||
return acc + this.getNodeValue(child) | ||
}, 0) | ||
: 0 | ||
@@ -83,0 +83,0 @@ } |
@@ -92,4 +92,4 @@ 'use strict' | ||
? thinFrameReducer | ||
// ...fade as above, but based on the width of these same-area siblings, not just this node, so that | ||
// something like [ someFunc ./file.js ][ f ./file.js ][][]||| gets a visible right hand edge | ||
// ...fade as above, but based on the width of these same-area siblings, not just this node, so that | ||
// something like [ someFunc ./file.js ][ f ./file.js ][][]||| gets a visible right hand edge | ||
: Math.min(1, visibleSiblings.slice(0, indexPosition).reduce((acc, sibling) => acc + (sameArea(nodeData, sibling.data) ? (sibling.x1 - sibling.x0) * widthRatio : 0), 0) / (lineWidth * 2)) | ||
@@ -96,0 +96,0 @@ |
@@ -24,3 +24,3 @@ 'use strict' | ||
t.match(filename, /[0-9]+\.clinic-heapprofile$/) | ||
t.match(filename, /[0-9]+\.clinic-heapprofiler$/) | ||
@@ -27,0 +27,0 @@ fs.unlink(filename, callback) |
@@ -14,3 +14,3 @@ 'use strict' | ||
t.match(filename, /[0-9]+\.clinic-heapprofile$/) | ||
t.match(filename, /[0-9]+\.clinic-heapprofiler$/) | ||
@@ -17,0 +17,0 @@ fs.unlink(filename, err => { |
@@ -25,3 +25,3 @@ 'use strict' | ||
t.match(filename, /[0-9]+\.clinic-heapprofile$/) | ||
t.match(filename, /[0-9]+\.clinic-heapprofiler$/) | ||
@@ -28,0 +28,0 @@ fs.unlink(filename, callback) |
@@ -23,3 +23,3 @@ 'use strict' | ||
t.match(filename, /[0-9]+\.clinic-heapprofile$/) | ||
t.match(filename, /[0-9]+\.clinic-heapprofiler$/) | ||
@@ -26,0 +26,0 @@ fs.unlink(filename, err => { |
Sorry, the diff of this file is not supported yet
304133
5100
+ Addedfs-extra@11.2.0(transitive)
- Removedfs-extra@10.1.0(transitive)
Updatedfs-extra@^11.0.0