diff --git a/lib/util/resolve.js b/lib/util/resolve.js index 71567dd..565ffcd 100644 --- a/lib/util/resolve.js +++ b/lib/util/resolve.js @@ -2,8 +2,6 @@ * @typedef {import('../types.js').H} H */ -import {URL} from 'node:url' - /** * @param {H} h * @param {string|null|undefined} url diff --git a/package.json b/package.json index 763b7db..572dba0 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "rimraf": "^3.0.0", "tape": "^5.0.0", "type-coverage": "^2.0.0", - "typescript": "^4.0.0", + "typescript": "~4.4.0", "unified": "^10.0.0", "unist-builder": "^3.0.0", "unist-util-remove-position": "^4.0.0", diff --git a/test/fixtures/figure-figcaption/index.md b/test/fixtures/figure-figcaption/index.md index ce4aa02..6e07ac8 100644 --- a/test/fixtures/figure-figcaption/index.md +++ b/test/fixtures/figure-figcaption/index.md @@ -1,4 +1,4 @@ -![The Pulpit Rock](img\_pulpit.jpg) +![The Pulpit Rock](img_pulpit.jpg) Fig1. - A view of the pulpit rock in Norway.