
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/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 extensionPacks (extensions is rejected at runtime)contract.source) and diagnostics shapecontract.source.inputsc12, file I/O) - handled by @prisma-next/cliimport { 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); the CLI 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 13,063 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 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.