Upgrade sharp to 0.35.5 and eslint to 10.15, and deny the @parcel/watcher install script
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m4s
Validate and deploy Sokko G / deploy (push) Successful in 14s

sharp 0.34.5 bundles libvips, libheif and librsvg versions with known vulnerabilities (high severity);
0.35.5 fixes them and no longer ships an install script. eslint 10.15 pulls a minimatch fixed for the
globparts denial of service. @parcel/watcher, pulled by sass, already uses a prebuilt binary, so its
node-gyp rebuild script is denied. npm audit now reports no vulnerabilities and npm install no warnings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-18 20:07:32 +01:00
parent ddd1b271dd
commit fb8488de7f
2 changed files with 201 additions and 150 deletions

View file

@ -32,7 +32,7 @@
"@vitejs/plugin-react": "^6.0.3",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"sharp": "0.34.5",
"sharp": "0.35.5",
"vite": "^8.1.5"
},
"devDependencies": {
@ -43,5 +43,8 @@
"eslint-plugin-react-refresh": "^0.5.4",
"globals": "^17.11.0",
"sass": "^1.101.3"
},
"allowScripts": {
"@parcel/watcher": false
}
}