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.4 to 1.0.5

14

lib/values.js

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

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

@@ -102,5 +105,8 @@ case 1:

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

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

{
"name": "@alugha/graphql-field-arguments-coercion",
"version": "1.0.4",
"version": "1.0.5",
"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