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.18.0-beta.4 to 1.18.0-beta.6

4

dist/codegen/typescript-client.js

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

TypescriptGenerator.prototype.render = function (options) {
return this.format(this.compile(templateObject_1 || (templateObject_1 = __makeTemplateObject(["", "\n\n", "\n\nexport interface Exists {\n", "\n}\n\nexport interface Node {}\n\nexport interface Fragmentable {\n $fragment<T>(fragment: string | Object): T\n}\n\n", " interface ", " {\n $exists: Exists;\n $graphql: <T ", " any>(query: string, variables?: {[key: string]: any}) => Promise<T>;\n $getAbstractResolvers(filterSchema?: GraphQLSchema | string): IResolvers;\n\n /**\n * Queries\n */\n\n", ";\n\n /**\n * Mutations\n */\n\n", ";\n\n\n /**\n * Subscriptions\n */\n\n $subscribe: Subscription\n\n}\n\nexport interface Subscription {\n", ";\n}\n\n", "\n\n/**\n * Types\n*/\n\n", "\n\n/**\n * Type Defs\n*/\n\n", "\n"], ["\\\n", "\n\n", "\n\nexport interface Exists {\\n", "\\n}\n\nexport interface Node {}\n\nexport interface Fragmentable {\n $fragment<T>(fragment: string | Object): T\n}\n\n", " interface ", " {\n $exists: Exists;\n $graphql: <T ",
return this.format(this.compile(templateObject_1 || (templateObject_1 = __makeTemplateObject(["", "\n\n", "\n\nexport interface Exists {\n", "\n}\n\nexport interface Node {}\n\nexport interface Fragmentable {\n $fragment<T>(fragment: string | DocumentNode): Promise<T>\n}\n\n", " interface ", " {\n $exists: Exists;\n $graphql: <T ", " any>(query: string, variables?: {[key: string]: any}) => Promise<T>;\n $getAbstractResolvers(filterSchema?: GraphQLSchema | string): IResolvers;\n\n /**\n * Queries\n */\n\n", ";\n\n /**\n * Mutations\n */\n\n", ";\n\n\n /**\n * Subscriptions\n */\n\n $subscribe: Subscription\n\n}\n\nexport interface Subscription {\n", ";\n}\n\n", "\n\n/**\n * Types\n*/\n\n", "\n\n/**\n * Type Defs\n*/\n\n", "\n"], ["\\\n", "\n\n", "\n\nexport interface Exists {\\n", "\\n}\n\nexport interface Node {}\n\nexport interface Fragmentable {\n $fragment<T>(fragment: string | DocumentNode): Promise<T>\n}\n\n", " interface ", " {\n $exists: Exists;\n $graphql: <T ",
" any>(query: string, variables?: {[key: string]: any}) => Promise<T>;\n $getAbstractResolvers(filterSchema?: GraphQLSchema | string): IResolvers;\n\n /**\n * Queries\n */\n\n", ";\n\n /**\n * Mutations\n */\n\n", ";\n\n\n /**\n * Subscriptions\n */\n\n $subscribe: Subscription\n\n}\n\nexport interface Subscription {\n", ";\n}\n\n", "\n\n/**\n * Types\n*/\n\n", "\n\n/**\n * Type Defs\n*/\n\n", "\n"])), this.renderImports(), this.renderAtLeastOne(), this.renderExists(), this.exportPrisma ? 'export' : '', this.prismaInterface, this.genericsDelimiter, this.renderQueries(), this.renderMutations(), this.renderSubscriptions(), this.renderClientConstructor, this.renderTypes(), this.renderExports(options)));

@@ -125,3 +125,3 @@ };

TypescriptGenerator.prototype.renderImports = function () {
return codeComment_1.codeComment + "\n\nimport { GraphQLSchema } from 'graphql'\nimport { IResolvers } from 'graphql-tools/dist/Interfaces'\nimport { makePrismaClientClass, BaseClientOptions } from 'prisma-client-lib'\nimport { typeDefs } from './prisma-schema'";
return codeComment_1.codeComment + "\n\nimport { DocumentNode, GraphQLSchema } from 'graphql'\nimport { IResolvers } from 'graphql-tools/dist/Interfaces'\nimport { makePrismaClientClass, BaseClientOptions } from 'prisma-client-lib'\nimport { typeDefs } from './prisma-schema'";
};

@@ -128,0 +128,0 @@ TypescriptGenerator.prototype.renderPrismaClassArgs = function (options) {

{
"name": "prisma-client-lib",
"version": "1.18.0-beta.4",
"version": "1.18.0-beta.6",
"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