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.19 to 1.0.20

2

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

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -19,2 +19,8 @@ '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)) {

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

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

@@ -5,0 +5,0 @@ "main": "lib/index.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