simple-graphql
Advanced tools
Comparing version 0.3.11 to 0.4.1
{ | ||
"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", |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
295569
0
1
0
6
+ Addedasync-listener@0.6.10(transitive)
+ Addedcontinuation-local-storage@3.2.1(transitive)
+ Addedemitter-listener@1.1.2(transitive)
+ Addedshimmer@1.2.1(transitive)