Skip to content

Commit

Permalink
Remove use of URL from node:url
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
lxcid committed Feb 6, 2022
1 parent 9d6abd0 commit 135288e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lib/util/resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
* @typedef {import('../types.js').H} H
*/

import {URL} from 'node:url'

/**
* @param {H} h
* @param {string|null|undefined} url
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/figure-figcaption/index.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down

0 comments on commit 135288e

Please sign in to comment.