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

@graphql-inspector/ci

Package Overview
Dependencies
Maintainers
0
Versions
457
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-inspector/ci - npm Package Compare versions

Comparing version 5.0.6 to 5.1.0-alpha-20241111105259-3b8caff79d686adf447c18b1c8312efca82ffe3e

7

cjs/action/helpers/check-runs.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.complete = exports.annotate = exports.start = void 0;
exports.start = start;
exports.annotate = annotate;
exports.complete = complete;
const types_js_1 = require("./types.js");

@@ -23,3 +25,2 @@ const utils_js_1 = require("./utils.js");

}
exports.start = start;
async function annotate({ context, owner, repo, checkRunId, annotations, title, summary, logger, }) {

@@ -49,3 +50,2 @@ const batches = (0, utils_js_1.batch)(annotations, 50);

}
exports.annotate = annotate;
async function complete({ context, owner, repo, checkRunId, conclusion, logger, }) {

@@ -67,2 +67,1 @@ try {

}
exports.complete = complete;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createConfig = exports.defaultFallbackBranch = exports.defaultConfigName = void 0;
exports.defaultFallbackBranch = exports.defaultConfigName = void 0;
exports.createConfig = createConfig;
const utils_js_1 = require("./utils.js");

@@ -101,3 +102,2 @@ exports.defaultConfigName = '__default';

}
exports.createConfig = createConfig;
function isNormalizedLegacyConfig(config) {

@@ -104,0 +104,0 @@ return typeof config[exports.defaultConfigName] === 'object';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDiagnostics = exports.setDiagnostics = void 0;
exports.setDiagnostics = setDiagnostics;
exports.getDiagnostics = getDiagnostics;
const key = Symbol.for('inspector-diagnostics');

@@ -8,6 +9,4 @@ function setDiagnostics(app, diagnostics) {

}
exports.setDiagnostics = setDiagnostics;
function getDiagnostics(app) {
return app[key];
}
exports.getDiagnostics = getDiagnostics;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.diff = void 0;
exports.diff = diff;
const core_1 = require("@graphql-inspector/core");

@@ -40,3 +40,2 @@ const fetch_1 = require("@whatwg-node/fetch");

}
exports.diff = diff;
const levelMap = {

@@ -43,0 +42,0 @@ [core_1.CriticalityLevel.Breaking]: types_js_1.AnnotationLevel.Failure,

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.loadSources = exports.printSchemaFromEndpoint = exports.createConfigLoader = exports.createFileLoader = void 0;
exports.createFileLoader = createFileLoader;
exports.createConfigLoader = createConfigLoader;
exports.printSchemaFromEndpoint = printSchemaFromEndpoint;
exports.loadSources = loadSources;
const tslib_1 = require("tslib");

@@ -76,3 +79,2 @@ const dataloader_1 = tslib_1.__importDefault(require("dataloader"));

}
exports.createFileLoader = createFileLoader;
function createConfigLoader(config, loadFile) {

@@ -130,3 +132,2 @@ const loader = new dataloader_1.default(ids => {

}
exports.createConfigLoader = createConfigLoader;
async function printSchemaFromEndpoint(endpoint) {

@@ -147,3 +148,2 @@ const config = (0, utils_js_1.parseEndpoint)(endpoint);

}
exports.printSchemaFromEndpoint = printSchemaFromEndpoint;
async function loadSources({ config, oldPointer, newPointer, loadFile, }) {

@@ -174,2 +174,1 @@ // Here, config.endpoint is defined only if target's branch matches branch of environment

}
exports.loadSources = loadSources;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLocationByPath = void 0;
exports.getLocationByPath = getLocationByPath;
const graphql_1 = require("graphql");

@@ -45,3 +45,2 @@ function getLocationByPath({ path, source, }) {

}
exports.getLocationByPath = getLocationByPath;
function resolveScalarTypeDefinitionNode(_path, definition) {

@@ -48,0 +47,0 @@ return definition;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createLogger = void 0;
exports.createLogger = createLogger;
function createLogger(label, context, release) {

@@ -25,2 +25,1 @@ const id = Math.random().toString(16).substr(2, 5);

}
exports.createLogger = createLogger;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.notifyWithDiscord = exports.notifyWithSlack = exports.notifyWithWebhook = void 0;
exports.notifyWithWebhook = notifyWithWebhook;
exports.notifyWithSlack = notifyWithSlack;
exports.notifyWithDiscord = notifyWithDiscord;
const core_1 = require("@graphql-inspector/core");

@@ -27,3 +29,2 @@ const fetch_1 = require("@whatwg-node/fetch");

}
exports.notifyWithWebhook = notifyWithWebhook;
async function notifyWithSlack({ url, changes, environment, repo, owner, commit, }) {

@@ -49,3 +50,2 @@ const totalChanges = changes.length;

}
exports.notifyWithSlack = notifyWithSlack;
async function notifyWithDiscord({ url, changes, environment, repo, owner, commit, }) {

@@ -71,3 +71,2 @@ const totalChanges = changes.length;

}
exports.notifyWithDiscord = notifyWithDiscord;
function createAttachments(changes) {

@@ -74,0 +73,0 @@ const breakingChanges = changes.filter((0, utils_js_1.filterChangesByLevel)(core_1.CriticalityLevel.Breaking));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.produceSchema = void 0;
exports.produceSchema = produceSchema;
const graphql_1 = require("graphql");

@@ -19,2 +19,1 @@ function produceSchema(source) {

}
exports.produceSchema = produceSchema;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.objectFromEntries = exports.batch = exports.parseEndpoint = exports.isNil = exports.createSummary = exports.filterChangesByLevel = exports.discordCoderize = exports.slackCoderize = exports.quotesTransformer = exports.bolderize = void 0;
exports.bolderize = bolderize;
exports.quotesTransformer = quotesTransformer;
exports.slackCoderize = slackCoderize;
exports.discordCoderize = discordCoderize;
exports.filterChangesByLevel = filterChangesByLevel;
exports.createSummary = createSummary;
exports.isNil = isNil;
exports.parseEndpoint = parseEndpoint;
exports.batch = batch;
exports.objectFromEntries = objectFromEntries;
const core_1 = require("@graphql-inspector/core");

@@ -8,3 +17,2 @@ function bolderize(msg) {

}
exports.bolderize = bolderize;
function quotesTransformer(msg, symbols = '**') {

@@ -18,15 +26,11 @@ const findSingleQuotes = /'([^']+)'/gim;

}
exports.quotesTransformer = quotesTransformer;
function slackCoderize(msg) {
return quotesTransformer(msg, '`');
}
exports.slackCoderize = slackCoderize;
function discordCoderize(msg) {
return quotesTransformer(msg, '`');
}
exports.discordCoderize = discordCoderize;
function filterChangesByLevel(level) {
return (change) => change.criticality.level === level;
}
exports.filterChangesByLevel = filterChangesByLevel;
function createSummary(changes, summaryLimit, isLegacyConfig = false) {

@@ -80,7 +84,5 @@ const breakingChanges = changes.filter(filterChangesByLevel(core_1.CriticalityLevel.Breaking));

}
exports.createSummary = createSummary;
function isNil(val) {
return !val && typeof val !== 'boolean';
}
exports.isNil = isNil;
function parseEndpoint(endpoint) {

@@ -99,3 +101,2 @@ if (typeof endpoint === 'string') {

}
exports.parseEndpoint = parseEndpoint;
function batch(items, limit) {

@@ -115,3 +116,2 @@ const batches = [];

}
exports.batch = batch;
function objectFromEntries(iterable) {

@@ -123,2 +123,1 @@ return [...iterable].reduce((obj, [key, val]) => {

}
exports.objectFromEntries = objectFromEntries;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateCheckRun = void 0;
exports.updateCheckRun = updateCheckRun;
const tslib_1 = require("tslib");

@@ -49,2 +49,1 @@ const core = tslib_1.__importStar(require("@actions/core"));

}
exports.updateCheckRun = updateCheckRun;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fileLoader = void 0;
exports.fileLoader = fileLoader;
const tslib_1 = require("tslib");

@@ -60,2 +60,1 @@ const fs_1 = require("fs");

}
exports.fileLoader = fileLoader;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAssociatedPullRequest = exports.getCurrentCommitSha = void 0;
exports.getCurrentCommitSha = getCurrentCommitSha;
exports.getAssociatedPullRequest = getAssociatedPullRequest;
const tslib_1 = require("tslib");

@@ -24,3 +25,2 @@ const child_process_1 = require("child_process");

}
exports.getCurrentCommitSha = getCurrentCommitSha;
async function getAssociatedPullRequest(octokit, commitSha) {

@@ -37,2 +37,1 @@ const result = await octokit.request('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', {

}
exports.getAssociatedPullRequest = getAssociatedPullRequest;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.run = void 0;
exports.run = run;
const tslib_1 = require("tslib");

@@ -187,2 +187,1 @@ const path_1 = require("path");

}
exports.run = run;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolveRule = exports.getInputAsArray = exports.castToBoolean = exports.batch = void 0;
exports.batch = batch;
exports.castToBoolean = castToBoolean;
exports.getInputAsArray = getInputAsArray;
exports.resolveRule = resolveRule;
const tslib_1 = require("tslib");

@@ -23,3 +26,2 @@ const fs_1 = require("fs");

}
exports.batch = batch;
/**

@@ -40,3 +42,2 @@ * Treats non-falsy value as true

}
exports.castToBoolean = castToBoolean;
function getInputAsArray(name, options) {

@@ -49,3 +50,2 @@ return core

}
exports.getInputAsArray = getInputAsArray;
function resolveRule(name) {

@@ -58,2 +58,1 @@ const filepath = (0, commands_1.ensureAbsolute)(name);

}
exports.resolveRule = resolveRule;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.handler = void 0;
exports.handler = handler;
const tslib_1 = require("tslib");

@@ -114,2 +114,1 @@ const cli_table3_1 = tslib_1.__importDefault(require("cli-table3"));

}
exports.handler = handler;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mockCommand = exports.parseGlobalArgs = exports.ensureAbsolute = exports.createCommand = exports.useCommands = void 0;
exports.useCommands = useCommands;
exports.createCommand = createCommand;
exports.ensureAbsolute = ensureAbsolute;
exports.parseGlobalArgs = parseGlobalArgs;
exports.mockCommand = mockCommand;
const tslib_1 = require("tslib");

@@ -11,7 +15,5 @@ const path_1 = require("path");

}
exports.useCommands = useCommands;
function createCommand(factory) {
return factory;
}
exports.createCommand = createCommand;
function loadCommand(name) {

@@ -24,3 +26,2 @@ const mod = require(`@graphql-inspector/${name}-command`);

}
exports.ensureAbsolute = ensureAbsolute;
function parseGlobalArgs(args) {

@@ -54,6 +55,4 @@ const headers = {};

}
exports.parseGlobalArgs = parseGlobalArgs;
async function mockCommand(mod, cmd) {
return (0, yargs_1.default)((0, helpers_1.hideBin)(process.argv)).command(mod).parseAsync(cmd);
}
exports.mockCommand = mockCommand;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.handler = void 0;
exports.handler = handler;
const fs_1 = require("fs");

@@ -35,3 +35,2 @@ const path_1 = require("path");

}
exports.handler = handler;
exports.default = (0, commands_1.createCommand)(api => {

@@ -38,0 +37,0 @@ const { loaders } = api;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.handler = void 0;
exports.handler = handler;
const fs_1 = require("fs");

@@ -46,3 +46,2 @@ const commands_1 = require("@graphql-inspector/commands");

}
exports.handler = handler;
exports.default = (0, commands_1.createCommand)(api => {

@@ -49,0 +48,0 @@ const { loaders } = api;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.handler = void 0;
exports.handler = handler;
const fs_1 = require("fs");

@@ -32,3 +32,2 @@ const path_1 = require("path");

}
exports.handler = handler;
exports.default = (0, commands_1.createCommand)(api => {

@@ -35,0 +34,0 @@ const { loaders } = api;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fake = void 0;
exports.fake = fake;
const graphql_1 = require("graphql");

@@ -123,3 +123,2 @@ const defaultMockMap = new Map();

}
exports.fake = fake;
function isObject(thing) {

@@ -126,0 +125,0 @@ return thing === Object(thing) && !Array.isArray(thing);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.handler = void 0;
exports.handler = handler;
const fs_1 = require("fs");

@@ -50,3 +50,2 @@ const path_1 = require("path");

}
exports.handler = handler;
exports.default = (0, commands_1.createCommand)(api => {

@@ -53,0 +52,0 @@ const { loaders } = api;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.handler = void 0;
exports.handler = handler;
const fs_1 = require("fs");

@@ -59,3 +59,2 @@ const path_1 = require("path");

}
exports.handler = handler;
function moveDeprecatedToErrors(docs) {

@@ -62,0 +61,0 @@ return docs.map(doc => ({

@@ -5,3 +5,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.useConfig = exports.availableLoaders = exports.availableCommands = void 0;
exports.availableLoaders = exports.availableCommands = void 0;
exports.useConfig = useConfig;
exports.availableCommands = [

@@ -23,3 +24,2 @@ 'coverage',

}
exports.useConfig = useConfig;
function moduleExists(name) {

@@ -26,0 +26,0 @@ try {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.readDocument = void 0;
exports.readDocument = readDocument;
const graphql_1 = require("graphql");

@@ -34,3 +34,2 @@ function readDocument(source) {

}
exports.readDocument = readDocument;
function isOperation(node) {

@@ -37,0 +36,0 @@ return node.kind === graphql_1.Kind.OPERATION_DEFINITION;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.coverage = void 0;
exports.coverage = coverage;
const graphql_1 = require("graphql");

@@ -143,3 +143,2 @@ const document_js_1 = require("../ast/document.js");

}
exports.coverage = coverage;
function processStats(me) {

@@ -146,0 +145,0 @@ const children = me.children;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.outputJSON = void 0;
exports.outputJSON = outputJSON;
function outputJSON(coverage) {
return JSON.stringify(coverage, null, 2);
}
exports.outputJSON = outputJSON;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.changesInArgument = void 0;
exports.changesInArgument = changesInArgument;
const graphql_1 = require("graphql");

@@ -41,2 +41,1 @@ const compare_js_1 = require("../utils/compare.js");

}
exports.changesInArgument = changesInArgument;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fieldArgumentTypeChanged = exports.fieldArgumentTypeChangedFromMeta = exports.fieldArgumentDefaultChanged = exports.fieldArgumentDefaultChangedFromMeta = exports.fieldArgumentDescriptionChanged = exports.fieldArgumentDescriptionChangedFromMeta = void 0;
exports.fieldArgumentDescriptionChangedFromMeta = fieldArgumentDescriptionChangedFromMeta;
exports.fieldArgumentDescriptionChanged = fieldArgumentDescriptionChanged;
exports.fieldArgumentDefaultChangedFromMeta = fieldArgumentDefaultChangedFromMeta;
exports.fieldArgumentDefaultChanged = fieldArgumentDefaultChanged;
exports.fieldArgumentTypeChangedFromMeta = fieldArgumentTypeChangedFromMeta;
exports.fieldArgumentTypeChanged = fieldArgumentTypeChanged;
const graphql_js_1 = require("../../utils/graphql.js");

@@ -21,3 +26,2 @@ const string_js_1 = require("../../utils/string.js");

}
exports.fieldArgumentDescriptionChangedFromMeta = fieldArgumentDescriptionChangedFromMeta;
function fieldArgumentDescriptionChanged(type, field, oldArg, newArg) {

@@ -35,3 +39,2 @@ return fieldArgumentDescriptionChangedFromMeta({

}
exports.fieldArgumentDescriptionChanged = fieldArgumentDescriptionChanged;
function buildFieldArgumentDefaultChangedMessage(args) {

@@ -55,3 +58,2 @@ return args.oldDefaultValue === undefined

}
exports.fieldArgumentDefaultChangedFromMeta = fieldArgumentDefaultChangedFromMeta;
function fieldArgumentDefaultChanged(type, field, oldArg, newArg) {

@@ -74,3 +76,2 @@ const meta = {

}
exports.fieldArgumentDefaultChanged = fieldArgumentDefaultChanged;
function buildFieldArgumentTypeChangedMessage(args) {

@@ -98,3 +99,2 @@ return `Type for argument '${args.argumentName}' on field '${args.typeName}.${args.fieldName}' changed from '${args.oldArgumentType}' to '${args.newArgumentType}'`;

}
exports.fieldArgumentTypeChangedFromMeta = fieldArgumentTypeChangedFromMeta;
function fieldArgumentTypeChanged(type, field, oldArg, newArg) {

@@ -113,2 +113,1 @@ return fieldArgumentTypeChangedFromMeta({

}
exports.fieldArgumentTypeChanged = fieldArgumentTypeChanged;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.directiveUsageRemoved = exports.directiveUsageAdded = void 0;
exports.directiveUsageAdded = directiveUsageAdded;
exports.directiveUsageRemoved = directiveUsageRemoved;
const graphql_1 = require("graphql");

@@ -204,3 +205,2 @@ const change_js_1 = require("./change.js");

}
exports.directiveUsageAdded = directiveUsageAdded;
function directiveUsageRemoved(kind, directive, payload) {

@@ -386,5 +386,4 @@ if (isOfKind(kind, graphql_1.Kind.ARGUMENT, payload)) {

}
exports.directiveUsageRemoved = directiveUsageRemoved;
function isOfKind(kind, expectedKind, _value) {
return kind === expectedKind;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.directiveArgumentTypeChanged = exports.directiveArgumentTypeChangedFromMeta = exports.directiveArgumentDefaultValueChanged = exports.directiveArgumentDefaultValueChangedFromMeta = exports.directiveArgumentDescriptionChanged = exports.directiveArgumentDescriptionChangedFromMeta = exports.directiveArgumentRemoved = exports.directiveArgumentRemovedFromMeta = exports.directiveArgumentAdded = exports.directiveArgumentAddedFromMeta = exports.directiveLocationRemoved = exports.directiveLocationRemovedFromMeta = exports.directiveLocationAdded = exports.directiveLocationAddedFromMeta = exports.directiveDescriptionChanged = exports.directiveDescriptionChangedFromMeta = exports.directiveAdded = exports.directiveAddedFromMeta = exports.directiveRemoved = exports.directiveRemovedFromMeta = void 0;
exports.directiveRemovedFromMeta = directiveRemovedFromMeta;
exports.directiveRemoved = directiveRemoved;
exports.directiveAddedFromMeta = directiveAddedFromMeta;
exports.directiveAdded = directiveAdded;
exports.directiveDescriptionChangedFromMeta = directiveDescriptionChangedFromMeta;
exports.directiveDescriptionChanged = directiveDescriptionChanged;
exports.directiveLocationAddedFromMeta = directiveLocationAddedFromMeta;
exports.directiveLocationAdded = directiveLocationAdded;
exports.directiveLocationRemovedFromMeta = directiveLocationRemovedFromMeta;
exports.directiveLocationRemoved = directiveLocationRemoved;
exports.directiveArgumentAddedFromMeta = directiveArgumentAddedFromMeta;
exports.directiveArgumentAdded = directiveArgumentAdded;
exports.directiveArgumentRemovedFromMeta = directiveArgumentRemovedFromMeta;
exports.directiveArgumentRemoved = directiveArgumentRemoved;
exports.directiveArgumentDescriptionChangedFromMeta = directiveArgumentDescriptionChangedFromMeta;
exports.directiveArgumentDescriptionChanged = directiveArgumentDescriptionChanged;
exports.directiveArgumentDefaultValueChangedFromMeta = directiveArgumentDefaultValueChangedFromMeta;
exports.directiveArgumentDefaultValueChanged = directiveArgumentDefaultValueChanged;
exports.directiveArgumentTypeChangedFromMeta = directiveArgumentTypeChangedFromMeta;
exports.directiveArgumentTypeChanged = directiveArgumentTypeChanged;
const graphql_1 = require("graphql");

@@ -24,3 +43,2 @@ const graphql_js_1 = require("../../utils/graphql.js");

}
exports.directiveRemovedFromMeta = directiveRemovedFromMeta;
function directiveRemoved(directive) {

@@ -34,3 +52,2 @@ return directiveRemovedFromMeta({

}
exports.directiveRemoved = directiveRemoved;
function buildDirectiveAddedMessage(args) {

@@ -50,3 +67,2 @@ return `Directive '${args.addedDirectiveName}' was added`;

}
exports.directiveAddedFromMeta = directiveAddedFromMeta;
function directiveAdded(directive) {

@@ -60,3 +76,2 @@ return directiveAddedFromMeta({

}
exports.directiveAdded = directiveAdded;
function buildDirectiveDescriptionChangedMessage(args) {

@@ -76,3 +91,2 @@ return `Directive '${args.directiveName}' description changed from '${args.oldDirectiveDescription ?? 'undefined'}' to '${args.newDirectiveDescription ?? 'undefined'}'`;

}
exports.directiveDescriptionChangedFromMeta = directiveDescriptionChangedFromMeta;
function directiveDescriptionChanged(oldDirective, newDirective) {

@@ -88,3 +102,2 @@ return directiveDescriptionChangedFromMeta({

}
exports.directiveDescriptionChanged = directiveDescriptionChanged;
function buildDirectiveLocationAddedMessage(args) {

@@ -104,3 +117,2 @@ return `Location '${args.addedDirectiveLocation}' was added to directive '${args.directiveName}'`;

}
exports.directiveLocationAddedFromMeta = directiveLocationAddedFromMeta;
function directiveLocationAdded(directive, location) {

@@ -115,3 +127,2 @@ return directiveLocationAddedFromMeta({

}
exports.directiveLocationAdded = directiveLocationAdded;
function buildDirectiveLocationRemovedMessage(args) {

@@ -133,3 +144,2 @@ return `Location '${args.removedDirectiveLocation}' was removed from directive '${args.directiveName}'`;

}
exports.directiveLocationRemovedFromMeta = directiveLocationRemovedFromMeta;
function directiveLocationRemoved(directive, location) {

@@ -144,3 +154,2 @@ return directiveLocationRemovedFromMeta({

}
exports.directiveLocationRemoved = directiveLocationRemoved;
const directiveArgumentAddedBreakingReason = `A directive could be in use of a client application. Adding a non-nullable argument will break those clients.`;

@@ -165,3 +174,2 @@ const directiveArgumentNonBreakingReason = `A directive could be in use of a client application. Adding a non-nullable argument will break those clients.`;

}
exports.directiveArgumentAddedFromMeta = directiveArgumentAddedFromMeta;
function directiveArgumentAdded(directive, arg) {

@@ -177,3 +185,2 @@ return directiveArgumentAddedFromMeta({

}
exports.directiveArgumentAdded = directiveArgumentAdded;
function buildDirectiveArgumentRemovedMessage(args) {

@@ -195,3 +202,2 @@ return `Argument '${args.removedDirectiveArgumentName}' was removed from directive '${args.directiveName}'`;

}
exports.directiveArgumentRemovedFromMeta = directiveArgumentRemovedFromMeta;
function directiveArgumentRemoved(directive, arg) {

@@ -206,3 +212,2 @@ return directiveArgumentRemovedFromMeta({

}
exports.directiveArgumentRemoved = directiveArgumentRemoved;
function buildDirectiveArgumentDescriptionChangedMessage(args) {

@@ -222,3 +227,2 @@ return `Description for argument '${args.directiveArgumentName}' on directive '${args.directiveName}' changed from '${args.oldDirectiveArgumentDescription}' to '${args.newDirectiveArgumentDescription}'`;

}
exports.directiveArgumentDescriptionChangedFromMeta = directiveArgumentDescriptionChangedFromMeta;
function directiveArgumentDescriptionChanged(directive, oldArg, newArg) {

@@ -235,3 +239,2 @@ return directiveArgumentDescriptionChangedFromMeta({

}
exports.directiveArgumentDescriptionChanged = directiveArgumentDescriptionChanged;
function buildDirectiveArgumentDefaultValueChanged(args) {

@@ -255,3 +258,2 @@ return args.oldDirectiveArgumentDefaultValue === undefined

}
exports.directiveArgumentDefaultValueChangedFromMeta = directiveArgumentDefaultValueChangedFromMeta;
function directiveArgumentDefaultValueChanged(directive, oldArg, newArg) {

@@ -273,3 +275,2 @@ const meta = {

}
exports.directiveArgumentDefaultValueChanged = directiveArgumentDefaultValueChanged;
function buildDirectiveArgumentTypeChangedMessage(args) {

@@ -295,3 +296,2 @@ return `Type for argument '${args.meta.directiveArgumentName}' on directive '${args.meta.directiveName}' changed from '${args.meta.oldDirectiveArgumentType}' to '${args.meta.newDirectiveArgumentType}'`;

}
exports.directiveArgumentTypeChangedFromMeta = directiveArgumentTypeChangedFromMeta;
function directiveArgumentTypeChanged(directive, oldArg, newArg) {

@@ -309,2 +309,1 @@ return directiveArgumentTypeChangedFromMeta({

}
exports.directiveArgumentTypeChanged = directiveArgumentTypeChanged;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.enumValueDeprecationReasonRemoved = exports.enumValueDeprecationReasonRemovedFromMeta = exports.enumValueDeprecationReasonAdded = exports.enumValueDeprecationReasonAddedFromMeta = exports.enumValueDeprecationReasonChanged = exports.enumValueDeprecationReasonChangedFromMeta = exports.enumValueDescriptionChanged = exports.enumValueDescriptionChangedFromMeta = exports.enumValueAdded = exports.enumValueAddedFromMeta = exports.enumValueRemoved = exports.enumValueRemovedFromMeta = void 0;
exports.enumValueRemovedFromMeta = enumValueRemovedFromMeta;
exports.enumValueRemoved = enumValueRemoved;
exports.enumValueAddedFromMeta = enumValueAddedFromMeta;
exports.enumValueAdded = enumValueAdded;
exports.enumValueDescriptionChangedFromMeta = enumValueDescriptionChangedFromMeta;
exports.enumValueDescriptionChanged = enumValueDescriptionChanged;
exports.enumValueDeprecationReasonChangedFromMeta = enumValueDeprecationReasonChangedFromMeta;
exports.enumValueDeprecationReasonChanged = enumValueDeprecationReasonChanged;
exports.enumValueDeprecationReasonAddedFromMeta = enumValueDeprecationReasonAddedFromMeta;
exports.enumValueDeprecationReasonAdded = enumValueDeprecationReasonAdded;
exports.enumValueDeprecationReasonRemovedFromMeta = enumValueDeprecationReasonRemovedFromMeta;
exports.enumValueDeprecationReasonRemoved = enumValueDeprecationReasonRemoved;
const is_deprecated_js_1 = require("../../utils/is-deprecated.js");

@@ -22,3 +33,2 @@ const change_js_1 = require("./change.js");

}
exports.enumValueRemovedFromMeta = enumValueRemovedFromMeta;
function enumValueRemoved(oldEnum, value) {

@@ -34,3 +44,2 @@ return enumValueRemovedFromMeta({

}
exports.enumValueRemoved = enumValueRemoved;
function buildEnumValueAddedMessage(args) {

@@ -52,3 +61,2 @@ return `Enum value '${args.meta.addedEnumValueName}' was added to enum '${args.meta.enumName}'`;

}
exports.enumValueAddedFromMeta = enumValueAddedFromMeta;
function enumValueAdded(newEnum, value) {

@@ -63,3 +71,2 @@ return enumValueAddedFromMeta({

}
exports.enumValueAdded = enumValueAdded;
function buildEnumValueDescriptionChangedMessage(args) {

@@ -81,3 +88,2 @@ return args.oldEnumValueDescription === null

}
exports.enumValueDescriptionChangedFromMeta = enumValueDescriptionChangedFromMeta;
function enumValueDescriptionChanged(newEnum, oldValue, newValue) {

@@ -94,3 +100,2 @@ return enumValueDescriptionChangedFromMeta({

}
exports.enumValueDescriptionChanged = enumValueDescriptionChanged;
function buildEnumValueDeprecationChangedMessage(args) {

@@ -110,3 +115,2 @@ return `Enum value '${args.enumName}.${args.enumValueName}' deprecation reason changed from '${args.oldEnumValueDeprecationReason}' to '${args.newEnumValueDeprecationReason}'`;

}
exports.enumValueDeprecationReasonChangedFromMeta = enumValueDeprecationReasonChangedFromMeta;
function enumValueDeprecationReasonChanged(newEnum, oldValue, newValue) {

@@ -123,3 +127,2 @@ return enumValueDeprecationReasonChangedFromMeta({

}
exports.enumValueDeprecationReasonChanged = enumValueDeprecationReasonChanged;
function buildEnumValueDeprecationReasonAddedMessage(args) {

@@ -139,3 +142,2 @@ return `Enum value '${args.enumName}.${args.enumValueName}' was deprecated with reason '${args.addedValueDeprecationReason}'`;

}
exports.enumValueDeprecationReasonAddedFromMeta = enumValueDeprecationReasonAddedFromMeta;
function enumValueDeprecationReasonAdded(newEnum, oldValue, newValue) {

@@ -151,3 +153,2 @@ return enumValueDeprecationReasonAddedFromMeta({

}
exports.enumValueDeprecationReasonAdded = enumValueDeprecationReasonAdded;
function buildEnumValueDeprecationReasonRemovedMessage(args) {

@@ -167,3 +168,2 @@ return `Deprecation reason was removed from enum value '${args.enumName}.${args.enumValueName}'`;

}
exports.enumValueDeprecationReasonRemovedFromMeta = enumValueDeprecationReasonRemovedFromMeta;
function enumValueDeprecationReasonRemoved(newEnum, oldValue, _newValue) {

@@ -179,2 +179,1 @@ return enumValueDeprecationReasonRemovedFromMeta({

}
exports.enumValueDeprecationReasonRemoved = enumValueDeprecationReasonRemoved;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fieldArgumentRemoved = exports.fieldArgumentRemovedFromMeta = exports.fieldArgumentAdded = exports.fieldArgumentAddedFromMeta = exports.fieldTypeChanged = exports.fieldTypeChangedFromMeta = exports.fieldDeprecationReasonRemoved = exports.fieldDeprecationReasonRemovedFromMeta = exports.fieldDeprecationReasonAdded = exports.fieldDeprecationReasonAddedFromMeta = exports.fieldDeprecationReasonChanged = exports.fieldDeprecationReasonChangedFromMeta = exports.fieldDeprecationRemoved = exports.fieldDeprecationRemovedFromMeta = exports.fieldDeprecationAdded = exports.fieldDeprecationAddedFromMeta = exports.fieldDescriptionRemoved = exports.fieldDescriptionRemovedFromMeta = exports.fieldDescriptionAdded = exports.fieldDescriptionAddedFromMeta = exports.fieldDescriptionChanged = exports.fieldDescriptionChangedFromMeta = exports.fieldAdded = exports.fieldAddedFromMeta = exports.fieldRemoved = exports.fieldRemovedFromMeta = void 0;
exports.fieldRemovedFromMeta = fieldRemovedFromMeta;
exports.fieldRemoved = fieldRemoved;
exports.fieldAddedFromMeta = fieldAddedFromMeta;
exports.fieldAdded = fieldAdded;
exports.fieldDescriptionChangedFromMeta = fieldDescriptionChangedFromMeta;
exports.fieldDescriptionChanged = fieldDescriptionChanged;
exports.fieldDescriptionAddedFromMeta = fieldDescriptionAddedFromMeta;
exports.fieldDescriptionAdded = fieldDescriptionAdded;
exports.fieldDescriptionRemovedFromMeta = fieldDescriptionRemovedFromMeta;
exports.fieldDescriptionRemoved = fieldDescriptionRemoved;
exports.fieldDeprecationAddedFromMeta = fieldDeprecationAddedFromMeta;
exports.fieldDeprecationAdded = fieldDeprecationAdded;
exports.fieldDeprecationRemovedFromMeta = fieldDeprecationRemovedFromMeta;
exports.fieldDeprecationRemoved = fieldDeprecationRemoved;
exports.fieldDeprecationReasonChangedFromMeta = fieldDeprecationReasonChangedFromMeta;
exports.fieldDeprecationReasonChanged = fieldDeprecationReasonChanged;
exports.fieldDeprecationReasonAddedFromMeta = fieldDeprecationReasonAddedFromMeta;
exports.fieldDeprecationReasonAdded = fieldDeprecationReasonAdded;
exports.fieldDeprecationReasonRemovedFromMeta = fieldDeprecationReasonRemovedFromMeta;
exports.fieldDeprecationReasonRemoved = fieldDeprecationReasonRemoved;
exports.fieldTypeChangedFromMeta = fieldTypeChangedFromMeta;
exports.fieldTypeChanged = fieldTypeChanged;
exports.fieldArgumentAddedFromMeta = fieldArgumentAddedFromMeta;
exports.fieldArgumentAdded = fieldArgumentAdded;
exports.fieldArgumentRemovedFromMeta = fieldArgumentRemovedFromMeta;
exports.fieldArgumentRemoved = fieldArgumentRemoved;
const graphql_1 = require("graphql");

@@ -24,3 +49,2 @@ const graphql_js_1 = require("../../utils/graphql.js");

}
exports.fieldRemovedFromMeta = fieldRemovedFromMeta;
function fieldRemoved(type, field) {

@@ -38,3 +62,2 @@ const entity = (0, graphql_1.isInterfaceType)(type) ? 'interface' : 'object type';

}
exports.fieldRemoved = fieldRemoved;
function buildFieldAddedMessage(args) {

@@ -54,3 +77,2 @@ return `Field '${args.addedFieldName}' was added to ${args.typeType} '${args.typeName}'`;

}
exports.fieldAddedFromMeta = fieldAddedFromMeta;
function fieldAdded(type, field) {

@@ -67,3 +89,2 @@ const entity = (0, graphql_1.isInterfaceType)(type) ? 'interface' : 'object type';

}
exports.fieldAdded = fieldAdded;
function buildFieldDescriptionChangedMessage(args) {

@@ -83,3 +104,2 @@ return `Field '${args.typeName}.${args.fieldName}' description changed from '${args.oldDescription}' to '${args.newDescription}'`;

}
exports.fieldDescriptionChangedFromMeta = fieldDescriptionChangedFromMeta;
function fieldDescriptionChanged(type, oldField, newField) {

@@ -96,3 +116,2 @@ return fieldDescriptionChangedFromMeta({

}
exports.fieldDescriptionChanged = fieldDescriptionChanged;
function buildFieldDescriptionAddedMessage(args) {

@@ -112,3 +131,2 @@ return `Field '${args.typeName}.${args.fieldName}' has description '${args.addedDescription}'`;

}
exports.fieldDescriptionAddedFromMeta = fieldDescriptionAddedFromMeta;
function fieldDescriptionAdded(type, field) {

@@ -124,3 +142,2 @@ return fieldDescriptionAddedFromMeta({

}
exports.fieldDescriptionAdded = fieldDescriptionAdded;
function buildFieldDescriptionRemovedMessage(args) {

@@ -140,3 +157,2 @@ return `Description was removed from field '${args.typeName}.${args.fieldName}'`;

}
exports.fieldDescriptionRemovedFromMeta = fieldDescriptionRemovedFromMeta;
function fieldDescriptionRemoved(type, field) {

@@ -151,3 +167,2 @@ return fieldDescriptionRemovedFromMeta({

}
exports.fieldDescriptionRemoved = fieldDescriptionRemoved;
function buildFieldDeprecatedAddedMessage(args) {

@@ -167,3 +182,2 @@ return `Field '${args.typeName}.${args.fieldName}' is deprecated`;

}
exports.fieldDeprecationAddedFromMeta = fieldDeprecationAddedFromMeta;
function fieldDeprecationAdded(type, field) {

@@ -178,3 +192,2 @@ return fieldDeprecationAddedFromMeta({

}
exports.fieldDeprecationAdded = fieldDeprecationAdded;
function fieldDeprecationRemovedFromMeta(args) {

@@ -191,3 +204,2 @@ return {

}
exports.fieldDeprecationRemovedFromMeta = fieldDeprecationRemovedFromMeta;
function fieldDeprecationRemoved(type, field) {

@@ -202,3 +214,2 @@ return fieldDeprecationRemovedFromMeta({

}
exports.fieldDeprecationRemoved = fieldDeprecationRemoved;
function buildFieldDeprecationReasonChangedMessage(args) {

@@ -218,3 +229,2 @@ return `Deprecation reason on field '${args.typeName}.${args.fieldName}' has changed from '${args.oldDeprecationReason}' to '${args.newDeprecationReason}'`;

}
exports.fieldDeprecationReasonChangedFromMeta = fieldDeprecationReasonChangedFromMeta;
function fieldDeprecationReasonChanged(type, oldField, newField) {

@@ -231,3 +241,2 @@ return fieldDeprecationReasonChangedFromMeta({

}
exports.fieldDeprecationReasonChanged = fieldDeprecationReasonChanged;
function buildFieldDeprecationReasonAddedMessage(args) {

@@ -247,3 +256,2 @@ return `Field '${args.typeName}.${args.fieldName}' has deprecation reason '${args.addedDeprecationReason}'`;

}
exports.fieldDeprecationReasonAddedFromMeta = fieldDeprecationReasonAddedFromMeta;
function fieldDeprecationReasonAdded(type, field) {

@@ -259,3 +267,2 @@ return fieldDeprecationReasonAddedFromMeta({

}
exports.fieldDeprecationReasonAdded = fieldDeprecationReasonAdded;
function fieldDeprecationReasonRemovedFromMeta(args) {

@@ -272,3 +279,2 @@ return {

}
exports.fieldDeprecationReasonRemovedFromMeta = fieldDeprecationReasonRemovedFromMeta;
function fieldDeprecationReasonRemoved(type, field) {

@@ -283,3 +289,2 @@ return fieldDeprecationReasonRemovedFromMeta({

}
exports.fieldDeprecationReasonRemoved = fieldDeprecationReasonRemoved;
function buildFieldTypeChangedMessage(args) {

@@ -301,3 +306,2 @@ return `Field '${args.meta.typeName}.${args.meta.fieldName}' changed type from '${args.meta.oldFieldType}' to '${args.meta.newFieldType}'`;

}
exports.fieldTypeChangedFromMeta = fieldTypeChangedFromMeta;
function fieldTypeChanged(type, oldField, newField) {

@@ -315,3 +319,2 @@ return fieldTypeChangedFromMeta({

}
exports.fieldTypeChanged = fieldTypeChanged;
function buildFieldArgumentAddedMessage(args) {

@@ -333,3 +336,2 @@ return `Argument '${args.addedArgumentName}: ${args.addedArgumentType}'${args.hasDefaultValue ? ' (with default value) ' : ' '}added to field '${args.typeName}.${args.fieldName}'`;

}
exports.fieldArgumentAddedFromMeta = fieldArgumentAddedFromMeta;
function fieldArgumentAdded(type, field, arg) {

@@ -349,3 +351,2 @@ const isBreaking = (0, graphql_1.isNonNullType)(arg.type) && typeof arg.defaultValue === 'undefined';

}
exports.fieldArgumentAdded = fieldArgumentAdded;
function buildFieldArgumentRemovedMessage(args) {

@@ -365,3 +366,2 @@ return `Argument '${args.meta.removedFieldArgumentName}: ${args.meta.removedFieldType}' was removed from field '${args.meta.typeName}.${args.meta.fieldName}'`;

}
exports.fieldArgumentRemovedFromMeta = fieldArgumentRemovedFromMeta;
function fieldArgumentRemoved(type, field, arg) {

@@ -378,2 +378,1 @@ return fieldArgumentRemovedFromMeta({

}
exports.fieldArgumentRemoved = fieldArgumentRemoved;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.inputFieldTypeChanged = exports.inputFieldTypeChangedFromMeta = exports.inputFieldDefaultValueChanged = exports.inputFieldDefaultValueChangedFromMeta = exports.inputFieldDescriptionChanged = exports.inputFieldDescriptionChangedFromMeta = exports.inputFieldDescriptionRemoved = exports.inputFieldDescriptionRemovedFromMeta = exports.inputFieldDescriptionAdded = exports.inputFieldDescriptionAddedFromMeta = exports.inputFieldAdded = exports.inputFieldAddedFromMeta = exports.buildInputFieldAddedMessage = exports.inputFieldRemoved = exports.inputFieldRemovedFromMeta = void 0;
exports.inputFieldRemovedFromMeta = inputFieldRemovedFromMeta;
exports.inputFieldRemoved = inputFieldRemoved;
exports.buildInputFieldAddedMessage = buildInputFieldAddedMessage;
exports.inputFieldAddedFromMeta = inputFieldAddedFromMeta;
exports.inputFieldAdded = inputFieldAdded;
exports.inputFieldDescriptionAddedFromMeta = inputFieldDescriptionAddedFromMeta;
exports.inputFieldDescriptionAdded = inputFieldDescriptionAdded;
exports.inputFieldDescriptionRemovedFromMeta = inputFieldDescriptionRemovedFromMeta;
exports.inputFieldDescriptionRemoved = inputFieldDescriptionRemoved;
exports.inputFieldDescriptionChangedFromMeta = inputFieldDescriptionChangedFromMeta;
exports.inputFieldDescriptionChanged = inputFieldDescriptionChanged;
exports.inputFieldDefaultValueChangedFromMeta = inputFieldDefaultValueChangedFromMeta;
exports.inputFieldDefaultValueChanged = inputFieldDefaultValueChanged;
exports.inputFieldTypeChangedFromMeta = inputFieldTypeChangedFromMeta;
exports.inputFieldTypeChanged = inputFieldTypeChanged;
const graphql_1 = require("graphql");

@@ -24,3 +38,2 @@ const graphql_js_1 = require("../../utils/graphql.js");

}
exports.inputFieldRemovedFromMeta = inputFieldRemovedFromMeta;
function inputFieldRemoved(input, field) {

@@ -36,7 +49,5 @@ return inputFieldRemovedFromMeta({

}
exports.inputFieldRemoved = inputFieldRemoved;
function buildInputFieldAddedMessage(args) {
return `Input field '${args.addedInputFieldName}' of type '${args.addedInputFieldType}' was added to input object type '${args.inputName}'`;
}
exports.buildInputFieldAddedMessage = buildInputFieldAddedMessage;
function inputFieldAddedFromMeta(args) {

@@ -58,3 +69,2 @@ return {

}
exports.inputFieldAddedFromMeta = inputFieldAddedFromMeta;
function inputFieldAdded(input, field) {

@@ -71,3 +81,2 @@ return inputFieldAddedFromMeta({

}
exports.inputFieldAdded = inputFieldAdded;
function buildInputFieldDescriptionAddedMessage(args) {

@@ -87,3 +96,2 @@ return `Input field '${args.inputName}.${args.inputFieldName}' has description '${args.addedInputFieldDescription}'`;

}
exports.inputFieldDescriptionAddedFromMeta = inputFieldDescriptionAddedFromMeta;
function inputFieldDescriptionAdded(type, field) {

@@ -99,3 +107,2 @@ return inputFieldDescriptionAddedFromMeta({

}
exports.inputFieldDescriptionAdded = inputFieldDescriptionAdded;
function buildInputFieldDescriptionRemovedMessage(args) {

@@ -115,3 +122,2 @@ return `Description '${args.removedDescription}' was removed from input field '${args.inputName}.${args.inputFieldName}'`;

}
exports.inputFieldDescriptionRemovedFromMeta = inputFieldDescriptionRemovedFromMeta;
function inputFieldDescriptionRemoved(type, field) {

@@ -127,3 +133,2 @@ return inputFieldDescriptionRemovedFromMeta({

}
exports.inputFieldDescriptionRemoved = inputFieldDescriptionRemoved;
function buildInputFieldDescriptionChangedMessage(args) {

@@ -143,3 +148,2 @@ return `Input field '${args.inputName}.${args.inputFieldName}' description changed from '${args.oldInputFieldDescription}' to '${args.newInputFieldDescription}'`;

}
exports.inputFieldDescriptionChangedFromMeta = inputFieldDescriptionChangedFromMeta;
function inputFieldDescriptionChanged(input, oldField, newField) {

@@ -156,3 +160,2 @@ return inputFieldDescriptionChangedFromMeta({

}
exports.inputFieldDescriptionChanged = inputFieldDescriptionChanged;
function buildInputFieldDefaultValueChangedMessage(args) {

@@ -173,3 +176,2 @@ return `Input field '${args.inputName}.${args.inputFieldName}' default value changed from '${args.oldDefaultValue}' to '${args.newDefaultValue}'`;

}
exports.inputFieldDefaultValueChangedFromMeta = inputFieldDefaultValueChangedFromMeta;
function inputFieldDefaultValueChanged(input, oldField, newField) {

@@ -191,3 +193,2 @@ const meta = {

}
exports.inputFieldDefaultValueChanged = inputFieldDefaultValueChanged;
function buildInputFieldTypeChangedMessage(args) {

@@ -213,3 +214,2 @@ return `Input field '${args.inputName}.${args.inputFieldName}' changed type from '${args.oldInputFieldType}' to '${args.newInputFieldType}'`;

}
exports.inputFieldTypeChangedFromMeta = inputFieldTypeChangedFromMeta;
function inputFieldTypeChanged(input, oldField, newField) {

@@ -227,2 +227,1 @@ return inputFieldTypeChangedFromMeta({

}
exports.inputFieldTypeChanged = inputFieldTypeChanged;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.objectTypeInterfaceRemoved = exports.objectTypeInterfaceRemovedFromMeta = exports.objectTypeInterfaceAdded = exports.objectTypeInterfaceAddedFromMeta = void 0;
exports.objectTypeInterfaceAddedFromMeta = objectTypeInterfaceAddedFromMeta;
exports.objectTypeInterfaceAdded = objectTypeInterfaceAdded;
exports.objectTypeInterfaceRemovedFromMeta = objectTypeInterfaceRemovedFromMeta;
exports.objectTypeInterfaceRemoved = objectTypeInterfaceRemoved;
const change_js_1 = require("./change.js");

@@ -20,3 +23,2 @@ function buildObjectTypeInterfaceAddedMessage(args) {

}
exports.objectTypeInterfaceAddedFromMeta = objectTypeInterfaceAddedFromMeta;
function objectTypeInterfaceAdded(iface, type) {

@@ -31,3 +33,2 @@ return objectTypeInterfaceAddedFromMeta({

}
exports.objectTypeInterfaceAdded = objectTypeInterfaceAdded;
function buildObjectTypeInterfaceRemovedMessage(args) {

@@ -48,3 +49,2 @@ return `'${args.objectTypeName}' object type no longer implements '${args.removedInterfaceName}' interface`;

}
exports.objectTypeInterfaceRemovedFromMeta = objectTypeInterfaceRemovedFromMeta;
function objectTypeInterfaceRemoved(iface, type) {

@@ -59,2 +59,1 @@ return objectTypeInterfaceRemovedFromMeta({

}
exports.objectTypeInterfaceRemoved = objectTypeInterfaceRemoved;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.schemaSubscriptionTypeChanged = exports.schemaSubscriptionTypeChangedFromMeta = exports.schemaMutationTypeChanged = exports.schemaMutationTypeChangedFromMeta = exports.schemaQueryTypeChanged = exports.schemaQueryTypeChangedFromMeta = void 0;
exports.schemaQueryTypeChangedFromMeta = schemaQueryTypeChangedFromMeta;
exports.schemaQueryTypeChanged = schemaQueryTypeChanged;
exports.schemaMutationTypeChangedFromMeta = schemaMutationTypeChangedFromMeta;
exports.schemaMutationTypeChanged = schemaMutationTypeChanged;
exports.schemaSubscriptionTypeChangedFromMeta = schemaSubscriptionTypeChangedFromMeta;
exports.schemaSubscriptionTypeChanged = schemaSubscriptionTypeChanged;
const change_js_1 = require("./change.js");

@@ -18,3 +23,2 @@ function buildSchemaQueryTypeChangedMessage(args) {

}
exports.schemaQueryTypeChangedFromMeta = schemaQueryTypeChangedFromMeta;
function schemaQueryTypeChanged(oldSchema, newSchema) {

@@ -31,3 +35,2 @@ const oldName = (oldSchema.getQueryType() || {}).name || 'unknown';

}
exports.schemaQueryTypeChanged = schemaQueryTypeChanged;
function buildSchemaMutationTypeChangedMessage(args) {

@@ -46,3 +49,2 @@ return `Schema mutation root has changed from '${args.oldMutationTypeName}' to '${args.newMutationTypeName}'`;

}
exports.schemaMutationTypeChangedFromMeta = schemaMutationTypeChangedFromMeta;
function schemaMutationTypeChanged(oldSchema, newSchema) {

@@ -59,3 +61,2 @@ const oldName = (oldSchema.getMutationType() || {}).name || 'unknown';

}
exports.schemaMutationTypeChanged = schemaMutationTypeChanged;
function buildSchemaSubscriptionTypeChangedMessage(args) {

@@ -74,3 +75,2 @@ return `Schema subscription root has changed from '${args.oldSubscriptionTypeName}' to '${args.newSubscriptionTypeName}'`;

}
exports.schemaSubscriptionTypeChangedFromMeta = schemaSubscriptionTypeChangedFromMeta;
function schemaSubscriptionTypeChanged(oldSchema, newSchema) {

@@ -87,2 +87,1 @@ const oldName = (oldSchema.getSubscriptionType() || {}).name || 'unknown';

}
exports.schemaSubscriptionTypeChanged = schemaSubscriptionTypeChanged;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.typeDescriptionAdded = exports.typeDescriptionAddedFromMeta = exports.typeDescriptionRemoved = exports.typeDescriptionRemovedFromMeta = exports.typeDescriptionChanged = exports.typeDescriptionChangedFromMeta = exports.typeKindChanged = exports.typeKindChangedFromMeta = exports.typeAdded = exports.typeAddedFromMeta = exports.typeRemoved = exports.typeRemovedFromMeta = void 0;
exports.typeRemovedFromMeta = typeRemovedFromMeta;
exports.typeRemoved = typeRemoved;
exports.typeAddedFromMeta = typeAddedFromMeta;
exports.typeAdded = typeAdded;
exports.typeKindChangedFromMeta = typeKindChangedFromMeta;
exports.typeKindChanged = typeKindChanged;
exports.typeDescriptionChangedFromMeta = typeDescriptionChangedFromMeta;
exports.typeDescriptionChanged = typeDescriptionChanged;
exports.typeDescriptionRemovedFromMeta = typeDescriptionRemovedFromMeta;
exports.typeDescriptionRemoved = typeDescriptionRemoved;
exports.typeDescriptionAddedFromMeta = typeDescriptionAddedFromMeta;
exports.typeDescriptionAdded = typeDescriptionAdded;
const graphql_js_1 = require("../../utils/graphql.js");

@@ -20,3 +31,2 @@ const change_js_1 = require("./change.js");

}
exports.typeRemovedFromMeta = typeRemovedFromMeta;
function typeRemoved(type) {

@@ -30,3 +40,2 @@ return typeRemovedFromMeta({

}
exports.typeRemoved = typeRemoved;
function buildTypeAddedMessage(type) {

@@ -46,3 +55,2 @@ return `Type '${type.addedTypeName}' was added`;

}
exports.typeAddedFromMeta = typeAddedFromMeta;
function typeAdded(type) {

@@ -56,3 +64,2 @@ return typeAddedFromMeta({

}
exports.typeAdded = typeAdded;
function buildTypeKindChangedMessage(args) {

@@ -73,3 +80,2 @@ return `'${args.meta.typeName}' kind changed from '${args.meta.oldTypeKind}' to '${args.meta.newTypeKind}'`;

}
exports.typeKindChangedFromMeta = typeKindChangedFromMeta;
function typeKindChanged(oldType, newType) {

@@ -85,3 +91,2 @@ return typeKindChangedFromMeta({

}
exports.typeKindChanged = typeKindChanged;
function buildTypeDescriptionChangedMessage(args) {

@@ -101,3 +106,2 @@ return `Description '${args.oldTypeDescription}' on type '${args.typeName}' has changed to '${args.newTypeDescription}'`;

}
exports.typeDescriptionChangedFromMeta = typeDescriptionChangedFromMeta;
function typeDescriptionChanged(oldType, newType) {

@@ -113,3 +117,2 @@ return typeDescriptionChangedFromMeta({

}
exports.typeDescriptionChanged = typeDescriptionChanged;
function buildTypeDescriptionRemoved(args) {

@@ -129,3 +132,2 @@ return `Description '${args.removedTypeDescription}' was removed from object type '${args.typeName}'`;

}
exports.typeDescriptionRemovedFromMeta = typeDescriptionRemovedFromMeta;
function typeDescriptionRemoved(type) {

@@ -140,3 +142,2 @@ return typeDescriptionRemovedFromMeta({

}
exports.typeDescriptionRemoved = typeDescriptionRemoved;
function buildTypeDescriptionAddedMessage(args) {

@@ -156,3 +157,2 @@ return `Object type '${args.typeName}' has description '${args.addedTypeDescription}'`;

}
exports.typeDescriptionAddedFromMeta = typeDescriptionAddedFromMeta;
function typeDescriptionAdded(type) {

@@ -167,2 +167,1 @@ return typeDescriptionAddedFromMeta({

}
exports.typeDescriptionAdded = typeDescriptionAdded;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.unionMemberAdded = exports.buildUnionMemberAddedMessageFromMeta = exports.unionMemberRemoved = exports.unionMemberRemovedFromMeta = void 0;
exports.unionMemberRemovedFromMeta = unionMemberRemovedFromMeta;
exports.unionMemberRemoved = unionMemberRemoved;
exports.buildUnionMemberAddedMessageFromMeta = buildUnionMemberAddedMessageFromMeta;
exports.unionMemberAdded = unionMemberAdded;
const change_js_1 = require("./change.js");

@@ -20,3 +23,2 @@ function buildUnionMemberRemovedMessage(args) {

}
exports.unionMemberRemovedFromMeta = unionMemberRemovedFromMeta;
function unionMemberRemoved(union, type) {

@@ -31,3 +33,2 @@ return unionMemberRemovedFromMeta({

}
exports.unionMemberRemoved = unionMemberRemoved;
function buildUnionMemberAddedMessage(args) {

@@ -48,3 +49,2 @@ return `Member '${args.addedUnionMemberTypeName}' was added to Union type '${args.unionName}'`;

}
exports.buildUnionMemberAddedMessageFromMeta = buildUnionMemberAddedMessageFromMeta;
function unionMemberAdded(union, type) {

@@ -59,2 +59,1 @@ return buildUnionMemberAddedMessageFromMeta({

}
exports.unionMemberAdded = unionMemberAdded;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.changesInDirective = void 0;
exports.changesInDirective = changesInDirective;
const compare_js_1 = require("../utils/compare.js");

@@ -32,3 +32,2 @@ const directive_js_1 = require("./changes/directive.js");

}
exports.changesInDirective = changesInDirective;
function changesInDirectiveArgument(directive, oldArg, newArg, addChange) {

@@ -35,0 +34,0 @@ if ((0, compare_js_1.isNotEqual)(oldArg.description, newArg.description)) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.changesInEnum = void 0;
exports.changesInEnum = changesInEnum;
const graphql_1 = require("graphql");

@@ -58,2 +58,1 @@ const compare_js_1 = require("../utils/compare.js");

}
exports.changesInEnum = changesInEnum;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.changesInField = void 0;
exports.changesInField = changesInField;
const graphql_1 = require("graphql");

@@ -70,2 +70,1 @@ const compare_js_1 = require("../utils/compare.js");

}
exports.changesInField = changesInField;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.diff = exports.DiffRule = void 0;
exports.DiffRule = void 0;
exports.diff = diff;
const tslib_1 = require("tslib");

@@ -22,2 +23,1 @@ const rules = tslib_1.__importStar(require("./rules/index.js"));

}
exports.diff = diff;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.changesInInputObject = void 0;
exports.changesInInputObject = changesInInputObject;
const graphql_1 = require("graphql");

@@ -31,3 +31,2 @@ const compare_js_1 = require("../utils/compare.js");

}
exports.changesInInputObject = changesInInputObject;
function changesInInputField(input, oldField, newField, addChange) {

@@ -34,0 +33,0 @@ if ((0, compare_js_1.isNotEqual)(oldField.description, newField.description)) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.changesInInterface = void 0;
exports.changesInInterface = changesInInterface;
const graphql_1 = require("graphql");

@@ -30,2 +30,1 @@ const compare_js_1 = require("../utils/compare.js");

}
exports.changesInInterface = changesInInterface;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.changesInObject = void 0;
exports.changesInObject = changesInObject;
const graphql_1 = require("graphql");

@@ -43,2 +43,1 @@ const compare_js_1 = require("../utils/compare.js");

}
exports.changesInObject = changesInObject;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.changesInScalar = void 0;
exports.changesInScalar = changesInScalar;
const graphql_1 = require("graphql");

@@ -17,2 +17,1 @@ const compare_js_1 = require("../utils/compare.js");

}
exports.changesInScalar = changesInScalar;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.diffSchema = void 0;
exports.diffSchema = diffSchema;
const graphql_1 = require("graphql");

@@ -56,3 +56,2 @@ const compare_js_1 = require("../utils/compare.js");

}
exports.diffSchema = diffSchema;
function changesInSchema(oldSchema, newSchema, addChange) {

@@ -59,0 +58,0 @@ const defaultNames = {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.changesInUnion = void 0;
exports.changesInUnion = changesInUnion;
const graphql_1 = require("graphql");

@@ -28,2 +28,1 @@ const compare_js_1 = require("../utils/compare.js");

}
exports.changesInUnion = changesInUnion;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.similar = void 0;
exports.similar = similar;
const graphql_1 = require("graphql");

@@ -32,3 +32,2 @@ const graphql_js_1 = require("../utils/graphql.js");

}
exports.similar = similar;
function similarTo(type, targets, threshold) {

@@ -35,0 +34,0 @@ const types = targets.filter(target => target.typeId !== type.name);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transformSchemaWithApollo = exports.transformDocumentWithApollo = void 0;
exports.transformDocumentWithApollo = transformDocumentWithApollo;
exports.transformSchemaWithApollo = transformSchemaWithApollo;
const graphql_1 = require("graphql");

@@ -15,3 +16,2 @@ const graphql_js_1 = require("./graphql.js");

}
exports.transformDocumentWithApollo = transformDocumentWithApollo;
function transformSchemaWithApollo(schema) {

@@ -22,2 +22,1 @@ return (0, graphql_1.extendSchema)(schema, (0, graphql_1.parse)(/* GraphQL */ `

}
exports.transformSchemaWithApollo = transformSchemaWithApollo;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.compareLists = exports.diffArrays = exports.isVoid = exports.isNotEqual = exports.isEqual = exports.keyMap = void 0;
exports.keyMap = keyMap;
exports.isEqual = isEqual;
exports.isNotEqual = isNotEqual;
exports.isVoid = isVoid;
exports.diffArrays = diffArrays;
exports.compareLists = compareLists;
function keyMap(list, keyFn) {

@@ -10,3 +15,2 @@ return list.reduce((map, item) => {

}
exports.keyMap = keyMap;
function isEqual(a, b) {

@@ -39,15 +43,11 @@ if (Array.isArray(a) && Array.isArray(b)) {

}
exports.isEqual = isEqual;
function isNotEqual(a, b) {
return !isEqual(a, b);
}
exports.isNotEqual = isNotEqual;
function isVoid(a) {
return typeof a === 'undefined' || a === null;
}
exports.isVoid = isVoid;
function diffArrays(a, b) {
return a.filter(c => !b.some(d => isEqual(d, c)));
}
exports.diffArrays = diffArrays;
function extractName(name) {

@@ -105,2 +105,1 @@ if (typeof name === 'string') {

}
exports.compareLists = compareLists;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getReachableTypes = exports.removeDirectives = exports.removeFieldIfDirectives = exports.findDeprecatedUsages = exports.isForIntrospection = exports.isPrimitive = exports.getTypePrefix = exports.getKind = exports.safeChangeForInputValue = exports.safeChangeForField = void 0;
exports.safeChangeForField = safeChangeForField;
exports.safeChangeForInputValue = safeChangeForInputValue;
exports.getKind = getKind;
exports.getTypePrefix = getTypePrefix;
exports.isPrimitive = isPrimitive;
exports.isForIntrospection = isForIntrospection;
exports.findDeprecatedUsages = findDeprecatedUsages;
exports.removeFieldIfDirectives = removeFieldIfDirectives;
exports.removeDirectives = removeDirectives;
exports.getReachableTypes = getReachableTypes;
const graphql_1 = require("graphql");

@@ -20,3 +29,2 @@ const is_deprecated_js_1 = require("./is-deprecated.js");

}
exports.safeChangeForField = safeChangeForField;
function safeChangeForInputValue(oldType, newType) {

@@ -35,3 +43,2 @@ if (!(0, graphql_1.isWrappingType)(oldType) && !(0, graphql_1.isWrappingType)(newType)) {

}
exports.safeChangeForInputValue = safeChangeForInputValue;
function getKind(type) {

@@ -41,3 +48,2 @@ const node = type.astNode;

}
exports.getKind = getKind;
function getTypePrefix(type) {

@@ -55,7 +61,5 @@ const kind = getKind(type);

}
exports.getTypePrefix = getTypePrefix;
function isPrimitive(type) {
return ['String', 'Int', 'Float', 'Boolean', 'ID'].includes(typeof type === 'string' ? type : type.name);
}
exports.isPrimitive = isPrimitive;
function isForIntrospection(type) {

@@ -73,3 +77,2 @@ return [

}
exports.isForIntrospection = isForIntrospection;
function findDeprecatedUsages(schema, ast) {

@@ -114,3 +117,2 @@ const errors = [];

}
exports.findDeprecatedUsages = findDeprecatedUsages;
function removeFieldIfDirectives(node, directiveNames) {

@@ -122,3 +124,2 @@ if (node.directives?.some(d => directiveNames.includes(d.name.value))) {

}
exports.removeFieldIfDirectives = removeFieldIfDirectives;
function removeDirectives(node, directiveNames) {

@@ -133,3 +134,2 @@ if (node.directives) {

}
exports.removeDirectives = removeDirectives;
function getReachableTypes(schema) {

@@ -192,3 +192,2 @@ const reachableTypes = new Set();

}
exports.getReachableTypes = getReachableTypes;
function resolveOutputType(output) {

@@ -195,0 +194,0 @@ if ((0, graphql_1.isListType)(output) || (0, graphql_1.isNonNullType)(output)) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isDeprecated = void 0;
exports.isDeprecated = isDeprecated;
function isDeprecated(fieldOrEnumValue) {

@@ -16,2 +16,1 @@ if ('isDeprecated' in fieldOrEnumValue) {

}
exports.isDeprecated = isDeprecated;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parsePath = void 0;
exports.parsePath = parsePath;
function parsePath(path) {
return path.split('.');
}
exports.parsePath = parsePath;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.safeString = exports.findBestMatch = void 0;
exports.findBestMatch = findBestMatch;
exports.safeString = safeString;
const tslib_1 = require("tslib");

@@ -40,3 +41,2 @@ const object_inspect_1 = tslib_1.__importDefault(require("object-inspect"));

}
exports.findBestMatch = findBestMatch;
function flattenDeep(arr) {

@@ -74,2 +74,1 @@ return Array.isArray(arr) ? arr.reduce((a, b) => a.concat(flattenDeep(b)), []) : [arr];

}
exports.safeString = safeString;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.countAliases = exports.validateAliasCount = void 0;
exports.validateAliasCount = validateAliasCount;
exports.countAliases = countAliases;
const graphql_1 = require("graphql");

@@ -17,3 +18,2 @@ function validateAliasCount({ source, doc, maxAliasCount, fragmentGraph, }) {

}
exports.validateAliasCount = validateAliasCount;
function countAliases(node, getFragmentByName) {

@@ -37,2 +37,1 @@ let aliases = 0;

}
exports.countAliases = countAliases;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.calculateOperationComplexity = exports.validateComplexity = void 0;
exports.validateComplexity = validateComplexity;
exports.calculateOperationComplexity = calculateOperationComplexity;
const graphql_1 = require("graphql");

@@ -17,3 +18,2 @@ function validateComplexity({ source, doc, maxComplexityScore, config, fragmentGraph, }) {

}
exports.validateComplexity = validateComplexity;
function calculateOperationComplexity(node, config, getFragmentByName, depth = 0) {

@@ -39,2 +39,1 @@ let cost = config.scalarCost;

}
exports.calculateOperationComplexity = calculateOperationComplexity;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.countDirectives = exports.validateDirectiveCount = void 0;
exports.validateDirectiveCount = validateDirectiveCount;
exports.countDirectives = countDirectives;
const graphql_1 = require("graphql");

@@ -17,3 +18,2 @@ function validateDirectiveCount({ source, doc, maxDirectiveCount, fragmentGraph, }) {

}
exports.validateDirectiveCount = validateDirectiveCount;
function countDirectives(node, getFragmentByName) {

@@ -37,2 +37,1 @@ let directives = 0;

}
exports.countDirectives = countDirectives;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.validate = void 0;
exports.validate = validate;
const dependency_graph_1 = require("dependency-graph");

@@ -145,3 +145,2 @@ const graphql_1 = require("graphql");

}
exports.validate = validate;
function findDuplicatedFragments(fragmentNames) {

@@ -148,0 +147,0 @@ return fragmentNames

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.countDepth = exports.calculateDepth = exports.validateQueryDepth = void 0;
exports.validateQueryDepth = validateQueryDepth;
exports.calculateDepth = calculateDepth;
exports.countDepth = countDepth;
const graphql_1 = require("graphql");

@@ -24,3 +26,2 @@ function validateQueryDepth({ source, doc, maxDepth, fragmentGraph, }) {

}
exports.validateQueryDepth = validateQueryDepth;
function calculateDepth({ node, currentDepth, maxDepth, getFragment, }) {

@@ -87,3 +88,2 @@ if (maxDepth && currentDepth > maxDepth) {

}
exports.calculateDepth = calculateDepth;
function countDepth(node, parentDepth, getFragmentReference) {

@@ -104,2 +104,1 @@ let depth = parentDepth;

}
exports.countDepth = countDepth;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateTokenCount = exports.calculateTokenCount = void 0;
exports.calculateTokenCount = calculateTokenCount;
exports.validateTokenCount = validateTokenCount;
const graphql_1 = require("graphql");

@@ -47,3 +48,2 @@ const parser_js_1 = require("graphql/language/parser.js");

}
exports.calculateTokenCount = calculateTokenCount;
function validateTokenCount(args) {

@@ -55,2 +55,1 @@ const tokenCount = calculateTokenCount(args);

}
exports.validateTokenCount = validateTokenCount;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.findFirstChangeByPath = exports.findChangesByPath = void 0;
exports.findChangesByPath = findChangesByPath;
exports.findFirstChangeByPath = findFirstChangeByPath;
function findChangesByPath(changes, path) {
return changes.filter(c => c.path === path);
}
exports.findChangesByPath = findChangesByPath;
function findFirstChangeByPath(changes, path) {
return findChangesByPath(changes, path)[0];
}
exports.findFirstChangeByPath = findFirstChangeByPath;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useLoaders = exports.LoadersRegistry = void 0;
exports.LoadersRegistry = void 0;
exports.useLoaders = useLoaders;
const graphql_1 = require("graphql");

@@ -91,3 +92,2 @@ const load_1 = require("@graphql-tools/load");

}
exports.useLoaders = useLoaders;
function loadModule(name) {

@@ -94,0 +94,0 @@ const mod = require(name);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.unmockLogger = exports.mockLogger = exports.Logger = exports.bolderize = exports.chalk = exports.symbols = exports.figures = void 0;
exports.Logger = exports.chalk = exports.symbols = exports.figures = void 0;
exports.bolderize = bolderize;
exports.mockLogger = mockLogger;
exports.unmockLogger = unmockLogger;
const tslib_1 = require("tslib");

@@ -21,3 +24,2 @@ const node_console_1 = require("node:console");

}
exports.bolderize = bolderize;
let mockedFn = null;

@@ -48,7 +50,5 @@ const canBeFancy = env.hasTTY === true;

}
exports.mockLogger = mockLogger;
function unmockLogger() {
mockedFn = null;
}
exports.unmockLogger = unmockLogger;
function emit(type, msg) {

@@ -55,0 +55,0 @@ if (mockedFn) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mockGraphQLServer = void 0;
exports.mockGraphQLServer = mockGraphQLServer;
const tslib_1 = require("tslib");

@@ -46,2 +46,1 @@ const graphql_1 = require("graphql");

}
exports.mockGraphQLServer = mockGraphQLServer;
{
"name": "@graphql-inspector/ci",
"version": "5.0.6",
"version": "5.1.0-alpha-20241111105259-3b8caff79d686adf447c18b1c8312efca82ffe3e",
"description": "Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.",

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

"yargs": "17.7.2",
"@graphql-inspector/commands": "5.0.4",
"@graphql-inspector/config": "4.0.2",
"@graphql-inspector/loaders": "4.0.5",
"@graphql-inspector/commands": "6.0.0-alpha-20241111105259-3b8caff79d686adf447c18b1c8312efca82ffe3e",
"@graphql-inspector/config": "4.1.0-alpha-20241111105259-3b8caff79d686adf447c18b1c8312efca82ffe3e",
"@graphql-inspector/loaders": "5.0.0-alpha-20241111105259-3b8caff79d686adf447c18b1c8312efca82ffe3e",
"@graphql-inspector/logger": "5.0.1"

@@ -17,0 +17,0 @@ },

@@ -14,5 +14,5 @@ import { GraphQLSchema } from 'graphql';

documents: string;
write?: string | undefined;
silent?: boolean | undefined;
write?: string;
silent?: boolean;
} & GlobalArgs>;
export default _default;

@@ -14,6 +14,6 @@ import { GraphQLSchema } from 'graphql';

newSchema: string;
rule?: (string | number)[] | undefined;
onComplete?: string | undefined;
onUsage?: string | undefined;
rule?: Array<string | number>;
onComplete?: string;
onUsage?: string;
} & GlobalArgs>;
export default _default;

@@ -11,5 +11,5 @@ import { GraphQLSchema } from 'graphql';

schema: string;
write?: string | undefined;
comments?: boolean | undefined;
write?: string;
comments?: boolean;
} & GlobalArgs>;
export default _default;

@@ -12,6 +12,6 @@ import { GraphQLSchema } from 'graphql';

schema: string;
name?: string | undefined;
threshold?: number | undefined;
write?: string | undefined;
name?: string;
threshold?: number;
write?: string;
} & GlobalArgs>;
export default _default;

@@ -31,13 +31,13 @@ import { GraphQLSchema } from 'graphql';

keepClientFields: boolean;
maxDepth?: number | undefined;
maxAliasCount?: number | undefined;
maxDirectiveCount?: number | undefined;
maxTokenCount?: number | undefined;
filter?: string[] | undefined;
onlyErrors?: boolean | undefined;
relativePaths?: boolean | undefined;
output?: string | undefined;
silent?: boolean | undefined;
ignore?: string[] | undefined;
maxComplexityScore?: number | undefined;
maxDepth?: number;
maxAliasCount?: number;
maxDirectiveCount?: number;
maxTokenCount?: number;
filter?: string[];
onlyErrors?: boolean;
relativePaths?: boolean;
output?: string;
silent?: boolean;
ignore?: string[];
maxComplexityScore?: number;
complexityScalarCost: number;

@@ -44,0 +44,0 @@ complexityObjectCost: number;

@@ -30,4 +30,4 @@ import { GraphQLArgument, GraphQLField, GraphQLInterfaceType, GraphQLObjectType } from 'graphql';

argumentName: string;
oldDefaultValue?: string | undefined;
newDefaultValue?: string | undefined;
oldDefaultValue?: string;
newDefaultValue?: string;
};

@@ -34,0 +34,0 @@ readonly path: string;

@@ -124,4 +124,4 @@ import { DirectiveLocationEnum, GraphQLArgument, GraphQLDirective } from 'graphql';

directiveArgumentName: string;
oldDirectiveArgumentDefaultValue?: string | undefined;
newDirectiveArgumentDefaultValue?: string | undefined;
oldDirectiveArgumentDefaultValue?: string;
newDirectiveArgumentDefaultValue?: string;
};

@@ -128,0 +128,0 @@ };

@@ -91,4 +91,4 @@ import { GraphQLInputField, GraphQLInputObjectType } from 'graphql';

inputFieldName: string;
oldDefaultValue?: string | undefined;
newDefaultValue?: string | undefined;
oldDefaultValue?: string;
newDefaultValue?: string;
};

@@ -95,0 +95,0 @@ readonly path: string;

@@ -1,2 +0,1 @@

/// <reference types="node_modules/.pnpm/dependency-graph@1.0.0/node_modules/dependency-graph/lib" />
import { DepGraph } from 'dependency-graph';

@@ -3,0 +2,0 @@ import type { DocumentNode, FieldNode, FragmentDefinitionNode, FragmentSpreadNode, InlineFragmentNode, OperationDefinitionNode, Source } from 'graphql';

@@ -1,2 +0,1 @@

/// <reference types="node_modules/.pnpm/dependency-graph@1.0.0/node_modules/dependency-graph/lib" />
import { DepGraph } from 'dependency-graph';

@@ -3,0 +2,0 @@ import type { DocumentNode, FieldNode, FragmentDefinitionNode, FragmentSpreadNode, InlineFragmentNode, OperationDefinitionNode, Source } from 'graphql';

@@ -1,2 +0,1 @@

/// <reference types="node_modules/.pnpm/dependency-graph@1.0.0/node_modules/dependency-graph/lib" />
import { DepGraph } from 'dependency-graph';

@@ -3,0 +2,0 @@ import type { DocumentNode, FieldNode, FragmentDefinitionNode, FragmentSpreadNode, InlineFragmentNode, OperationDefinitionNode, Source } from 'graphql';

@@ -1,2 +0,1 @@

/// <reference types="node_modules/.pnpm/dependency-graph@1.0.0/node_modules/dependency-graph/lib" />
import { DepGraph } from 'dependency-graph';

@@ -3,0 +2,0 @@ import { ASTNode, DocumentNode, FieldNode, FragmentDefinitionNode, FragmentSpreadNode, GraphQLError, InlineFragmentNode, OperationDefinitionNode, Source } from 'graphql';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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