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

@graphql-codegen/visitor-plugin-common

Package Overview
Dependencies
Maintainers
5
Versions
6023
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-codegen/visitor-plugin-common - npm Package Compare versions

Comparing version 1.0.7-alpha-1b96fb9d.0 to 1.0.7-alpha-29e37fea.13

2

dist/commonjs/base-types-visitor.js

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

const originalNode = parent[key];
const interfaces = originalNode.interfaces && node.interfaces.length > 0 ? originalNode.interfaces.map(i => this.convertName(i)).join(' & ') + ' & ' : '';
const interfaces = originalNode.interfaces && node.interfaces.length > 0 ? originalNode.interfaces.map(i => this.convertName(i)).join(' & ') + (node.fields.length ? ' & ' : '') : '';
const typeDefinition = new utils_1.DeclarationBlock(this._declarationBlockConfig)

@@ -73,0 +73,0 @@ .export()

@@ -68,3 +68,3 @@ import { BaseVisitor } from './base-visitor';

const originalNode = parent[key];
const interfaces = originalNode.interfaces && node.interfaces.length > 0 ? originalNode.interfaces.map(i => this.convertName(i)).join(' & ') + ' & ' : '';
const interfaces = originalNode.interfaces && node.interfaces.length > 0 ? originalNode.interfaces.map(i => this.convertName(i)).join(' & ') + (node.fields.length ? ' & ' : '') : '';
const typeDefinition = new DeclarationBlock(this._declarationBlockConfig)

@@ -71,0 +71,0 @@ .export()

{
"name": "@graphql-codegen/visitor-plugin-common",
"version": "1.0.7-alpha-1b96fb9d.0+1b96fb9d",
"version": "1.0.7-alpha-29e37fea.13+29e37fea",
"license": "MIT",

@@ -10,3 +10,3 @@ "scripts": {

"dependencies": {
"@graphql-codegen/plugin-helpers": "1.0.7-alpha-1b96fb9d.0+1b96fb9d",
"@graphql-codegen/plugin-helpers": "1.0.7-alpha-29e37fea.13+29e37fea",
"auto-bind": "2.0.0",

@@ -21,8 +21,8 @@ "dependency-graph": "0.8.0",

"devDependencies": {
"@graphql-codegen/testing": "1.0.7-alpha-1b96fb9d.0+1b96fb9d",
"@types/graphql": "14.0.7",
"@graphql-codegen/testing": "1.0.7-alpha-29e37fea.13+29e37fea",
"@types/graphql": "14.2.0",
"@types/jest": "24.0.11",
"graphql": "14.2.0",
"jest": "24.5.0",
"ts-jest": "24.0.0",
"ts-jest": "24.0.1",
"typescript": "3.3.4000"

@@ -40,3 +40,3 @@ },

},
"gitHead": "1b96fb9d00b92e5b6f4614237ebf9ccadcf485bd"
"gitHead": "29e37feaef9899fcf1d061dddf18423d2bee98ed"
}

Sorry, the diff of this file is not supported yet

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