@escape.tech/graphql-armor-block-field-suggestions
Advanced tools
Comparing version 2.2.0 to 3.0.0
@@ -1,2 +0,2 @@ | ||
export * from "./declarations/src/index"; | ||
export * from "./declarations/src/index.js"; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbC1hcm1vci1ibG9jay1maWVsZC1zdWdnZXN0aW9ucy5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4vZGVjbGFyYXRpb25zL3NyYy9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0= |
@@ -12,3 +12,3 @@ 'use strict'; | ||
if (error instanceof graphql.GraphQLError) { | ||
error.message = error.message.replace(/Did you mean ".+"/g, mask); | ||
error.message = error.message.replace(/Did you mean ".+"\?/g, mask).trim(); | ||
} | ||
@@ -15,0 +15,0 @@ return error; |
@@ -12,3 +12,3 @@ 'use strict'; | ||
if (error instanceof graphql.GraphQLError) { | ||
error.message = error.message.replace(/Did you mean ".+"/g, mask); | ||
error.message = error.message.replace(/Did you mean ".+"\?/g, mask).trim(); | ||
} | ||
@@ -15,0 +15,0 @@ return error; |
@@ -8,3 +8,3 @@ import { GraphQLError } from 'graphql'; | ||
if (error instanceof GraphQLError) { | ||
error.message = error.message.replace(/Did you mean ".+"/g, mask); | ||
error.message = error.message.replace(/Did you mean ".+"\?/g, mask).trim(); | ||
} | ||
@@ -11,0 +11,0 @@ return error; |
{ | ||
"name": "@escape.tech/graphql-armor-block-field-suggestions", | ||
"version": "2.2.0", | ||
"version": "3.0.0", | ||
"description": "Block graphql field suggestion.", | ||
"packageManager": "yarn@4.2.2", | ||
"packageManager": "yarn@4.5.0", | ||
"main": "dist/graphql-armor-block-field-suggestions.cjs.js", | ||
@@ -7,0 +7,0 @@ "module": "dist/graphql-armor-block-field-suggestions.esm.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
5669