Skip to content

Commit f662588

Browse files
committed
Update xo
1 parent a1f40a6 commit f662588

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/util/resolve.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @typedef {import('../types.js').H} H
33
*/
44

5-
import {URL} from 'url'
5+
import {URL} from 'node:url'
66

77
/**
88
* @param {H} h

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"unified": "^10.0.0",
7373
"unist-builder": "^3.0.0",
7474
"unist-util-remove-position": "^4.0.0",
75-
"xo": "^0.39.0"
75+
"xo": "^0.42.0"
7676
},
7777
"scripts": {
7878
"prepack": "npm run build && npm run format",

test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* @typedef {import('../lib/types.js').Handle} Handle
66
*/
77

8-
import fs from 'fs'
9-
import path from 'path'
8+
import fs from 'node:fs'
9+
import path from 'node:path'
1010
import test from 'tape'
1111
import {u} from 'unist-builder'
1212
import {h} from 'hastscript'

0 commit comments

Comments
 (0)