
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-loader
Advanced tools
Prisma Next config loader: discovers, validates, and finalizes prisma-next.config.ts
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.
Discovers, validates, and finalizes prisma-next.config.ts.
This package owns config loading — the file I/O (c12), validation, and finalization
that turns a prisma-next.config.ts on disk into a resolved PrismaNextConfig. It also
performs the emitter-derived artifact-collision check (getEmittedArtifactPaths).
It exposes a single loadConfig(configPath?) that maps failures to the CLI's structured
@prisma-next/errors/control errors (CliStructuredError). Consumers that need to react to
specific failures (e.g. the language server degrading on a missing/invalid config) branch on
the structured error's stable code (4001 = config file not found, 4009 = config validation).
import { loadConfig } from '@prisma-next/config-loader';
import { CliStructuredError } from '@prisma-next/errors/control';
try {
const config = await loadConfig('prisma-next.config.ts');
} catch (error) {
if (error instanceof CliStructuredError && error.code === '4001') {
// degrade gracefully on a missing config
}
}
FAQs
Prisma Next config loader: discovers, validates, and finalizes prisma-next.config.ts
The npm package @prisma-next/config-loader receives a total of 5,430 weekly downloads. As such, @prisma-next/config-loader popularity was classified as popular.
We found that @prisma-next/config-loader 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.