
Security News
npm v12 Ships With Install Scripts Off by Default, Begins Deprecating 2FA-Bypass Tokens
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.
@mergifyio/vitest
Advanced tools
A Vitest reporter that integrates seamlessly with Mergify, uploading OpenTelemetry traces of test executions to Mergify CI Insights, along with optional quarantine and flaky-test detection.
More information at https://mergify.com
Install the package as a dev dependency alongside vitest (>= 3.0.0):
npm install --save-dev @mergifyio/vitest
Register MergifyReporter in your vitest.config.ts:
import { defineConfig } from 'vitest/config';
import MergifyReporter from '@mergifyio/vitest';
export default defineConfig({
test: {
reporters: ['default', new MergifyReporter()],
},
});
Set MERGIFY_TOKEN in your CI environment so the reporter can upload test
traces. Without it, the reporter stays silent and tests run normally.
| Variable | Description | Default |
|---|---|---|
MERGIFY_TOKEN | Mergify API authentication token | (required) |
MERGIFY_API_URL | Mergify API endpoint | https://api.mergify.com |
VITEST_MERGIFY_ENABLE | Force-enable outside CI | false |
MERGIFY_CI_DEBUG | Print spans to console instead of uploading | false |
MERGIFY_TRACEPARENT | W3C distributed trace context | — |
For detailed documentation, see the official guide.
Clone the repo and install dependencies:
pnpm install
Available scripts (from this package's directory or with pnpm --filter @mergifyio/vitest):
| Command | What it does |
|---|---|
pnpm test | Run the test suite once (vitest run) |
pnpm run build | Bundle the package with tsdown |
FAQs
Vitest reporter for Mergify CI Insights
The npm package @mergifyio/vitest receives a total of 12,972 weekly downloads. As such, @mergifyio/vitest popularity was classified as popular.
We found that @mergifyio/vitest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.

Security News
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.