Skip to content

Commit

Permalink
fix(fail): replaced usage of assert keyword with "with" keyword to su…
Browse files Browse the repository at this point in the history
…pport node version 22.0.0
  • Loading branch information
aldenbe committed Apr 26, 2024
1 parent e890a0b commit 64498e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/definitions/errors.js
@@ -1,5 +1,5 @@
import {inspect} from 'util';
import pkg from '../../package.json' assert {type: 'json'};
import pkg from '../../package.json' with {type: 'json'};

const [homepage] = pkg.homepage.split('#');
const linkify = (file) => `${homepage}/blob/master/${file}`;
Expand Down

0 comments on commit 64498e6

Please sign in to comment.