Repository navigation
Commit 99567a7
Update dependencies to address security advisories
Runs `npm audit fix` plus `npm update`, applying only bumps already
permitted by the existing semver ranges in package.json. No changes to
package.json itself; only package-lock.json is touched.
Resolves the critical and high advisories in our direct dependencies:
- handlebars 4.7.8 -> 4.7.9 (critical: JS injection via AST type
confusion, prototype pollution leading to XSS)
- js-yaml 4.1.1 -> 4.3.0 (high: quadratic-complexity DoS in merge key
handling)
Also clears transitive advisories in ws, flatted, picomatch, and ajv,
and picks up routine minor/patch updates:
- next / eslint-config-next 15.5.9 / 15.5.4 -> 15.5.21
- react, react-dom 19.2.3 -> 19.2.8
- tailwindcss, @tailwindcss/postcss 4.1.18 -> 4.3.3
- eslint 9.39.2 -> 9.39.5, @eslint/eslintrc 3.3.3 -> 3.3.6
- @next/eslint-plugin-next 16.1.1 -> 16.2.11
- autoprefixer 10.4.23 -> 10.5.4, tsx 4.21.0 -> 4.23.1
- react-syntax-highlighter 16.1.0 -> 16.1.1, minimatch 10.1.1 -> 10.2.5
- serve 14.2.5 -> 14.2.6, ink 6.6.0 -> 6.8.0
- @types/node 20.19.27 -> 20.19.43, @types/react 19.2.7 -> 19.2.17
Verified with `npm run lint` (clean) and `npm run build:next` (full
static export succeeds, bundle sizes unchanged from the pre-upgrade
baseline).
Three advisories remain and are deliberately not addressed here, since
neither is fixable within the current major versions:
- postcss and sharp (high), pulled in by next@15. The only fix is
Next 16; `npm audit fix --force` proposes next@16.3.0-preview.9, a
preview build, which is not appropriate here. Worth a separate,
deliberate upgrade to stable 16.x.
- brace-expansion (high, DoS), present only in nested copies inside the
ESLint/typescript-eslint toolchain. `npm audit fix --force` proposes
downgrading @eslint/eslintrc to 0.1.0, which is not viable. Waiting on
upstream.
None of the remaining advisories affect the deployed static site; sharp
and postcss run at build time and the rest is dev tooling.
Note for local development: updating in place can leave the
@tailwindcss/oxide native binary uninstalled, causing the build to fail
with "Cannot find module './tailwindcss-oxide.darwin-universal.node'".
A clean `rm -rf node_modules && npm install` resolves it. Fresh CI
installs are unaffected.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WWCBtvyCpxc2aqtyLDhDeE1 parent 91a88a4 commit 99567a7
1 file changed
Lines changed: 1990 additions & 1823 deletions
0 commit comments