1
0
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:
LitoMore 2024-12-11 22:31:26 +08:00 committed by GitHub
parent 8c2d958a86
commit d65594c38d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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));