New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-codegen/client-preset

Package Overview
Dependencies
Maintainers
4
Versions
2132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-codegen/client-preset - npm Package Compare versions

Comparing version 4.6.2 to 4.6.3-alpha-20250219120338-60a8d805e39fc93569fe6e3d1d1bfd6df2bc1641

10

cjs/persisted-documents.js

@@ -37,2 +37,12 @@ "use strict";

},
[graphql_1.Kind.FRAGMENT_SPREAD](spread) {
if (spread.directives?.some(directive => directive.name.value === 'client')) {
return null;
}
},
[graphql_1.Kind.INLINE_FRAGMENT](fragment) {
if (fragment.directives?.some(directive => directive.name.value === 'client')) {
return null;
}
},
[graphql_1.Kind.DIRECTIVE](directive) {

@@ -39,0 +49,0 @@ if (directive.name.value === 'connection') {

@@ -32,2 +32,12 @@ import { printExecutableGraphQLDocument } from '@graphql-tools/documents';

},
[Kind.FRAGMENT_SPREAD](spread) {
if (spread.directives?.some(directive => directive.name.value === 'client')) {
return null;
}
},
[Kind.INLINE_FRAGMENT](fragment) {
if (fragment.directives?.some(directive => directive.name.value === 'client')) {
return null;
}
},
[Kind.DIRECTIVE](directive) {

@@ -34,0 +44,0 @@ if (directive.name.value === 'connection') {

12

package.json
{
"name": "@graphql-codegen/client-preset",
"version": "4.6.2",
"version": "4.6.3-alpha-20250219120338-60a8d805e39fc93569fe6e3d1d1bfd6df2bc1641",
"description": "GraphQL Code Generator preset for client.",

@@ -12,8 +12,8 @@ "peerDependencies": {

"@graphql-codegen/add": "^5.0.3",
"@graphql-codegen/typed-document-node": "^5.0.13",
"@graphql-codegen/typescript": "^4.1.3",
"@graphql-codegen/typescript-operations": "^4.4.1",
"@graphql-codegen/gql-tag-operations": "4.0.14",
"@graphql-codegen/typed-document-node": "5.0.14-alpha-20250219120338-60a8d805e39fc93569fe6e3d1d1bfd6df2bc1641",
"@graphql-codegen/typescript": "4.1.4-alpha-20250219120338-60a8d805e39fc93569fe6e3d1d1bfd6df2bc1641",
"@graphql-codegen/typescript-operations": "4.5.0-alpha-20250219120338-60a8d805e39fc93569fe6e3d1d1bfd6df2bc1641",
"@graphql-codegen/gql-tag-operations": "4.0.15-alpha-20250219120338-60a8d805e39fc93569fe6e3d1d1bfd6df2bc1641",
"@graphql-codegen/plugin-helpers": "^5.1.0",
"@graphql-codegen/visitor-plugin-common": "^5.6.1",
"@graphql-codegen/visitor-plugin-common": "5.7.0-alpha-20250219120338-60a8d805e39fc93569fe6e3d1d1bfd6df2bc1641",
"@graphql-typed-document-node/core": "3.2.0",

@@ -20,0 +20,0 @@ "@graphql-tools/documents": "^1.0.0",

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