Skip to content

A free, self-hostable news aggregator…

Bump globals and @eslint/js (#9181)

Alexandre Alapetitecb482dd836a4
diff --git a/p/scripts/main.js b/p/scripts/main.js
index e192f205c..b8ddb253a 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -2318,7 +2318,7 @@ function faviconNbUnread(n) {
if (link) {
let svgOutput = '';
if (n > 0) {
- let text = '';
+ let text;
if (n < 1000) {
text = n;
} else if (n < 100000) {
diff --git a/package-lock.json b/package-lock.json
index cb6d1e2c4..29cafcec7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7,10 +7,10 @@
"name": "freshrss",
"license": "AGPL-3.0",
"devDependencies": {
- "@eslint/js": "^9.39.4",
+ "@eslint/js": "^10.0.1",
"@stylistic/stylelint-plugin": "^5.2.1",
"eslint": "^10.8.0",
- "globals": "^10.0.1",
+ "globals": "^17.9.0",
"markdownlint-cli2": "^0.23.2",
"neostandard": "^0.14.0-next",
"rtlcss": "^4.3.0",
@@ -354,16 +354,24 @@
}
},
"node_modules/@eslint/js": {
- "version": "9.39.5",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.5.tgz",
- "integrity": "sha512-QywQuszQh77pIXCsq998c8hbhSTI/azTty1Z6N53dmAudKHhy573j3yvRLsX2BSp8YpLtoCEG8E9DJe+8zUh4A==",
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz",
+ "integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==",
"dev": true,
"license": "MIT",
"engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ "node": "^20.19.0 || ^22.13.0 || >=24"
},
"funding": {
"url": "https://eslint.org/donate"
+ },
+ "peerDependencies": {
+ "eslint": "^10.0.0"
+ },
+ "peerDependenciesMeta": {
+ "eslint": {
+ "optional": true
+ }
}
},
"node_modules/@eslint/object-schema": {
@@ -1853,13 +1861,16 @@
}
},
"node_modules/globals": {
- "version": "10.4.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-10.4.0.tgz",
- "integrity": "sha512-uNUtxIZpGyuaq+5BqGGQHsL4wUlJAXRqOm6g3Y48/CWNGTLONgBibI0lh6lGxjR2HljFYUfszb+mk4WkgMntsA==",
+ "version": "17.9.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-17.9.0.tgz",
+ "integrity": "sha512-m/MvAW61QVU5VDNF1Vj8axt016h8w7L5TU1e9zlab7XIttAT2YAlCwl75K1fOqvMM9apmD7lbCIRhpfkhmxhCg==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=4"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/globby": {
@@ -3091,19 +3102,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/neostandard/node_modules/globals": {
- "version": "17.9.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-17.9.0.tgz",
- "integrity": "sha512-m/MvAW61QVU5VDNF1Vj8axt016h8w7L5TU1e9zlab7XIttAT2YAlCwl75K1fOqvMM9apmD7lbCIRhpfkhmxhCg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/neostandard/node_modules/locate-path": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-8.0.0.tgz",
diff --git a/package.json b/package.json
index 65949010c..2c8ece22c 100644
--- a/package.json
+++ b/package.json
@@ -35,8 +35,8 @@
},
"devDependencies": {
"eslint": "^10.8.0",
- "@eslint/js": "^9.39.4",
- "globals": "^10.0.1",
+ "@eslint/js": "^10.0.1",
+ "globals": "^17.9.0",
"markdownlint-cli2": "^0.23.2",
"neostandard": "^0.14.0-next",
"rtlcss": "^4.3.0",