diff --git a/package.json b/package.json index 8badbc5..eea9f27 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,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 d95974f..d03fa8d 100644 --- a/test/index.js +++ b/test/index.js @@ -4,8 +4,8 @@ * @typedef {import('../index.js').Options} Options */ -import fs from 'fs' -import path from 'path' +import fs from 'node:fs' +import path from 'node:path' import test from 'tape' import {readSync, writeSync} from 'to-vfile' import {unified} from 'unified'