Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/print.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const Os = require('os');
const Marked = require('marked');
const TerminalRenderer = require('marked-terminal');
const TerminalRenderer = require('marked-terminal').default;
const Path = require('path');

const internals = {};
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"@hapipal/toys": "3.x.x",
"bin-v8-flags-filter": ">=1.2.0 <2",
"glob": "7.x.x",
"marked": "1.x.x",
"marked-terminal": "4.x.x",
"marked": "12.x.x",
"marked-terminal": "7.x.x",
"mkdirp": "1.x.x",
"mo-walk": ">=1.1.0 <2",
"pkg-dir": "5.x.x",
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ describe('hpal', () => {

expect(err).to.be.instanceof(Error);
expect(err).to.not.be.instanceof(DisplayError);
expect(err.message).to.contain('Cannot read property \'version\' of null');
expect(err.message).to.contain('Cannot read properties of null (reading \'version\')');
});

it('errors when can\'t find a manifest for an unknown reason.', async (flags) => {
Expand Down