
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@buzzr/dfs-engine-test-vectors
Advanced tools
Canonical reference fixtures for @buzzr/dfs-engine — golden entry/gamelog/settlement triples so external integrators can prove their wiring matches Buzzr's.
Canonical reference fixtures for @buzzr/dfs-engine.
Each vector is a { entry, gameLogsByLegId, expected } triple that has been
verified against the engine in this package's own tests. External integrators
who wire their own stat providers or settlement pipelines can replay these
vectors to prove their setup grades identically to Buzzr's.
npm install --save-dev @buzzr/dfs-engine-test-vectors @buzzr/dfs-engine
import { describe, expect, test } from 'vitest';
import { createDfsEngine, defineStatProvider } from '@buzzr/dfs-engine';
import { TEST_VECTORS } from '@buzzr/dfs-engine-test-vectors';
describe('my-integration', () => {
test('grades canonical vectors identically to Buzzr', async () => {
for (const v of TEST_VECTORS) {
const provider = defineStatProvider({
id: 'mine',
getGameLog: ({ leg }) => v.gameLogsByLegId[leg.legId] ?? [],
});
const engine = createDfsEngine({ statProviders: [provider] });
const result = await engine.settleEntry(v.entry, { statProviderId: 'mine' });
expect(result.status).toBe(v.expected.status);
}
});
});
MIT
FAQs
Versioned engine regression fixtures for @buzzr/dfs-engine; not official operator conformance.
The npm package @buzzr/dfs-engine-test-vectors receives a total of 6 weekly downloads. As such, @buzzr/dfs-engine-test-vectors popularity was classified as not popular.
We found that @buzzr/dfs-engine-test-vectors 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.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.