chore: update web dependencies (#8534)

* chore: bump esbuild@0.27

* chore: bump eslint-plugin-unicorn@63

* chore: bump globals@17

* chore: bump stylelint@17

* chore: pin eslint-plugin-sonarjs@3.0.5

https://github.com/SonarSource/SonarJS/pull/6148 added a dependency that's not declared in the package.json. And of course it's AI slop.

* chore: re-generate package-lock.json

* fix: lint errors

* ci: temporarily enable arm64 NetBSD runner

* Revert "ci: temporarily enable arm64 NetBSD runner"

This reverts commit 39c9be3978.
This commit is contained in:
Yat Ho
2026-02-19 05:20:47 +08:00
committed by GitHub
parent 1b1ccc08dc
commit 851881b59f
5 changed files with 1245 additions and 876 deletions

View File

@@ -56,7 +56,7 @@ set(GTKMM4_MINIMUM 4.11.1)
set(OPENSSL_MINIMUM 1.1.0)
set(MBEDTLS_MINIMUM 2.7)
set(MINIUPNPC_MINIMUM 2.2.1)
set(NPM_MINIMUM 10.2.3) # Node.js 20.10 (eslint-plugin-unicorn)
set(NPM_MINIMUM 10.8.2) # Node.js 20.19 (stylelint@17)
set(PSL_MINIMUM 0.21.0)
set(QT_MINIMUM 5.15)
set(SIGSLOT_MINIMUM 1.2.3)

2098
web/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -20,18 +20,18 @@
"devDependencies": {
"@eslint/js": "^9.7.0",
"@primer/stylelint-config": "^13.4.0",
"esbuild": "^0.25.11",
"esbuild": "^0.27.3",
"esbuild-sass-plugin": "^3.3.1",
"eslint": "^9.38.0",
"eslint-plugin-sonarjs": "^3.0.5",
"eslint-plugin-unicorn": "^61.0.2",
"globals": "^16.4.0",
"eslint-plugin-sonarjs": "3.0.5",
"eslint-plugin-unicorn": "^63.0.0",
"globals": "^17.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.6.2",
"sass": "^1.89.2",
"style-loader": "^4.0.0",
"stylelint": "^16.25.0",
"stylelint-config-sass-guidelines": "^12.1.0"
"stylelint": "^17.3.0",
"stylelint-config-sass-guidelines": "^13.0.0"
},
"dependencies": {
"clusterize.js": "^1.0.0",

View File

@@ -187,9 +187,9 @@ export class Remote {
changeFileCommand(torrentId, fileIndices, command) {
const params = {
[command]: fileIndices,
ids: [torrentId],
};
params[command] = fileIndices;
this.sendRequest(
{
jsonrpc: RPC._JsonRpcVersion,

View File

@@ -25,12 +25,7 @@ export default {
'selector-attribute-quotes': null,
'selector-max-compound-selectors': null,
'selector-max-id': null,
'selector-no-qualifying-type': [
true,
{
ignore: ['attribute'],
},
],
'selector-no-qualifying-type': null, // "This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as SCSS or Less."
'selector-pseudo-class-no-unknown': true,
'selector-pseudo-element-no-unknown': true,
'selector-type-no-unknown': true,