Skip to content

Commit 135288e

Browse files
authored
Remove use of URL from node:url
Also: * add locks of TS for now * update test fixture for external formatting improvements Related-to GH-70. Closes GH-71. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent 9d6abd0 commit 135288e

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

lib/util/resolve.js

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* @typedef {import('../types.js').H} H
33
*/
44

5-
import {URL} from 'node:url'
6-
75
/**
86
* @param {H} h
97
* @param {string|null|undefined} url

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"rimraf": "^3.0.0",
6868
"tape": "^5.0.0",
6969
"type-coverage": "^2.0.0",
70-
"typescript": "^4.0.0",
70+
"typescript": "~4.4.0",
7171
"unified": "^10.0.0",
7272
"unist-builder": "^3.0.0",
7373
"unist-util-remove-position": "^4.0.0",

test/fixtures/figure-figcaption/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![The Pulpit Rock](img\_pulpit.jpg)
1+
![The Pulpit Rock](img_pulpit.jpg)
22

33
Fig1. - A view of the pulpit rock in Norway.
44

0 commit comments

Comments
 (0)