@escape.tech/graphql-armor-block-field-suggestions
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -20,3 +20,5 @@ 'use strict'; | ||
const blockFieldSuggestionsPlugin = options => { | ||
const mask = (options === null || options === void 0 ? void 0 : options.mask) ?? blockFieldSuggestionsDefaultOptions.mask; | ||
var _options$mask; | ||
const mask = (_options$mask = options === null || options === void 0 ? void 0 : options.mask) !== null && _options$mask !== void 0 ? _options$mask : blockFieldSuggestionsDefaultOptions.mask; | ||
return { | ||
@@ -23,0 +25,0 @@ onValidate: () => { |
@@ -20,3 +20,5 @@ 'use strict'; | ||
const blockFieldSuggestionsPlugin = options => { | ||
const mask = (options === null || options === void 0 ? void 0 : options.mask) ?? blockFieldSuggestionsDefaultOptions.mask; | ||
var _options$mask; | ||
const mask = (_options$mask = options === null || options === void 0 ? void 0 : options.mask) !== null && _options$mask !== void 0 ? _options$mask : blockFieldSuggestionsDefaultOptions.mask; | ||
return { | ||
@@ -23,0 +25,0 @@ onValidate: () => { |
@@ -16,3 +16,5 @@ import { GraphQLError } from 'graphql'; | ||
const blockFieldSuggestionsPlugin = options => { | ||
const mask = (options === null || options === void 0 ? void 0 : options.mask) ?? blockFieldSuggestionsDefaultOptions.mask; | ||
var _options$mask; | ||
const mask = (_options$mask = options === null || options === void 0 ? void 0 : options.mask) !== null && _options$mask !== void 0 ? _options$mask : blockFieldSuggestionsDefaultOptions.mask; | ||
return { | ||
@@ -19,0 +21,0 @@ onValidate: () => { |
{ | ||
"name": "@escape.tech/graphql-armor-block-field-suggestions", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Block graphql field suggestion.", | ||
@@ -33,5 +33,5 @@ "packageManager": "yarn@3.2.3", | ||
"devDependencies": { | ||
"@envelop/core": "2.5.0", | ||
"@envelop/testing": "4.5.0", | ||
"@envelop/types": "2.3.1", | ||
"@envelop/core": "2.6.0", | ||
"@envelop/testing": "4.6.0", | ||
"@envelop/types": "2.4.0", | ||
"@types/node": "18.6.3", | ||
@@ -38,0 +38,0 @@ "typescript": "4.8.2" |
5963
104