New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@casl/prisma

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@casl/prisma - npm Package Compare versions

Comparing version 2.0.0-alpha.2 to 2.0.0-alpha.3

4

package.json
{
"name": "@casl/prisma",
"version": "2.0.0-alpha.2",
"version": "2.0.0-alpha.3",
"description": "Allows to query accessible records using Prisma client based on CASL rules",

@@ -28,3 +28,3 @@ "main": "dist/es6c/index.js",

"prebuild": "rm -rf dist/* && npm run build.types && npm run build.generator",
"build": "BUILD_TYPES=es6m,es6c dx rollup -e @casl/ability/extra,@casl/ability,@prisma/client,@ucast/core,@ucast/js",
"build": "BUILD_TYPES=es6m,es6c dx rollup -e @casl/ability/extra,@casl/ability,@prisma/client,@ucast/core,@ucast/js,.prisma/casl-adapter",
"build.types": "dx tsc",

@@ -31,0 +31,0 @@ "build.generator": "BUILD_TYPES=es6c dx rollup -i src/prismaGenerator.ts -e ../package.json,@prisma/generator-helper,path,fs/promises",

@@ -37,3 +37,3 @@ # CASL Prisma

generator caslAdapter {
provider = "node @casl/prisma/generator.js" // <--- important to add this
provider = "node node node_modules/@casl/prisma/generator.js" // <--- important to add this
clientLib = "@my-custom/prisma-client" // optional and by default equals to @prisma/client

@@ -40,0 +40,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc