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

prisma-nestjs-graphql

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prisma-nestjs-graphql - npm Package Compare versions

Comparing version 14.6.0 to 14.6.1

15

index.js

@@ -37,5 +37,2 @@ var __create = Object.create;

// ../../../../.npm/_npx/7d72304e626f8399/node_modules/tsup/assets/cjs_shims.js
var importMetaUrlShim = typeof document === "undefined" ? new (require("url")).URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
// src/index.ts

@@ -616,3 +613,7 @@ var import_generator_helper = __toModule(require("@prisma/generator-helper"));

graphqlType = graphqlImport.name;
if (graphqlImport.specifier && !importDeclarations.has(graphqlImport.name) && (graphqlImport.name !== inputType2.name && !shouldHideField || shouldHideField && propertyType[0] === graphqlImport.name)) {
let referenceName = propertyType[0];
if (location === "enumTypes") {
referenceName = (0, import_lodash3.last)(referenceName.split(" "));
}
if (graphqlImport.specifier && !importDeclarations.has(graphqlImport.name) && (graphqlImport.name !== inputType2.name && !shouldHideField || shouldHideField && referenceName === graphqlImport.name)) {
importDeclarations.set(graphqlImport.name, {

@@ -1195,3 +1196,7 @@ namedImports: [{ name: graphqlImport.name }],

graphqlType = graphqlImport.name;
if (graphqlImport.specifier && !importDeclarations.has(graphqlImport.name) && (graphqlImport.name !== outputType2.name && !shouldHideField || shouldHideField && propertyType[0] === graphqlImport.name)) {
let referenceName = propertyType[0];
if (location === "enumTypes") {
referenceName = (0, import_lodash6.last)(referenceName.split(" "));
}
if (graphqlImport.specifier && !importDeclarations.has(graphqlImport.name) && (graphqlImport.name !== outputType2.name && !shouldHideField || shouldHideField && referenceName === graphqlImport.name)) {
importDeclarations.set(graphqlImport.name, {

@@ -1198,0 +1203,0 @@ namedImports: [{ name: graphqlImport.name }],

{
"name": "prisma-nestjs-graphql",
"version": "14.6.0",
"version": "14.6.1",
"license": "MIT",

@@ -50,8 +50,7 @@ "description": "Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module",

"pre-commit": "precise-commits",
"commit-msg": "sh Taskfile commit_lint",
"pre-push": "ultra test"
"commit-msg": "sh Taskfile commit_lint"
}
},
"dependencies": {
"@prisma/generator-helper": "^3.2.1",
"@prisma/generator-helper": "^3.5.0",
"await-event-emitter": "^2.0.2",

@@ -69,45 +68,42 @@ "filenamify": "4.X",

"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@nestjs/common": "^8.1.1",
"@nestjs/core": "^8.1.1",
"@nestjs/graphql": "^9.0.6",
"@nestjs/platform-express": "^8.1.1",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@nestjs/common": "^8.2.3",
"@nestjs/core": "^8.2.3",
"@nestjs/graphql": "^9.1.2",
"@nestjs/platform-express": "^8.2.3",
"@paljs/plugins": "^4.0.8",
"@prisma/client": "^3.2.1",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0",
"@prisma/client": "^3.5.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@types/flat": "^5.0.2",
"@types/lodash": "^4.14.175",
"@types/lodash": "^4.14.177",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.0",
"@types/node": "^16.11.10",
"@types/pluralize": "^0.0.29",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"apollo-server-express": "^3.4.0",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"apollo-server-express": "^3.5.0",
"c8": "^7.10.0",
"class-transformer": "^0.4.0",
"class-validator": "^0.13.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"commitizen": "^4.2.4",
"cz-customizable": "^6.3.0",
"decimal.js": "^10.3.1",
"eslint": "^7.32.0",
"eslint": "^8.3.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-plugin-etc": "^1.5.4",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-etc": "^2.0.1",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-only-warn": "^1.0.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-regexp": "^1.4.1",
"eslint-plugin-regexp": "^1.5.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sonarjs": "^0.10.0",
"eslint-plugin-sort-class-members": "^1.11.0",
"eslint-plugin-total-functions": "^4.10.1",
"eslint-plugin-unicorn": "^37.0.1",
"eslint-plugin-sort-class-members": "^1.14.0",
"eslint-plugin-unicorn": "^39.0.0",
"eslint-plugin-wix-editor": "^3.3.0",
"expect": "^27.2.5",
"expect": "^27.3.1",
"ghooks": "^2.0.4",
"git-branch-is": "^4.0.0",
"graphql": "^15.6.1",
"graphql-scalars": "^1.12.0",
"graphql": "^15.7.2",
"graphql-scalars": "^1.13.6",
"graphql-type-json": "^0.3.2",

@@ -117,16 +113,17 @@ "mocha": "^9.1.3",

"precise-commits": "^1.0.2",
"prettier": "^2.4.1",
"prisma": "^3.2.1",
"prettier": "^2.5.0",
"prisma": "^3.5.0",
"prisma-graphql-type-decimal": "^1.0.0",
"reflect-metadata": "^0.1.13",
"request": "^2.88.2",
"rxjs": "^7.4.0",
"semantic-release": "^18.0.0",
"semantic-release": "^18.0.1",
"simplytyped": "^3.3.0",
"temp-dir": "^2.0.0",
"ts-node": "^10.3.0",
"ts-node": "^10.4.0",
"ts-node-dev": "^1.1.8",
"tslib": "^2.3.1",
"typescript": "^4.4.4",
"typescript": "^4.5.2",
"watchexec-bin": "^1.0.0"
}
}

@@ -131,6 +131,7 @@ # prisma-nestjs-graphql

When a `Model`s `WhereUniqueInput` class has only a single field, mark that field as **required** (TypeScript) and **not nullable** (GraphQL).
When a model `*WhereUniqueInput` class has only a single field, mark that field as **required** (TypeScript) and **not nullable** (GraphQL).
See [#58](https://github.com/unlight/prisma-nestjs-graphql/issues/58) for more details.
Type: `boolean`
Default: `false`
Default: `false`
**Note**: It will break compatiblity between Prisma types and generated classes.

@@ -639,2 +640,3 @@ #### `useInputType`

- https://github.com/kimjbstar/prisma-class-generator
- https://github.com/odroe/nest-gql-mix

@@ -641,0 +643,0 @@ - https://github.com/rfermann/nestjs-prisma-graphql-generator

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