Parcourir la source

Bump globals and @eslint/js (#9181)

Follow-up of https://github.com/FreshRSS/FreshRSS/pull/9178
Alexandre Alapetite il y a 14 heures
Parent
commit
cb482dd836
3 fichiers modifiés avec 24 ajouts et 26 suppressions
  1. 1 1
      p/scripts/main.js
  2. 21 23
      package-lock.json
  3. 2 2
      package.json

+ 1 - 1
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) {

+ 21 - 23
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",

+ 2 - 2
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",