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

@graphql-inspector/ci

Package Overview
Dependencies
Maintainers
1
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 0.0.0-canary.57e2caa to 0.0.0-canary.58ffd99

31

index.cjs.js

@@ -46,23 +46,18 @@ 'use strict';

.fail((msg, error) => {
if (msg) {
if (msg.includes('Unknown argument:')) {
const commandName = msg
.replace('Unknown argument: ', '')
.toLowerCase();
logger.Logger.error(`Command '${commandName}' not found`);
if (config.availableCommands.includes(commandName)) {
logger.Logger.log(` Try to install @graphql-inspector/${commandName}-command`);
}
if (msg.includes('Unknown argument:')) {
const commandName = msg.replace('Unknown argument: ', '').toLowerCase();
logger.Logger.error(`Command '${commandName}' not found`);
if (config.availableCommands.includes(commandName)) {
logger.Logger.log(` Try to install @graphql-inspector/${commandName}-command`);
}
else if (msg.includes('Not enough')) {
logger.Logger.error(msg);
logger.Logger.info('Specify --help for available options');
}
else {
logger.Logger.error(msg);
}
}
else if (msg.includes('Not enough')) {
logger.Logger.error(msg);
logger.Logger.info('Specify --help for available options');
}
else {
logger.Logger.error(msg);
}
if (error) {
logger.Logger.error(error.message);
console.error(error);
throw error;
}

@@ -69,0 +64,0 @@ process.exit(1);

@@ -42,23 +42,18 @@ import { __awaiter } from 'tslib';

.fail((msg, error) => {
if (msg) {
if (msg.includes('Unknown argument:')) {
const commandName = msg
.replace('Unknown argument: ', '')
.toLowerCase();
Logger.error(`Command '${commandName}' not found`);
if (availableCommands.includes(commandName)) {
Logger.log(` Try to install @graphql-inspector/${commandName}-command`);
}
if (msg.includes('Unknown argument:')) {
const commandName = msg.replace('Unknown argument: ', '').toLowerCase();
Logger.error(`Command '${commandName}' not found`);
if (availableCommands.includes(commandName)) {
Logger.log(` Try to install @graphql-inspector/${commandName}-command`);
}
else if (msg.includes('Not enough')) {
Logger.error(msg);
Logger.info('Specify --help for available options');
}
else {
Logger.error(msg);
}
}
else if (msg.includes('Not enough')) {
Logger.error(msg);
Logger.info('Specify --help for available options');
}
else {
Logger.error(msg);
}
if (error) {
Logger.error(error.message);
console.error(error);
throw error;
}

@@ -65,0 +60,0 @@ process.exit(1);

@@ -47,23 +47,18 @@ #!/usr/bin/env node

.fail((msg, error) => {
if (msg) {
if (msg.includes('Unknown argument:')) {
const commandName = msg
.replace('Unknown argument: ', '')
.toLowerCase();
logger.Logger.error(`Command '${commandName}' not found`);
if (config.availableCommands.includes(commandName)) {
logger.Logger.log(` Try to install @graphql-inspector/${commandName}-command`);
}
if (msg.includes('Unknown argument:')) {
const commandName = msg.replace('Unknown argument: ', '').toLowerCase();
logger.Logger.error(`Command '${commandName}' not found`);
if (config.availableCommands.includes(commandName)) {
logger.Logger.log(` Try to install @graphql-inspector/${commandName}-command`);
}
else if (msg.includes('Not enough')) {
logger.Logger.error(msg);
logger.Logger.info('Specify --help for available options');
}
else {
logger.Logger.error(msg);
}
}
else if (msg.includes('Not enough')) {
logger.Logger.error(msg);
logger.Logger.info('Specify --help for available options');
}
else {
logger.Logger.error(msg);
}
if (error) {
logger.Logger.error(error.message);
console.error(error);
throw error;
}

@@ -70,0 +65,0 @@ process.exit(1);

{
"name": "@graphql-inspector/ci",
"version": "0.0.0-canary.57e2caa",
"version": "0.0.0-canary.58ffd99",
"description": "Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.",
"sideEffects": false,
"peerDependencies": {

@@ -9,7 +10,7 @@ "graphql": "^14.0.0 || ^15.0.0"

"dependencies": {
"@graphql-inspector/commands": "0.0.0-canary.57e2caa",
"@graphql-inspector/config": "0.0.0-canary.57e2caa",
"@graphql-inspector/loaders": "0.0.0-canary.57e2caa",
"@graphql-inspector/logger": "0.0.0-canary.57e2caa",
"tslib": "^1.11.1",
"@graphql-inspector/commands": "0.0.0-canary.58ffd99",
"@graphql-inspector/config": "0.0.0-canary.58ffd99",
"@graphql-inspector/loaders": "0.0.0-canary.58ffd99",
"@graphql-inspector/logger": "0.0.0-canary.58ffd99",
"tslib": "^2.0.0",
"yargs": "15.3.1"

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

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