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.32 to 0.0.33

2

dist/Engine.d.ts

@@ -21,3 +21,3 @@ export declare class PhotonError extends Error {

abstract stop(): void;
abstract request<T>(query: string): Promise<T>;
abstract request<T>(query: string, typeName?: string): Promise<T>;
abstract handleErrors({ errors, query }: {

@@ -24,0 +24,0 @@ errors?: any;

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

getDmmf(): Promise<any>;
request<T>(query: string): Promise<T>;
request<T>(query: string, typeName?: string): Promise<T>;
handleErrors({ errors, query }: {

@@ -74,0 +74,0 @@ errors?: any;

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

if (code !== 0 && !this.exiting) {
console.error(`Engine path: ${this.prismaPath}`);
throw new Engine_1.PhotonError(`Error in query engine: ` + this.errorLogs, undefined, undefined, this.errorLogs);

@@ -187,3 +188,3 @@ }

debug(e.message);
if (tries >= 10) {
if (tries >= 50) {
throw e;

@@ -200,3 +201,3 @@ }

}
async request(query) {
async request(query, typeName) {
if (!this.url) {

@@ -203,0 +204,0 @@ await this.startPromise; // allows lazily connecting the client to Rust and Rust to the Datasource

{
"name": "@prisma/engine-core",
"version": "0.0.32",
"version": "0.0.33",
"license": "Apache-2.0",

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

"devDependencies": {
"@prisma/fetch-engine": "^0.0.6",
"@prisma/fetch-engine": "^0.0.19",
"@types/node": "^12.0.0",

@@ -17,3 +17,3 @@ "typescript": "^3.5.0-dev.20190512"

"prepublishOnly": "yarn build",
"download": "prisma-fetch-engine $PWD"
"download": "node download.js"
},

@@ -20,0 +20,0 @@ "dependencies": {

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