Socket
Socket
Sign inDemoInstall

simple-graphql

Package Overview
Dependencies
Maintainers
1
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-graphql - npm Package Compare versions

Comparing version 0.3.11 to 0.4.1

11

lib/package.json
{
"name": "simple-graphql",
"version": "0.3.11",
"version": "0.4.1",
"description": "The simple way to generates GraphQL schemas and Sequelize models from your models definition.",

@@ -16,2 +16,10 @@ "main": "lib/index.js",

"author": "logerzhu",
"repository": {
"type": "git",
"url": "git@github.com:logerzhu/simple-graphql.git"
},
"bugs": {
"url": "https://github.com/logerzhu/simple-graphql/issues"
},
"homepage": "https://github.com/logerzhu/simple-graphql",
"license": "MIT",

@@ -29,2 +37,3 @@ "keywords": [

"dependencies": {
"continuation-local-storage": "^3.2.0",
"lodash": "^4.17.4",

@@ -31,0 +40,0 @@ "moment": "^2.18.1",

4

lib/transformer/toSequelizeModel.js

@@ -74,3 +74,3 @@ 'use strict';

hidden: true,
options: { as: key, foreignKey: foreignKey, constraints: true }
options: { as: key, foreignKey: foreignKey, constraints: true, onDelete: 'RESTRICT' }
});

@@ -81,3 +81,3 @@ } else {

hidden: true,
options: { as: key, foreignKey: foreignKey, constraints: false }
options: { as: key, foreignKey: foreignKey, constraints: false, onDelete: 'SET NULL' }
});

@@ -84,0 +84,0 @@ }

{
"name": "simple-graphql",
"version": "0.3.11",
"version": "0.4.1",
"description": "The simple way to generates GraphQL schemas and Sequelize models from your models definition.",

@@ -16,2 +16,10 @@ "main": "lib/index.js",

"author": "logerzhu",
"repository": {
"type": "git",
"url": "git@github.com:logerzhu/simple-graphql.git"
},
"bugs": {
"url": "https://github.com/logerzhu/simple-graphql/issues"
},
"homepage": "https://github.com/logerzhu/simple-graphql",
"license": "MIT",

@@ -29,2 +37,3 @@ "keywords": [

"dependencies": {
"continuation-local-storage": "^3.2.0",
"lodash": "^4.17.4",

@@ -31,0 +40,0 @@ "moment": "^2.18.1",

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc