diff --git a/package.json b/package.json index 59dabc0..40a7abb 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "to-vfile": "^7.0.0", "type-coverage": "^2.0.0", "typescript": "^4.0.0", - "xo": "^0.39.0" + "xo": "^0.43.0" }, "scripts": { "build": "rimraf \"test/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage", diff --git a/test/index.js b/test/index.js index b7d26b5..de8fa57 100644 --- a/test/index.js +++ b/test/index.js @@ -2,8 +2,8 @@ * @typedef {import('mdast').Root} Root */ -import fs from 'fs' -import path from 'path' +import fs from 'node:fs' +import path from 'node:path' import test from 'tape' import {readSync} from 'to-vfile' import {unified} from 'unified'