
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
@prisma-next/runtime-executor
Advanced tools
Target-agnostic execution engine for Prisma Next.
The runtime-executor package provides the target-neutral execution engine responsible for plan validation, marker verification, plugin lifecycle, telemetry, and the runtime SPI definition. It is designed to work with any target family (SQL, document, graph, etc.) through the RuntimeFamilyAdapter interface.
Provide a target-agnostic execution engine that family runtimes (e.g., @prisma-next/sql-runtime) can compose with family-specific adapters, drivers, and codecs.
RuntimeFamilyAdapter interface that family runtimes implementFamily runtimes implement this interface to provide:
readMarkerStatement() - Returns SQL/query statement to read markervalidatePlan(plan, contract) - Family-specific plan validationcontract - The family-specific contract typeThe target-neutral runtime implementation that:
RuntimeFamilyAdapter and driver@prisma-next/contract - Plan types@prisma-next/operations - Operation registryNo SQL-specific dependencies - This package is target-agnostic.
Family runtimes (e.g., @prisma-next/sql-runtime) compose runtime-executor with family-specific implementations:
import { createRuntimeCore } from '@prisma-next/runtime-executor';
import { SqlFamilyAdapter } from './sql-family-adapter';
const familyAdapter = new SqlFamilyAdapter(contract);
const core = createRuntimeCore({
familyAdapter,
driver,
verify: { mode: 'onFirstUse', requireMarker: false },
operationRegistry,
plugins: [],
});
createRuntimeCore - Create a target-neutral runtime instanceRuntimeFamilyAdapter - Interface for family runtimesMarkerReader - Interface for marker readingruntimeError - Error envelope utilitiescomputeSqlFingerprint - SQL fingerprint computationparseContractMarkerRow - Marker parsing utilitiesIncludes a mock-family smoke test (test/mock-family.test.ts) that proves runtime-executor can work without SQL dependencies.
FAQs
Target-agnostic execution engine for Prisma Next
The npm package @prisma-next/runtime-executor receives a total of 613 weekly downloads. As such, @prisma-next/runtime-executor popularity was classified as not popular.
We found that @prisma-next/runtime-executor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.