diff --git a/bin.js b/bin.js index ade0d1c..145d4a0 100755 --- a/bin.js +++ b/bin.js @@ -181,7 +181,7 @@ const result = commist() } })) .register('heapprofiler', catchify(async function (argv) { - const version = require('node-clinic-heap-profiler/package.json').version + const version = require('@nearform/clinic-heap-profiler/package.json').version const args = subarg(argv, { alias: { @@ -213,7 +213,7 @@ const result = commist() } else if (args['visualize-only'] || args['--'].length > 1) { checkArgs('heap-profiler', args, 'clinic-heap-profiler', version) await trackTool('heap-profiler', args, version) - await runTool('heap-profiler', require('node-clinic-heap-profiler'), version, args, { color: 'yellow' }) + await runTool('heap-profiler', require('@nearform/clinic-heap-profiler'), version, args, { color: 'yellow' }) } else { printHelp('clinic-heap-profiler', version) process.exit(1) diff --git a/package.json b/package.json index 8da0b54..0c4ae85 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "clinic", "description": "Clinic.js diagnoses your performance issues", "repository": "clinicjs/node-clinic", - "version": "9.0.0", + "version": "9.1.0", "engines": { "node": ">= 12.13.0" }, @@ -18,9 +18,10 @@ "lint": "standard --fix | snazzy" }, "dependencies": { - "@nearform/bubbleprof": "^7.0.0", - "@nearform/doctor": "^8.0.0", - "@nearform/flame": "^9.0.0", + "@nearform/bubbleprof": "^7.0.1", + "@nearform/doctor": "^8.1.0", + "@nearform/flame": "^9.1.0", + "@nearform/clinic-heap-profiler": "^1.1.0", "any-shell-escape": "^0.1.1", "async": "^3.0.1", "autocannon": "^6.5.0", @@ -31,7 +32,6 @@ "execspawn": "^1.0.1", "insight": "^0.10.1", "minimist": "^1.2.0", - "node-clinic-heap-profiler": "^1.0.0", "open": "^7.3.0", "ora": "^5.1.0", "rimraf": "^3.0.0", diff --git a/test/cli-heapprofiler-version.test.js b/test/cli-heapprofiler-version.test.js index 525e6f2..edd86b8 100644 --- a/test/cli-heapprofiler-version.test.js +++ b/test/cli-heapprofiler-version.test.js @@ -6,7 +6,7 @@ const cli = require('./cli.js') test('clinic heapprofiler --version', function (t) { cli({}, ['clinic', 'heapprofiler', '--version'], function (err, stdout) { t.error(err) - t.equal(stdout, `v${require('node-clinic-heap-profiler/package.json').version}\n`) + t.equal(stdout, `v${require('@nearform/clinic-heap-profiler/package.json').version}\n`) t.end() }) }) @@ -14,7 +14,7 @@ test('clinic heapprofiler --version', function (t) { test('clinic heapprofiler -v', function (t) { cli({}, ['clinic', 'heapprofiler', '-v'], function (err, stdout) { t.error(err) - t.equal(stdout, `v${require('node-clinic-heap-profiler/package.json').version}\n`) + t.equal(stdout, `v${require('@nearform/clinic-heap-profiler/package.json').version}\n`) t.end() }) })