fix(deps): refresh lockfile pins for vulnerable transitive deps#285
fix(deps): refresh lockfile pins for vulnerable transitive deps#285
Conversation
Updates stale yarn.lock resolutions to patched versions within their existing semver ranges — no package.json changes needed. - basic-ftp 5.0.5 -> 5.3.0 (fixes path traversal + CRLF injection) - node-forge 1.3.1 -> 1.4.0 (fixes cert chain bypass, signature forgery, and DoS via BigInteger.modInverse) - picomatch 2.3.1 -> 2.3.2 (fixes POSIX class method injection) - picomatch 4.0.2 -> 4.0.4 (fixes ReDoS + method injection) - flatted 3.3.2 -> 3.4.2 (fixes prototype pollution via parse) Also replaces rollup-plugin-typescript2 with @rollup/plugin-typescript in rrweb-worker to fix build breakage from the @rollup/plugin-terser v1 bump (the old plugin can't parse import type with newer rollup). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
501daa8 to
2038970
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2038970. Configure here.
| import commonjs from '@rollup/plugin-commonjs'; | ||
| import resolve from '@rollup/plugin-node-resolve'; | ||
| import typescript from 'rollup-plugin-typescript2'; | ||
| import typescript from '@rollup/plugin-typescript'; |
There was a problem hiding this comment.
Plugin swap may break build with composite tsconfig
Medium Severity
Switching from rollup-plugin-typescript2 to @rollup/plugin-typescript while tsconfig.json has composite: true (which implies declaration: true) may cause a build failure. The @rollup/plugin-typescript docs require declarationDir to be set when declaration is enabled, but neither the plugin options nor the tsconfig specify declarationDir. The old plugin handled this differently. This change also goes beyond what the PR description claims ("No package.json changes — only the lockfile is updated").
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 2038970. Configure here.


Summary
Updates stale yarn.lock resolutions to patched versions within their existing semver ranges, plus fixes a build breakage in rrweb-worker.
Lockfile refreshes (no package.json changes):
rrweb-worker build fix: Replaces
rollup-plugin-typescript2with@rollup/plugin-typescript— the old plugin can't parseimport typesyntax with the newer rollup version pulled in by the@rollup/plugin-terserv1 bump.Breaking changes
rollup-plugin-typescript2->@rollup/plugin-typescript: drop-in replacement, same rollup plugin API.@rollup/plugin-typescriptis the officially maintained plugin. Config options (tsconfig,sourceMap,inlineSourceMap,inlineSources) are compatible. Build verified passing.Dependabot alerts resolved
🤖 Generated with Claude Code