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

prisma-datamodel

Package Overview
Dependencies
Maintainers
1
Versions
345
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prisma-datamodel - npm Package Compare versions

Comparing version 1.36.0-alpha.1 to 1.36.0-alpha.2

dist/util/isdlToDmmf.d.ts

1

dist/index.d.ts

@@ -16,1 +16,2 @@ export { DirectiveKeys } from './datamodel/directives';

export { isTypeIdentifier } from './datamodel/scalar';
export { isdlToDmmfDatamodel } from './util/isdlToDmmf';

@@ -45,2 +45,4 @@ "use strict";

exports.isTypeIdentifier = scalar_2.isTypeIdentifier;
var isdlToDmmf_1 = require("./util/isdlToDmmf");
exports.isdlToDmmfDatamodel = isdlToDmmf_1.isdlToDmmfDatamodel;
//# sourceMappingURL=index.js.map

@@ -28,1 +28,5 @@ /**

export declare function dedent(literal: string): string;
export interface Dictionary<T> {
[key: string]: T;
}
export declare const keyBy: <T>(collection: T[], iteratee: (value: T) => string) => Dictionary<T>;

@@ -94,2 +94,8 @@ "use strict";

exports.dedent = dedent;
exports.keyBy = function (collection, iteratee) {
return collection.reduce(function (acc, curr) {
acc[iteratee(curr)] = curr;
return acc;
}, {});
};
//# sourceMappingURL=util.js.map

2

package.json
{
"name": "prisma-datamodel",
"version": "1.36.0-alpha.1",
"version": "1.36.0-alpha.2",
"description": "Transform prisma datamodel SDL into graphql-js SDL",

@@ -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