Skip to content

Resolve all Dependabot alerts and trim the dependency tree#86

Merged
nicomiguelino merged 1 commit into
masterfrom
fix/security-dependency-updates-14.07.2026
Jul 14, 2026
Merged

Resolve all Dependabot alerts and trim the dependency tree#86
nicomiguelino merged 1 commit into
masterfrom
fix/security-dependency-updates-14.07.2026

Conversation

@renatgalimov

@renatgalimov renatgalimov commented Jul 14, 2026

Copy link
Copy Markdown

Screenly/zapier had 31 open Dependabot alerts (4 critical, 10 high, plus moderate/low), all in the transitive npm tree, and npm audit reported 30 vulnerabilities. This clears every alert (npm audit now reports 0) and shrinks the installed dependency tree from 761 to 546 packages.

Three direct dependencies were unused and removed: node-fetch (Node ≥20 has global fetch), form-data, and glob — all HTTP goes through z.request and uploads are JSON, not multipart. vitest/@vitest/coverage-v8 were bumped to 3.2.6 (fixes vitest, vite, rollup) and markdownlint-cli to 0.49.0 (fixes glob, js-yaml, markdown-it, smol-toml, markdownlint). Remaining transitive fixes came from npm audit fix (no --force); the form-data and lodash copies pulled in by zapier-platform-core are pinned via exact overrides (4.0.6 and 4.18.1) to avoid a zapier-platform-core v19 major bump.

puppeteer was replaced with puppeteer-core so npm install no longer downloads a bundled Chromium (~150MB); the visual test uses the system Chrome that CI already installs via browser-actions/setup-chrome. .claude/ is added to .gitignore so Claude Code's local settings don't trip the prettier pre-commit hook.

Build, all 27 unit tests, eslint, and prettier pass.

🤖 Generated with Claude Code

@renatgalimov
renatgalimov force-pushed the fix/security-dependency-updates-14.07.2026 branch from e2a1e5f to 310fe80 Compare July 14, 2026 07:56
@renatgalimov renatgalimov changed the title Resolve all Dependabot alerts and trim 205 unused packages Resolve all Dependabot alerts and trim the dependency tree Jul 14, 2026
Clears all 31 open Dependabot alerts (4 critical) and shrinks the
installed tree from 761 to 556 packages by dropping three unused direct
deps: node-fetch (native fetch on Node >=20), form-data and glob (all
HTTP goes through z.request; uploads are JSON). Bump vitest/coverage-v8
to 3.2.6 and markdownlint-cli to 0.49.0 for upstream fixes, and pin
form-data 4.0.6 and lodash 4.18.1 via overrides for the transitive
copies under zapier-platform-core.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Ignore Claude Code local settings directory

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Use puppeteer-core with system Chrome for visual tests

Replace puppeteer with puppeteer-core so npm install no longer downloads
a bundled Chromium (~150MB) on every install. The visual test now
launches the system Chrome that CI already installs via
browser-actions/setup-chrome, resolved through the CHROME_PATH env var.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@renatgalimov
renatgalimov force-pushed the fix/security-dependency-updates-14.07.2026 branch from 310fe80 to 85be2ae Compare July 14, 2026 08:36
@nicomiguelino
nicomiguelino merged commit ed69fd3 into master Jul 14, 2026
5 of 7 checks passed
@nicomiguelino
nicomiguelino deleted the fix/security-dependency-updates-14.07.2026 branch July 14, 2026 13:38
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