🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

prisma-json-types-generator

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prisma-json-types-generator - npm Package Compare versions

Comparing version

to
1.1.1

.github/dependabot.yml

2

dist/on-generate.js

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

const nsName = options.generator.config.namespace || 'PrismaJson';
const { content, replacer, sourcePath, update } = await (0, reader_1.readPrismaDeclarations)(nsName, options.generator.config.output, options.schemaPath);
const { content, replacer, sourcePath, update } = await (0, reader_1.readPrismaDeclarations)(nsName, options.generator.output?.value, options.schemaPath);
const tsSource = typescript_1.default.createSourceFile(sourcePath, content, typescript_1.default.ScriptTarget.ESNext, true, typescript_1.default.ScriptKind.TS);

@@ -17,0 +17,0 @@ const models = (0, dmmf_1.parseDmmf)(options.dmmf);

{
"name": "prisma-json-types-generator",
"description": "Changes JsonValues to your custom typescript type",
"version": "1.1.0",
"version": "1.1.1",
"main": "dist/generator.js",

@@ -34,3 +34,3 @@ "bin": "./dist/bin.js",

"@types/prettier": "2.7.2",
"prettier": "2.8.1",
"prettier": "2.8.2",
"prisma": "4.8.1",

@@ -37,0 +37,0 @@ "typescript": "4.9.4"

@@ -13,3 +13,3 @@ import type { GeneratorOptions } from '@prisma/generator-helper';

nsName,
options.generator.config.output,
options.generator.output?.value,
options.schemaPath

@@ -16,0 +16,0 @@ );

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet