
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@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 1,831 weekly downloads. As such, @prisma-next/runtime-executor popularity was classified as 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.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.