mercurius
Advanced tools
Comparing version 10.1.0 to 10.1.1
'use strict' | ||
const fp = require('fastify-plugin') | ||
const LRU = require('tiny-lru') | ||
let LRU = require('tiny-lru') | ||
const routes = require('./lib/routes') | ||
@@ -47,2 +47,6 @@ const { compileQuery, isCompiledQuery } = require('graphql-jit') | ||
// Required for module bundlers | ||
// istanbul ignore next | ||
LRU = typeof LRU === 'function' ? LRU : LRU.default | ||
function buildCache (opts) { | ||
@@ -49,0 +53,0 @@ if (Object.prototype.hasOwnProperty.call(opts, 'cache')) { |
'use strict' | ||
const crypto = require('crypto') | ||
const LRU = require('tiny-lru') | ||
let LRU = require('tiny-lru') | ||
// Required for module bundlers | ||
// istanbul ignore next | ||
LRU = typeof LRU === 'function' ? LRU : LRU.default | ||
const persistedQueryDefaults = { | ||
@@ -7,0 +11,0 @@ prepared: (persistedQueries) => ({ |
{ | ||
"name": "mercurius", | ||
"version": "10.1.0", | ||
"version": "10.1.1", | ||
"description": "Fastify GraphQL adapter with gateway and subscription support", | ||
@@ -5,0 +5,0 @@ "main": "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
993351
35142