Skip to content

chore(deps): resolve npm audit findings - #463

Merged
penge merged 3 commits into
masterfrom
chore/resolve-audit-issues
Oct 11, 2026
Merged

penge merged 3 commits into
masterfrom
chore/resolve-audit-issues

Conversation

@penge

@penge penge commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

Resolve all npm audit findings. Two of them (braces, sprintf-js) have no
patched release, so they are removed from the dependency tree instead:

  • Bump jest, jest-environment-jsdom, @types/jest, @jest/types to 30 and jsdom to 26
  • Bump @typescript-eslint/* to 8 and eslint to 8.57
  • Drop eslint-config-airbnb-typescript (unmaintained, peer-locked to typescript-eslint 7) and inline the rules it provided in .eslintrc
  • Replace chokidar-cli with chokidar 4 and a watch.ts script for develop-watch
  • Add @types/node 20 (needed by chokidar 4 typings)
  • Override js-yaml under @istanbuljs/load-nyc-config to 4
  • Drop an unused catch binding in call.ts flagged by no-unused-vars
  • Bump typescript from 5.2.2 to 5.9.3 and type the downloadBlob parameter as Uint8Array<ArrayBuffer>

Test plan

  • npm audit reports 0 vulnerabilities
  • npm ci, npm run lint, npm run test, npm run build pass locally
  • develop-watch rebuilds on src changes and copies public changes
  • CI passes

penge added 3 commits October 11, 2026 17:20
- Bump `jest`, `jest-environment-jsdom`, `@types/jest` and `@jest/types`
  from 29 to 30
- Bump `jsdom` from 22 to 26 to match `jest-environment-jsdom`
- Bump `@typescript-eslint/parser` and `@typescript-eslint/eslint-plugin`
  from 6 to 8
- Bump `eslint` to 8.57 and `eslint-config-airbnb-typescript` to 18
- Re-enable the base ESLint formatting rules that `@typescript-eslint` 8
  removed, with the options `eslint-config-airbnb-typescript` used
- Replace `chokidar-cli` with `chokidar` 4 driven by `watch.ts` in the
  `develop-watch` script
- Add `@types/node` 20, required by the `chokidar` 4 typings
- Override `js-yaml` under `@istanbuljs/load-nyc-config` to 4, which
  drops the `argparse` 1 chain
- Add `.npmrc` with `legacy-peer-deps`, as `eslint-config-airbnb-typescript`
  still declares `@typescript-eslint` 7 peers
- Drop the unused catch binding in `call.ts` flagged by `no-unused-vars`
  in `@typescript-eslint` 8

Signed-off-by: penge <ppenge@gmail.com>
- Remove `eslint-config-airbnb-typescript`, last released in 2024 and
  peer-locked to `@typescript-eslint` 7
- Inline the TypeScript-aware rule swaps, import resolver settings and
  `.ts`/`.tsx` overrides it provided directly in `.eslintrc`
- Remove `.npmrc`, as the `legacy-peer-deps` workaround is no longer
  needed

Signed-off-by: penge <ppenge@gmail.com>
- Bump `typescript` from `5.2.2` to `5.9.3`
- Type the `downloadBlob` parameter as `Uint8Array<ArrayBuffer>`, since
  `Uint8Array` became generic in TypeScript 5.7 and the broader default
  is no longer accepted as a `BlobPart`

Signed-off-by: penge <ppenge@gmail.com>
@penge penge self-assigned this Oct 11, 2026
@penge
penge merged commit d9e78a2 into master Oct 11, 2026
1 check passed
@penge
penge deleted the chore/resolve-audit-issues branch October 11, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant