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 1.3.0 to 1.3.1

10

index.js

@@ -588,2 +588,3 @@ "use strict"; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var __assign = Object.assign;

var _fs = require('fs');
var _path = require('path');

@@ -593,2 +594,4 @@ async function generate(args) {

const {generator, otherGenerators} = args;
const output = generator.output;
_assert2.default.call(void 0, output, "generator.output is empty");
const fileExistsSync = (_a = args.fileExistsSync) != null ? _a : _fs.existsSync;

@@ -617,4 +620,5 @@ const prismaClientOutput = (_b = otherGenerators.find((x) => x.provider === "prisma-client-js")) == null ? void 0 : _b.output;

let sourceFileText = "";
if (fileExistsSync(filePath)) {
sourceFileText = await _fs.promises.readFile(filePath, {encoding: "utf8"});
const localFilePath = _path.join.call(void 0, output, filePath);
if (fileExistsSync(localFilePath)) {
sourceFileText = await _fs.promises.readFile(localFilePath, {encoding: "utf8"});
}

@@ -650,3 +654,3 @@ sourceFile = project.createSourceFile(filePath, sourceFileText);

var _path = require('path');
var _typescriptequals = require('typescript-equals');

@@ -653,0 +657,0 @@ async function remove(project, options) {

{
"name": "prisma-nestjs-graphql",
"version": "1.3.0",
"version": "1.3.1",
"license": "MIT",

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

"dependencies": {
"@prisma/generator-helper": "^2.5.1",
"@prisma/generator-helper": "^2.6.1",
"get-relative-path": "^1.0.2",

@@ -65,15 +65,15 @@ "pupa": "^2.0.1",

"@commitlint/config-conventional": "^9.1.2",
"@nestjs/common": "^7.4.3",
"@nestjs/core": "^7.4.3",
"@nestjs/common": "^7.4.4",
"@nestjs/core": "^7.4.4",
"@nestjs/graphql": "^7.6.0",
"@nestjs/platform-express": "^7.4.3",
"@nestjs/platform-express": "^7.4.4",
"@paljs/plugins": "^1.2.6",
"@prisma/cli": "^2.5.1",
"@prisma/client": "^2.5.1",
"@prisma/cli": "^2.6.1",
"@prisma/client": ">=2.6",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@types/mocha": "^8.0.3",
"@types/node": "^14.6.2",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"@types/node": "^14.6.3",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"apollo-server-express": "^2.17.0",

@@ -83,5 +83,5 @@ "c8": "^7.3.0",

"class-validator": "^0.12.2",
"eslint": "^7.7.0",
"eslint": "^7.8.1",
"eslint-import-resolver-node": "^0.3.4",
"eslint-plugin-etc": "0.0.1-beta.44",
"eslint-plugin-etc": "0.0.2-beta.45",
"eslint-plugin-import": "^2.22.0",

@@ -95,3 +95,3 @@ "eslint-plugin-only-warn": "^1.0.2",

"eslint-plugin-sort-class-members": "^1.8.0",
"eslint-plugin-total-functions": "^2.3.1",
"eslint-plugin-total-functions": "^3.0.0",
"eslint-plugin-unicorn": "^21.0.0",

@@ -112,3 +112,3 @@ "eslint-plugin-wix-editor": "^3.2.0",

"ts-node": "^9.0.0",
"ts-node-dev": "^1.0.0-pre.61",
"ts-node-dev": "^1.0.0-pre.62",
"typescript": "~4.0.2",

@@ -115,0 +115,0 @@ "watchexec-bin": "^1.0.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