
Security News
Open VSX Begins Implementing Pre-Publish Security Checks After Repeated Supply Chain Incidents
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.
@vercel/before-and-after
Advanced tools
Simple before/after screenshot tool for capturing and comparing web pages
Before and after is a tool that adds before and after screenshots to your PRs. Add it as a skill for your agent to call automatically or use it directly from the command line.

Install globally to use from anywhere:
npm i -g @vercel/before-and-after
Capture any two URLs, protocol is optional:
before-and-after site.com localhost:3000
Show your agent how and when to take before and afters. The skill uses gh to detect the associated PR with your branch and (soon) vercel to bypass deployment protection when capturing from Vercel preview branches.
npx skills add vercel-labs/before-and-after
Capture a specific element using a CSS selector:
before-and-after url1 url2 ".hero"
Use different selectors for before and after:
before-and-after url1 url2 ".old" ".new"
Capture at mobile (375×812), tablet (768×1024), or custom viewport:
before-and-after url1 url2 --mobile
before-and-after url1 url2 --size 1920x1080
Capture the entire scrollable page:
before-and-after url1 url2 --full
Output a markdown table for PR descriptions:
before-and-after url1 url2 --markdown
Use existing images instead of capturing URLs:
before-and-after before.png after.png
Mix URLs and images:
before-and-after before.png localhost:3000
Save to a custom location:
before-and-after url1 url2 --output ./screenshots
Upload to a custom image storage service:
before-and-after url1 url2 --upload my-s3-uploader
By default, images are uploaded to 0x0.st. For heavy usage or sensitive captures, use your own upload handler.
FAQs
Simple before/after screenshot tool for capturing and comparing web pages
The npm package @vercel/before-and-after receives a total of 76 weekly downloads. As such, @vercel/before-and-after popularity was classified as not popular.
We found that @vercel/before-and-after demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 368 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.

Research
/Security News
Threat actors compromised four oorzc Open VSX extensions with more than 22,000 downloads, pushing malicious versions that install a staged loader, evade Russian-locale systems, pull C2 from Solana memos, and steal macOS credentials and wallets.

Security News
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.