Comparing version 4.7.3 to 4.7.4
@@ -108,3 +108,3 @@ 'use strict' | ||
const traceFile = /^stacks\.(.*)\.out$/ | ||
const isolateLog = /^isolate-((0x)?[0-9A-Fa-f]{2,16})-(.*)-v8\.(log|json)$/ | ||
const isolateLog = /^isolate-((0x)?[0-9A-Fa-f]{2,16})(?:-\d*)?-(\d*)-v8\.(log|json)$/ | ||
const stacks = ls.find((f) => isolateLog.test(f) || traceFile.test(f)) | ||
@@ -111,0 +111,0 @@ if (!stacks) { |
@@ -57,3 +57,3 @@ 'use strict' | ||
.filter(function (f) { | ||
return /isolate-(0x[0-9A-Fa-f]{2,12})-v8\.log/.test(f) | ||
return /isolate-(0x[0-9A-Fa-f]{2,12})(-\d+)?(-\d+)?-v8\.log/.test(f) | ||
}) | ||
@@ -60,0 +60,0 @@ .forEach(function (f) { |
{ | ||
"name": "0x", | ||
"version": "4.7.3", | ||
"version": "4.7.4", | ||
"description": "🔥 single-command flamegraph profiling 🔥", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -126,3 +126,3 @@ 'use strict' | ||
v8.getIsolateLog = function (workingDir, pid) { | ||
const regex = new RegExp(`isolate-0(x)?([0-9A-Fa-f]{2,16})-${pid}-v8.log`) | ||
const regex = new RegExp(`isolate-0(x)?([0-9A-Fa-f]{2,16})(-${pid})?-${pid}-v8.log`) | ||
return fs.readdirSync(workingDir).find(regex.test.bind(regex)) | ||
@@ -129,0 +129,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
96376