prisma-repl
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -21,2 +21,5 @@ #!/usr/bin/env node | ||
// src/cli.ts | ||
var import_path = __toModule(require("path")); | ||
// node_modules/cac/dist/index.mjs | ||
@@ -620,4 +623,2 @@ var import_events = __toModule(require("events")); | ||
var import_repl = __toModule(require("repl")); | ||
var {NODE_OPTIONS = ""} = process.env; | ||
process.env.NODE_OPTIONS = NODE_OPTIONS.split(",").concat(`--experimental-repl-await`).join(","); | ||
var cli = cac(`prisma-repl`); | ||
@@ -647,4 +648,4 @@ cli.parse(); | ||
function createPrismaClient() { | ||
const {PrismaClient} = require("@prisma/client"); | ||
const {PrismaClient} = require(import_path.default.resolve("node_modules/@prisma/client")); | ||
return new PrismaClient(); | ||
} |
{ | ||
"name": "prisma-repl", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "REPL for Prisma databases", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
16
40249