express-gql
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -59,3 +59,3 @@ "use strict"; | ||
let document = null; | ||
if (!cached) { | ||
if (!cached || typeof cached.jit.query !== "function") { | ||
const cachedError = lruErrors.get(query); | ||
@@ -62,0 +62,0 @@ if (cachedError) { |
{ | ||
"name": "express-gql", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts", |
@@ -108,3 +108,3 @@ import { Request, Response } from "express"; | ||
if (!cached) { | ||
if (!cached || typeof cached.jit.query !== "function") { | ||
// We use two caches to avoid errors bust the good | ||
@@ -111,0 +111,0 @@ // cache. This is a protection against DoS attacks |
Sorry, the diff of this file is not supported yet
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
17693