Socket
Socket
Sign inDemoInstall

@alugha/graphql-field-arguments-coercion

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

12

lib/values.js

@@ -70,8 +70,6 @@ "use strict";

argValue = values[name];
if (argValue === undefined) {
if (argValue == null) {
coercedValues[name] = argValue;
return [2 /*return*/];
}
if (argValue === null) {
coercedValues[name] = null;
}
return [4 /*yield*/, coerceArgumentValue(argDef, argValue, context, utils_1.addPath(undefined, name), fieldResolveInfo, onError)];

@@ -105,8 +103,6 @@ case 1:

value = values[name];
if (value === undefined) {
if (value == null) {
coercedValues[name] = value;
return [2 /*return*/];
}
if (value === null) {
coercedValues[name] = null;
}
_c.label = 1;

@@ -113,0 +109,0 @@ case 1:

{
"name": "@alugha/graphql-field-arguments-coercion",
"version": "1.0.5",
"version": "1.0.6",
"description": "Implementation of the support of coerce function on GraphQL Input types",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/alexstrat/graphql-field-arguments-coercion",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc