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

prisma-generator-accel-record

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prisma-generator-accel-record - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

dist/generators/model.js

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

const table = model.dbName ? ` static table = "${model.dbName}";\n` : "";
return `import { ApplicationRecord } from "./applicationRecord";
return `import { ApplicationRecord } from "./applicationRecord.js";

@@ -9,0 +9,0 @@ export class ${model.name}Model extends ApplicationRecord {

@@ -230,6 +230,6 @@ "use strict";

const associationKey = (model) => {
return model.fields
return (model.fields
.filter((f) => f.relationName)
.map((f) => `'${f.name}'`)
.join(" | ");
.join(" | ") || "never");
};

@@ -236,0 +236,0 @@ const columnForPersist = (model) => {

{
"name": "prisma-generator-accel-record",
"version": "0.1.0",
"version": "0.1.1",
"description": "",

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

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