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

@graphql-inspector/core

Package Overview
Dependencies
Maintainers
3
Versions
434
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-inspector/core - npm Package Compare versions

Comparing version 6.2.1 to 6.3.0-alpha-20250220184236-adcc53cd1e5fcc97c6dbc4d3d9db39f8a929bd95

2

cjs/diff/changes/field.js

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

? `Removing a deprecated field is a breaking change. Before removing it, you may want to look at the field's usage to see the impact of removing the field.`
: `Removing a field is a breaking change. It is preferable to deprecate the field before removing it.`,
: `Removing a field is a breaking change. It is preferable to deprecate the field before removing it. This applies to removed union fields as well, since removal breaks client operations that contain fragments that reference the removed type through direct (... on RemovedType) or indirect means such as __typename in the consumers.`,
},

@@ -45,0 +45,0 @@ message: buildFieldRemovedMessage(args.meta),

@@ -14,3 +14,3 @@ import { isInterfaceType, isNonNullType, } from 'graphql';

? `Removing a deprecated field is a breaking change. Before removing it, you may want to look at the field's usage to see the impact of removing the field.`
: `Removing a field is a breaking change. It is preferable to deprecate the field before removing it.`,
: `Removing a field is a breaking change. It is preferable to deprecate the field before removing it. This applies to removed union fields as well, since removal breaks client operations that contain fragments that reference the removed type through direct (... on RemovedType) or indirect means such as __typename in the consumers.`,
},

@@ -17,0 +17,0 @@ message: buildFieldRemovedMessage(args.meta),

{
"name": "@graphql-inspector/core",
"version": "6.2.1",
"version": "6.3.0-alpha-20250220184236-adcc53cd1e5fcc97c6dbc4d3d9db39f8a929bd95",
"description": "Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.",

@@ -5,0 +5,0 @@ "sideEffects": false,

@@ -7,3 +7,3 @@ import { GraphQLArgument, GraphQLField, GraphQLInterfaceType, GraphQLObjectType } from 'graphql';

readonly level: CriticalityLevel.Breaking;
readonly reason: "Removing a deprecated field is a breaking change. Before removing it, you may want to look at the field's usage to see the impact of removing the field." | "Removing a field is a breaking change. It is preferable to deprecate the field before removing it.";
readonly reason: "Removing a deprecated field is a breaking change. Before removing it, you may want to look at the field's usage to see the impact of removing the field." | "Removing a field is a breaking change. It is preferable to deprecate the field before removing it. This applies to removed union fields as well, since removal breaks client operations that contain fragments that reference the removed type through direct (... on RemovedType) or indirect means such as __typename in the consumers.";
};

@@ -10,0 +10,0 @@ readonly message: string;

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