@prisma/engine-core
Advanced tools
Comparing version 0.0.36 to 0.0.37
@@ -53,3 +53,3 @@ /// <reference types="node" /> | ||
*/ | ||
stop: () => void; | ||
stop: () => Promise<void>; | ||
/** | ||
@@ -56,0 +56,0 @@ * Use the port 0 trick to get a new port |
@@ -56,3 +56,4 @@ "use strict"; | ||
*/ | ||
this.stop = () => { | ||
this.stop = async () => { | ||
await this.startPromise; | ||
if (this.child) { | ||
@@ -99,6 +100,3 @@ debug(`Stopping Prisma engine`); | ||
debug(`Starting binary at ${this.prismaPath}`); | ||
const env = { | ||
PRISMA_CONFIG, | ||
PRISMA_DML: this.datamodel, | ||
}; | ||
const env = Object.assign({}, process.env, { PRISMA_CONFIG, PRISMA_DML: this.datamodel, RUST_BACKTRACE: '1' }); | ||
debug(env); | ||
@@ -105,0 +103,0 @@ this.child = child_process_1.spawn(this.prismaPath, [], { |
{ | ||
"name": "@prisma/engine-core", | ||
"version": "0.0.36", | ||
"version": "0.0.37", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
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
38946
647
3