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

graphql-operation-to-pojo

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-operation-to-pojo - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

2

lib/index.js

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

if (field.name === '__typename') {
return;
return _graphql.GraphQLString;
} // Get the concrete type for fragment fields.

@@ -169,0 +169,0 @@ // This is needed because for fragment fields, the original parentSchemaDef might be a union or interface type.

{
"name": "graphql-operation-to-pojo",
"version": "1.0.9",
"version": "1.0.10",
"description": "Converts GraphQL operations to plain old JS objects (POJOs), ready to to be serialized to JSON",

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

import './polyfills'
import { valueFromASTUntyped, getNamedType } from 'graphql'
import { valueFromASTUntyped, getNamedType, GraphQLString } from 'graphql'
import type {

@@ -222,3 +222,3 @@ GraphQLResolveInfo,

if (field.name === '__typename') {
return
return GraphQLString
}

@@ -225,0 +225,0 @@ // Get the concrete type for fragment fields.

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