graphql-input-number
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -33,5 +33,5 @@ 'use strict'; | ||
var min = _ref.min; | ||
var parse = _ref.parse; | ||
var sanitize = _ref.sanitize; | ||
var test = _ref.test; | ||
var transform = _ref.transform; | ||
var typeName = _ref.typeName; | ||
@@ -76,4 +76,4 @@ | ||
if (transform) { | ||
return transform(value); | ||
if (parse) { | ||
return parse(value); | ||
} | ||
@@ -80,0 +80,0 @@ |
@@ -35,5 +35,5 @@ 'use strict'; | ||
var min = _ref.min; | ||
var parse = _ref.parse; | ||
var sanitize = _ref.sanitize; | ||
var test = _ref.test; | ||
var transform = _ref.transform; | ||
var typeName = _ref.typeName; | ||
@@ -78,4 +78,4 @@ | ||
if (transform) { | ||
return transform(value); | ||
if (parse) { | ||
return parse(value); | ||
} | ||
@@ -82,0 +82,0 @@ |
{ | ||
"name": "graphql-input-number", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "A configurable custom input number type for GraphQL with sanitization and validation.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7877