
Security News
New Study Identifies 53 Slopsquatting Targets Across 5 Frontier LLMs
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.
@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/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 22,061 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.
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
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.

Security News
The White House’s Gold Eagle Initiative aims to coordinate AI-discovered vulnerabilities, validate findings, and accelerate patching across critical software.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.