Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@prisma/engine-core

Package Overview
Dependencies
Maintainers
5
Versions
5964
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prisma/engine-core - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

3

dist/Engine.d.ts

@@ -36,3 +36,4 @@ /// <reference types="node" />

static defaultPrismaPath: string;
constructor({ prismaConfig, debug, datamodelJson, prismaYmlPath, datamodel, schemaInferrerPath, prismaPath, }: EngineConfig);
constructor({ prismaConfig, debug: useDebug, // as otherwise .stop method complains
datamodelJson, prismaYmlPath, datamodel, schemaInferrerPath, prismaPath, }: EngineConfig);
/**

@@ -39,0 +40,0 @@ * Resolve the prisma.yml

@@ -35,3 +35,4 @@ "use strict";

class Engine {
constructor({ prismaConfig, debug, datamodelJson, prismaYmlPath, datamodel, schemaInferrerPath, prismaPath, }) {
constructor({ prismaConfig, debug: useDebug, // as otherwise .stop method complains
datamodelJson, prismaYmlPath, datamodel, schemaInferrerPath, prismaPath, }) {
/**

@@ -48,2 +49,3 @@ * exiting is used to tell the .on('exit') hook, if the exit came from our script.

if (this.child) {
debug(`Stopping Prisma engine`);
this.exiting = true;

@@ -57,3 +59,3 @@ this.child.kill();

this.cwd = path.dirname(this.prismaYmlPath);
this.debug = debug || false;
this.debug = useDebug || false;
this.datamodelJson = datamodelJson;

@@ -117,2 +119,3 @@ this.datamodel = datamodel;

process.once('uncaughtException', this.stop);
process.on('unhandledRejection', this.stop);
await this.engineReady();

@@ -119,0 +122,0 @@ const url = `http://localhost:${this.port}`;

{
"name": "@prisma/engine-core",
"version": "0.0.19",
"version": "0.0.20",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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