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

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 1.0.20 to 1.0.21

6

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

@@ -40,3 +40,3 @@ "main": "lib/index.js",

"moment": "^2.18.1",
"sequelize": "^4.6.0"
"sequelize": "^4.8.2"
},

@@ -58,3 +58,3 @@ "devDependencies": {

"pre-commit": "^1.2.2",
"sqlite3": "^3.1.9",
"sqlite3": "^3.1.10",
"standard": "^10.0.3"

@@ -61,0 +61,0 @@ },

@@ -19,8 +19,2 @@ 'use strict';

serialize: function serialize(value) {
if (typeof value === 'string') {
value = (0, _moment2.default)(value);
if (!value.isValid()) {
throw new _graphql.GraphQLError('Field error: Invalid date');
}
}
if (!(value instanceof Date)) {

@@ -27,0 +21,0 @@ throw new TypeError('Field error: value is not an instance of Date');

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

@@ -40,3 +40,3 @@ "main": "lib/index.js",

"moment": "^2.18.1",
"sequelize": "^4.6.0"
"sequelize": "^4.8.2"
},

@@ -58,3 +58,3 @@ "devDependencies": {

"pre-commit": "^1.2.2",
"sqlite3": "^3.1.9",
"sqlite3": "^3.1.10",
"standard": "^10.0.3"

@@ -61,0 +61,0 @@ },

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