Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mercurius

Package Overview
Dependencies
Maintainers
2
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mercurius - npm Package Compare versions

Comparing version 10.1.0 to 10.1.1

6

index.js
'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) => ({

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc