mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-26 01:13:41 +02:00
Bump xo to 0.60.0 (#12303)
This commit is contained in:
parent
8c2d958a86
commit
d65594c38d
@ -108,7 +108,7 @@
|
||||
"svgo": "3.3.2",
|
||||
"svgpath": "2.6.0",
|
||||
"typescript": "5.6.3",
|
||||
"xo": "0.59.3"
|
||||
"xo": "0.60.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "node scripts/build/package.js",
|
||||
|
@ -170,7 +170,7 @@ const TESTS = {
|
||||
|
||||
const invalidUrls = [];
|
||||
for (const [isSourceUrl, url] of allUrlFields) {
|
||||
const $url = new global.URL(url);
|
||||
const $url = new globalThis.URL(url);
|
||||
|
||||
if (hasRedundantTrailingSlash($url, url)) {
|
||||
invalidUrls.push(fakeDiff(url, $url.origin));
|
||||
|
Loading…
Reference in New Issue
Block a user