New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@anvilco/apollo-server-plugin-introspection-metadata

Package Overview
Dependencies
Maintainers
6
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anvilco/apollo-server-plugin-introspection-metadata - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

### 2.2.0
- `testFn` can be `async`
### 2.1.0

@@ -2,0 +6,0 @@

4

dist/index.js

@@ -66,5 +66,5 @@ "use strict";

// Check at the beginning of the request whether we should do anything at all
requestDidStart(context) {
async requestDidStart(context) {
// If this request doesn't match what we're looking for (an Introspection Query), then do nothing.
if (!testFn(context)) {
if (!(await testFn(context))) {
return;

@@ -71,0 +71,0 @@ }

{
"name": "@anvilco/apollo-server-plugin-introspection-metadata",
"version": "2.1.0",
"version": "2.2.0",
"description": "A plugin for Apollo Server that allows for adding metadata to GraphQL Introspection Query responses.",

@@ -30,5 +30,6 @@ "author": "Anvil Foundry Inc. <hello@useanvil.com>",

"prepare": "yarn build",
"build:test": "yarn build && yarn test",
"test": "mocha --config ./test/mocha-config.js",
"test:debug": "yarn test --node-option inspect=0.0.0.0:9223",
"test:watch": "nodemon -x 'yarn test'",
"test:watch": "nodemon -x 'yarn build:test'",
"test:debug:watch": "nodemon -x 'yarn test:debug'"

@@ -35,0 +36,0 @@ },

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