
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/sql-lane
Advanced tools
Relational DSL and raw SQL helpers for Prisma Next.
This package provides the relational query DSL and raw SQL helpers for building SQL queries. It is part of the SQL lanes ring and depends on @prisma-next/sql-relational-core for schema and column builders.
includeMany for nested queries using lateral joins and JSON aggregation@prisma-next/contract - Contract types and plan metadata@prisma-next/plan - Plan helpers and error utilities@prisma-next/sql-relational-core - Schema and column builders, AST factories@prisma-next/sql-target - SQL contract types and AST definitions. - Main package export (exports sql, SelectBuilder, rawOptions, and types)./sql - Relational DSL entry point (sql(), SelectBuilder, InsertBuilder, UpdateBuilder, DeleteBuilder)This package compiles relational DSL queries to SQL AST nodes using factories from @prisma-next/sql-relational-core/ast. Dialect-specific lowering to SQL strings happens in adapters (per ADR 015 and ADR 016).
The package is organized into focused modules:
sql/ - Core builder modules:
builder.ts - Thin public facade (main entry point)select-builder.ts - SelectBuilderImpl classmutation-builder.ts - Insert/Update/Delete buildersinclude-builder.ts - IncludeMany child builder and AST buildingjoin-builder.ts - Join DSL logicpredicate-builder.ts - Where clause buildingprojection.ts - Projection building logicplan.ts - Plan assembly and meta buildingcontext.ts - Context wiring logicutils/ - Shared utilities:
errors.ts - Centralized error constructorscapabilities.ts - Capability checking logicguards.ts - Type guards and column info helpersstate.ts - Immutable builder state typestypes/ - Type definitions:
internal.ts - Internal helper typespublic.ts - Public type re-exportsAll AST construction flows through factories from @prisma-next/sql-relational-core/ast, ensuring consistency and reducing duplication.
@prisma-next/sql-relational-core - Provides schema and column builders, AST factories used by this package@prisma-next/sql-orm-lane - ORM builder that compiles to this package's DSL primitives@prisma-next/sql-target - Defines SQL contract types and AST structuresFAQs
Relational DSL and raw SQL helpers for Prisma Next
We found that @prisma-next/sql-lane 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.

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.