Socket
Socket
Sign inDemoInstall

apollo-codegen

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-codegen - npm Package Compare versions

Comparing version 0.12.6 to 0.12.7

11

lib/compilation.js

@@ -402,8 +402,13 @@ 'use strict';

// Introspection fields do not have descriptions
if (fieldName !== '__typename') {
var description = parentType.getFields()[fieldName].description;
var fieldDef = parentType.getFields()[fieldName];
if (fieldDef) {
var description = fieldDef.description;
if (description) {
field.description = description;
}
Object.assign(field, {
isDeprecated: fieldDef.isDeprecated,
deprecationReason: fieldDef.deprecationReason
});
}

@@ -410,0 +415,0 @@

{
"name": "apollo-codegen",
"version": "0.12.6",
"version": "0.12.7",
"description": "Generate API code or type annotations based on a GraphQL schema and query documents",

@@ -5,0 +5,0 @@ "main": "./lib/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