Socket
Socket
Sign inDemoInstall

graphql-introspection-filtering

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-introspection-filtering - npm Package Compare versions

Comparing version 2.0.0-rc.0 to 2.0.0-rc.1

3

dist/classes/Hook.d.ts
import Once from './Once';
import type { GraphQLResolveInfo } from 'graphql';
import type { OperationDefinitionNode } from 'graphql/language/ast';
import type { ClassDirectiveConfig, IntrospectionDirectiveVisitor, VisitableIntrospectionType, VisitableSchemaType, VisitorResult } from '../types';

@@ -11,3 +10,3 @@ /**

protected _method: keyof IntrospectionDirectiveVisitor;
protected _once: Once<OperationDefinitionNode>;
protected _once: Once<any>;
/**

@@ -14,0 +13,0 @@ * Hook constructor

@@ -31,3 +31,3 @@ "use strict";

var e_1, _a;
var session = this._once.session(info.operation);
var session = this._once.session(info.variableValues);
if (session.canJoin) {

@@ -34,0 +34,0 @@ return session.join();

{
"name": "graphql-introspection-filtering",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "Filter graphql schema introspection result to hide restricted fields and types",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is not supported yet

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