Skip to content

Commit bfee90a

Browse files
committed
Remove node:url, expect URL in global
1 parent 89bb476 commit bfee90a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/atom.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
* @typedef {import('./types.js').Entry} Entry
77
*/
88

9-
import {URL} from 'node:url'
9+
import {bcp47Normalize as normalize} from 'bcp-47-normalize'
1010
import {u} from 'unist-builder'
1111
import {x} from 'xastscript'
12-
import {bcp47Normalize as normalize} from 'bcp-47-normalize'
1312
import {toAuthor, toDate} from './util.js'
1413

1514
/**

lib/rss.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
* @typedef {import('./types.js').Entry} Entry
66
*/
77

8-
import {URL} from 'node:url'
8+
import {bcp47Normalize as normalize} from 'bcp-47-normalize'
99
import {u} from 'unist-builder'
1010
import {x} from 'xastscript'
11-
import {bcp47Normalize as normalize} from 'bcp-47-normalize'
1211
import {toAuthor, toDate} from './util.js'
1312

1413
/**

0 commit comments

Comments
 (0)