
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@prisma-next/config
Advanced tools
Internal package. This package is an implementation detail of
prisma-nextand is published only to support its runtime. Its API is unstable and may change without notice. Do not depend on this package directly; installprisma-nextinstead.
Config authoring types and validation for prisma-next.config.ts.
This package owns the shared config contract used by tooling and authoring packages:
PrismaNextConfig and ContractConfig typesdefineConfig() normalization/defaultingvalidateConfig() structural/runtime-shape validationfamily, target, adapter, optional driver, and optional extensions (extensions is rejected at runtime)contract.source) and diagnostics shapecontract.source.inputsc12, file I/O) - handled by @prisma-next/config-loaderimport { defineConfig } from '@prisma-next/config/config-types';
import { validateConfig } from '@prisma-next/config/config-validation';
const config = defineConfig({
family: sqlFamilyDescriptor,
target: postgresTargetDescriptor,
adapter: postgresAdapterDescriptor,
contract: {
source: {
inputs: ['./prisma/schema.prisma'],
load: async (_context) =>
/* Result<Contract, ContractSourceDiagnostics> */ null as never,
},
},
});
validateConfig(config);
Declare source.inputs only for source files that are not already covered by the config module
graph, such as PSL schema paths or TypeScript contract paths passed as strings. Do not include
emitted artifact paths derived from contract.output (for example contract.json or the
colocated contract.d.ts); @prisma-next/config-loader resolves and validates those paths
before emit/watch commands run. Tooling should always treat the config module graph as watched by default.
FAQs
Prisma Next config authoring types and validation
The npm package @prisma-next/config receives a total of 1,989 weekly downloads. As such, @prisma-next/config popularity was classified as popular.
We found that @prisma-next/config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.