Skip to content

Commit

Permalink
bump 9.1.0 (#297)
Browse files Browse the repository at this point in the history
* 9.1.0

* chore: bump 9.1.0
  • Loading branch information
RafaelGSS authored Nov 11, 2021
1 parent 87e8a21 commit dd04d9b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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)
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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",
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions test/cli-heapprofiler-version.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ 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()
})
})

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()
})
})

0 comments on commit dd04d9b

Please sign in to comment.