
Security News
npm v12 Ships With Install Scripts Off by Default, Begins Deprecating 2FA-Bypass Tokens
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.
@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 10,366 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.

Security News
npm v12 is generally available, turning install scripts off by default and beginning the deprecation of 2FA-bypass publishing tokens.

Research
/Security News
Socket tracks the activity as Operation “Muck and Load”: a threat actor uses commit-farming workflows, public dead drops, and protected archives to stage Windows RAT and infostealer malware.

Security News
pnpm 11.10 hardens registry auth to block token redirection, tightens pack-app and deploy, and makes the Rust port (v12) installable.