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

2

lib/package.json
{
"name": "simple-graphql",
"version": "1.0.21",
"version": "1.0.22",
"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') {
var nValue = (0, _moment2.default)(value, 'YYYY-MM-DD HH:mm:ss.SSS ZZ');
if (nValue.isValid()) {
value = nValue;
}
}
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.21",
"version": "1.0.22",
"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