
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
@pierre/diffs
Advanced tools
@pierre/diffs is an open source diff and file rendering library that uses
Shiki with its JavaScript regex engine by default, with
optional Shiki WebAssembly and Highlights backends. It's super customizable and
packed with the features you need. Made with love by
The Pierre Computer Company. Available as vanilla
JavaScript and React components.
View examples and read documentation on Diffs.com.
font-feature-settingspnpm add @pierre/diffs
Install the agent skill for this package with the Skills CLI:
npx skills add pierrecomputer/pierre --skill diffs
We use pnpm for workspace package management and Bun for tests.
# From the root of the monorepo: setup dependencies
pnpm install
# Start the demo vite test server
moonx demo:dev
# To run the docs (diffs site)
moonx docs:dev-diffs
# Run tests and related command from within the package directory
bun test
# Update snapshots
bun test --update-snapshots
# Type checking
moonx diffs:typecheck
Tests are located in the test/ folder and use Bun's native testing framework
with snapshot support.
Applicable to the Pierre team only.
# You may need to login first:
pnpm login
# Always run publish from within the package directory.
cd packages/diffs
pnpm publish
# In a CI-marked shell: CI= pnpm publish
The diff UI uses an SVG sprite built from @pierre/icons. From the monorepo
root:
moonx root:icons
This reads SVGs from node_modules/@pierre/icons/svg and writes
packages/diffs/src/sprite.ts. Run after updating @pierre/icons or changing
sprite.config.js.
FAQs
Unknown package
The npm package @pierre/diffs receives a total of 1,565,268 weekly downloads. As such, @pierre/diffs popularity was classified as popular.
We found that @pierre/diffs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.