New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

prisma-client-lib

Package Overview
Dependencies
Maintainers
1
Versions
498
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prisma-client-lib - npm Package Compare versions

Comparing version 1.20.0-alpha.24 to 1.20.0-alpha.27

10

dist/codegen/typescript-client.js

@@ -336,3 +336,3 @@ "use strict";

}
return this.renderInterfaceWrapper("" + type.name + (node ? 'Node' : ''), type.description, interfaces, fieldDefinition, !node, subscription);
return this.renderInterfaceWrapper("" + type.name + (node ? 'Promise' : ''), type.description, interfaces, fieldDefinition, !node, subscription);
};

@@ -376,3 +376,3 @@ TypescriptGenerator.prototype.renderFieldName = function (field, node) {

if ((node || isList) && !isScalar && !addSubscription) {
typeString += "Node";
typeString += "Promise";
}

@@ -460,4 +460,4 @@ if (addSubscription) {

name: subscription
? "Promise<AsyncIterator<" + typeName + "Node>>"
: "Promise<" + typeName + "Node>",
? "Promise<AsyncIterator<" + typeName + ">>"
: "Promise<" + typeName + ">",
},

@@ -473,3 +473,3 @@ {

? "export type " + typeName + " = AtLeastOne<{\n " + fieldDefinition.replace('?:', ':') + "\n }>"
: "export interface " + typeName + (subscription ? 'Subscription' : '') + (actualInterfaces.length > 0
: "export interface " + typeName + (promise ? 'Promise' : '') + (subscription ? 'Subscription' : '') + (actualInterfaces.length > 0
? " extends " + actualInterfaces.map(function (i) { return i.name; }).join(', ')

@@ -476,0 +476,0 @@ : '') + " {\n " + fieldDefinition + "\n }");

{
"name": "prisma-client-lib",
"version": "1.20.0-alpha.24",
"version": "1.20.0-alpha.27",
"author": "Tim Suchanek <suchanek@prisma.io>",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

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