fix(rrweb): null check for pointerEl#202
Merged
michellewzhang merged 1 commit intosentry-v2from Jun 13, 2024
Merged
Conversation
billyvg
approved these changes
Jun 13, 2024
michellewzhang
added a commit
to getsentry/sentry
that referenced
this pull request
Jun 17, 2024
another version to release bug fixes introduced in getsentry/rrweb#202 getsentry/publish#3968 --------- Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com> Co-authored-by: Billy Vong <billy@sentry.io>
chargome
added a commit
that referenced
this pull request
Apr 24, 2026
## 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): - **basic-ftp** 5.0.5 -> 5.3.0 (via puppeteer -> proxy-agent -> get-uri) - **node-forge** 1.3.1 -> 1.4.0 (via vite-plugin-web-extension -> web-ext-run -> @devicefarmer/adbkit) - **picomatch** 2.3.1 -> 2.3.2 (via chokidar, micromatch, @rollup/pluginutils) - **picomatch** 4.0.2 -> 4.0.4 (via @rollup/pluginutils) - **flatted** 3.3.2 -> 3.4.2 (via eslint -> flat-cache) **rrweb-worker build fix**: Replaces `rollup-plugin-typescript2` with `@rollup/plugin-typescript` — the old plugin can't parse `import type` syntax with the newer rollup version pulled in by the `@rollup/plugin-terser` v1 bump. ## Breaking changes - Lockfile refreshes: none — all within existing semver ranges - `rollup-plugin-typescript2` -> `@rollup/plugin-typescript`: drop-in replacement, same rollup plugin API. `@rollup/plugin-typescript` is the officially maintained plugin. Config options (`tsconfig`, `sourceMap`, `inlineSourceMap`, `inlineSources`) are compatible. Build verified passing. ## Dependabot alerts resolved - [Alert #249](https://github.com/getsentry/rrweb/security/dependabot/249) (high) — basic-ftp CRLF injection - [Alert #202](https://github.com/getsentry/rrweb/security/dependabot/202) (critical) — basic-ftp path traversal - [Alert #237](https://github.com/getsentry/rrweb/security/dependabot/237) (high) — node-forge basicConstraints bypass - [Alert #236](https://github.com/getsentry/rrweb/security/dependabot/236) (high) — node-forge Ed25519 signature forgery - [Alert #235](https://github.com/getsentry/rrweb/security/dependabot/235) (high) — node-forge RSA-PKCS signature forgery - [Alert #234](https://github.com/getsentry/rrweb/security/dependabot/234) (high) — node-forge DoS via BigInteger.modInverse - [Alert #164](https://github.com/getsentry/rrweb/security/dependabot/164) (high) — node-forge ASN.1 unbounded recursion - [Alert #163](https://github.com/getsentry/rrweb/security/dependabot/163) (medium) — node-forge ASN.1 OID integer truncation - [Alert #162](https://github.com/getsentry/rrweb/security/dependabot/162) (high) — node-forge ASN.1 desynchronization - [Alert #232](https://github.com/getsentry/rrweb/security/dependabot/232) (medium) — picomatch POSIX class method injection - [Alert #230](https://github.com/getsentry/rrweb/security/dependabot/230) (medium) — picomatch POSIX class method injection (4.x) - [Alert #229](https://github.com/getsentry/rrweb/security/dependabot/229) (high) — picomatch ReDoS via extglob quantifiers - [Alert #227](https://github.com/getsentry/rrweb/security/dependabot/227) (high) — flatted prototype pollution via parse 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes JAVASCRIPT-2THH
we remove the
pointerElwhen aTouchEndevent occurs, so we need to do a null check to make sure it exists before trying to access its properties.