Socket
Socket
Sign inDemoInstall

@graphql-codegen/visitor-plugin-common

Package Overview
Dependencies
195
Maintainers
4
Versions
5775
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.1.1-alpha-20240509095602-b92a9409e9445aa7530128b029d11444ea4b0508 to 5.1.1-alpha-20240509105210-4ea1da44bcbd1282abf3a9b6578d6c267619b98b

3

cjs/base-resolvers-visitor.js

@@ -850,3 +850,4 @@ "use strict";

const isUnion = (0, graphql_1.isUnionType)(baseType);
if (!this.config.mappers[baseType.name] && !isUnion && !this._shouldMapType[baseType.name]) {
const isInterface = (0, graphql_1.isInterfaceType)(baseType);
if (!this.config.mappers[baseType.name] && !isUnion && !isInterface && !this._shouldMapType[baseType.name]) {
return null;

@@ -853,0 +854,0 @@ }

@@ -846,3 +846,4 @@ import { ApolloFederation, getBaseType } from '@graphql-codegen/plugin-helpers';

const isUnion = isUnionType(baseType);
if (!this.config.mappers[baseType.name] && !isUnion && !this._shouldMapType[baseType.name]) {
const isInterface = isInterfaceType(baseType);
if (!this.config.mappers[baseType.name] && !isUnion && !isInterface && !this._shouldMapType[baseType.name]) {
return null;

@@ -849,0 +850,0 @@ }

{
"name": "@graphql-codegen/visitor-plugin-common",
"version": "5.1.1-alpha-20240509095602-b92a9409e9445aa7530128b029d11444ea4b0508",
"version": "5.1.1-alpha-20240509105210-4ea1da44bcbd1282abf3a9b6578d6c267619b98b",
"peerDependencies": {

@@ -5,0 +5,0 @@ "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc