
Security News
New React Server Components Vulnerabilities: DoS and Source Code Exposure
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.
Pact Contract Testing with Bun
Try out Pact-Bun in your browser, via our interactive tutorial
| OS | Architecture | Supported |
|---|---|---|
| OSX | x86_64 | âś… |
| OSX | arm | âś… |
| Linux | x86_64 | âś… |
| Linux | arm | âś… |
| Windows | x86_64 | âś… |
You can install the correct FFI library with the following command.
deno run -A --unstable https://deno.land/x/pact/src/downloadFfi.ts --run
${HOME}/.pact/ffi/<pact_ffi_version>In a new project:
bun init
bun add pact-bun
In an new project:
bun add pact-bun
bun run helloPactBun.tsimport { PactBun, Pact } from "pact-bun";
const pact = new PactBun();
console.log(pact.getPactFfiVersion());
bun run helloPactBun.tsRun an example by
git clone git@github.com:YOU54F/pact-bun.gitcd pact-bunbun installbun run <name of test>bun run src/grpc.consumer.test.ts
bun run src/http.consumer.test.ts
bun run src/verifier.test.ts
If you want to try out a Pact Broker to publish, view and retrieve your pact files, you can try out this quick start quick.
You'll need docker-compose.
curl pact.saf.dev -Lso - | bash -s -- broker deploy mybroker 8000FAQs
Pact 🔗 Contract Testing for Bun 🥟, Powered by Rust 🦀
The npm package pact-bun receives a total of 1 weekly downloads. As such, pact-bun popularity was classified as not popular.
We found that pact-bun demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.