mirror of
https://github.com/simple-icons/simple-icons.git
synced 2025-01-05 01:20:39 +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",
|
"svgo": "3.3.2",
|
||||||
"svgpath": "2.6.0",
|
"svgpath": "2.6.0",
|
||||||
"typescript": "5.6.3",
|
"typescript": "5.6.3",
|
||||||
"xo": "0.59.3"
|
"xo": "0.60.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "node scripts/build/package.js",
|
"build": "node scripts/build/package.js",
|
||||||
|
@ -170,7 +170,7 @@ const TESTS = {
|
|||||||
|
|
||||||
const invalidUrls = [];
|
const invalidUrls = [];
|
||||||
for (const [isSourceUrl, url] of allUrlFields) {
|
for (const [isSourceUrl, url] of allUrlFields) {
|
||||||
const $url = new global.URL(url);
|
const $url = new globalThis.URL(url);
|
||||||
|
|
||||||
if (hasRedundantTrailingSlash($url, url)) {
|
if (hasRedundantTrailingSlash($url, url)) {
|
||||||
invalidUrls.push(fakeDiff(url, $url.origin));
|
invalidUrls.push(fakeDiff(url, $url.origin));
|
||||||
|
Loading…
Reference in New Issue
Block a user