Skip to content

Checking node existence#174

Merged
Yuyz0112 merged 7 commits intorrweb-io:masterfrom
IMFIL:checkingNodeExistence
Mar 1, 2020
Merged

Checking node existence#174
Yuyz0112 merged 7 commits intorrweb-io:masterfrom
IMFIL:checkingNodeExistence

Conversation

@IMFIL
Copy link
Copy Markdown
Contributor

@IMFIL IMFIL commented Feb 19, 2020

No description provided.

@IMFIL
Copy link
Copy Markdown
Contributor Author

IMFIL commented Feb 26, 2020

@Yuyz0112 This MR is a fix the #173 issue. I have been using this fix in production for the past week and has been working great.

@Yuyz0112
Copy link
Copy Markdown
Member

Yuyz0112 commented Mar 1, 2020

@IMFIL I'm going to merge this PR, and then I will investigate the root cause.

@Yuyz0112 Yuyz0112 merged commit fc6c6c4 into rrweb-io:master Mar 1, 2020
billyvg added a commit to p-mazhnik/rrweb that referenced this pull request May 21, 2024
This adds a configuration option to set a max size for canvas snapshots.
This will scale down canvas snapshot images if they are larger than the
configure size limit. The size configuration is width * height.
GabriWar pushed a commit to GabriWar/rrweb that referenced this pull request May 7, 2026
Remove lerna and replace its two uses with lighter alternatives:

- **`lerna version`** → `scripts/bump-version.js` — a ~80-line Node
script that updates all workspace `package.json` versions and
`@sentry-internal/*` cross-references to the exact new version. Modeled
after
[sentry-javascript#19325](getsentry/sentry-javascript#19325).
- **`lerna run build:tarball`** → `turbo run build:tarball` — Turborepo
is already used for all other cross-package tasks.

Lerna was pulling in a large transitive dependency tree including
packages with known vulnerabilities. This removes ~2,300 lines from
`yarn.lock`.

### Dependabot alerts resolved

**Fully resolved** (vulnerable package completely removed from
lockfile):

| Alert | Severity | Package | Summary |
|-------|----------|---------|---------|
| rrweb-io#217 | HIGH | `tar` | Symlink Path Traversal via Drive-Relative
Linkpath |
| rrweb-io#216 | HIGH | `tar` | Hardlink Path Traversal via Drive-Relative
Linkpath |
| rrweb-io#185 | HIGH | `tar` | Arbitrary File Read/Write via Hardlink Target
Escape Through Symlink Chain |
| rrweb-io#176 | HIGH | `tar` | Arbitrary File Creation/Overwrite via Hardlink
Path Traversal |
| rrweb-io#174 | HIGH | `tar` | Race Condition via Unicode Ligature Collisions
on macOS APFS |
| rrweb-io#172 | HIGH | `tar` | Arbitrary File Overwrite and Symlink Poisoning
via Insufficient Path Sanitization |
| rrweb-io#137 | HIGH | `axios` | SSRF and Credential Leakage via Absolute URL |

**Partially resolved** (some vulnerable entries removed, but the package
still exists via other dependency chains):

| Alert | Severity | Package | Remaining source |
|-------|----------|---------|-----------------|
| rrweb-io#213, rrweb-io#208, rrweb-io#207, rrweb-io#205 | HIGH | `minimatch` | `markdownlint-cli`,
`vite-plugin-dts` still pull in vulnerable versions |
| rrweb-io#161 | HIGH | `glob` | `markdownlint-cli`, `web-ext-run` still pull in
vulnerable versions |
| rrweb-io#136, rrweb-io#135 | CRITICAL | `form-data` | `jest` (via jsdom) still pulls
in `form-data@3.0.2` |
| rrweb-io#158, rrweb-io#157 | MEDIUM | `js-yaml` | `@changesets/cli`, `jest` still pull
in `js-yaml@3.14.1` |

The partially resolved alerts will be addressed in later phases (Phase
6: mop up remaining — bumping `markdownlint-cli`, `@changesets/cli`,
`jest`/rrvideo, etc.).

Part of the ongoing effort to resolve all Dependabot alerts on this
repo.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

2 participants