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

eslint-plugin-prisma-nestjs-graphql

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-prisma-nestjs-graphql - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

9

dist/index.js

@@ -18,3 +18,5 @@ "use strict";

'[enum]',
'[String]',
];
const firstLetterUpperCase = (str) => str.charAt(0).toUpperCase() + str.slice(1);
const prismaEntities = Object.entries(entities.definitions).map(e => ({

@@ -34,3 +36,8 @@ name: e[0],

if (e[1].type === 'array') {
t = '[' + e[1].items['$ref'].split('/').pop() + ']';
if (e[1].items['$ref']) {
t = '[' + e[1].items['$ref'].split('/').pop() + ']';
}
else {
t = '[' + firstLetterUpperCase(e[1].items['type']) + ']';
}
}

@@ -37,0 +44,0 @@ else {

2

package.json
{
"name": "eslint-plugin-prisma-nestjs-graphql",
"version": "0.1.3",
"version": "0.1.4",
"description": "eslint plugin for prisma & nestjs & graphql setups to not forget resolvers etc.",

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

Sorry, the diff of this file is not supported yet

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