Socket
Socket
Sign inDemoInstall

@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.34 to 0.0.35

2

dist/NodeEngine.d.ts

@@ -35,3 +35,2 @@ /// <reference types="node" />

datamodel: string;
schemaInferrerPath: string;
prismaPath: string;

@@ -41,3 +40,2 @@ url: string;

errorLogs: string;
static defaultSchemaInferrerPath: string;
static defaultPrismaPath: string;

@@ -44,0 +42,0 @@ constructor({ prismaConfig, datamodelJson, prismaYmlPath, datamodel, schemaInferrerPath, prismaPath, ...args }: EngineConfig);

6

dist/NodeEngine.js

@@ -70,3 +70,2 @@ "use strict";

this.datamodel = datamodel;
this.schemaInferrerPath = schemaInferrerPath || NodeEngine.defaultSchemaInferrerPath;
this.prismaPath = prismaPath || NodeEngine.defaultPrismaPath;

@@ -182,3 +181,5 @@ if (this.debug) {

await new Promise(r => setTimeout(r, 50)); // TODO: Try out lower intervals here, but we also don't want to spam it too much.
const response = await cross_fetch_1.default(`http://localhost:${this.port}/datamodel`);
const response = await cross_fetch_1.default(`http://localhost:${this.port}/dmmf`, {
timeout: 1000,
});
if (response.ok) {

@@ -261,5 +262,4 @@ debug(`Ready after try number ${tries}`);

}
NodeEngine.defaultSchemaInferrerPath = path.join(__dirname, '../schema-inferrer-bin');
NodeEngine.defaultPrismaPath = path.join(__dirname, '../prisma');
exports.NodeEngine = NodeEngine;
//# sourceMappingURL=NodeEngine.js.map
{
"name": "@prisma/engine-core",
"version": "0.0.34",
"version": "0.0.35",
"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