New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.8127707 to 0.0.0-canary.3c127cf

110

index.cjs.js

@@ -13,58 +13,60 @@ 'use strict';

function main() {
return tslib.__awaiter(this, void 0, void 0, function* () {
const config$1 = yield config.useConfig();
const loaders$1 = loaders.useLoaders(config$1);
const commands$1 = commands.useCommands({ config: config$1, loaders: loaders$1 });
const root = yargs
.scriptName('graphql-inspector')
.detectLocale(false)
.epilog('Visit https://graphql-inspector.com for more information')
.version()
.options({
r: {
alias: 'require',
describe: 'Require modules',
type: 'array',
},
t: {
alias: 'token',
describe: 'Access Token',
type: 'string',
},
h: {
alias: 'header',
describe: 'Http Header',
type: 'array',
},
});
commands$1
.reduce((cli, cmd) => cli.command(cmd), root)
.demandCommand()
.recommendCommands()
.help()
.showHelpOnFail(false)
.fail((msg, error) => {
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);
}
if (error) {
throw error;
}
process.exit(1);
})
.strict(true).argv;
});
return tslib.__awaiter(this, void 0, void 0, function* () {
const config$1 = yield config.useConfig();
const loaders$1 = loaders.useLoaders(config$1);
const commands$1 = commands.useCommands({config: config$1, loaders: loaders$1});
const root = yargs
.scriptName('graphql-inspector')
.detectLocale(false)
.epilog('Visit https://graphql-inspector.com for more information')
.version()
.options({
r: {
alias: 'require',
describe: 'Require modules',
type: 'array',
},
t: {
alias: 'token',
describe: 'Access Token',
type: 'string',
},
h: {
alias: 'header',
describe: 'Http Header',
type: 'array',
},
});
commands$1
.reduce((cli, cmd) => cli.command(cmd), root)
.demandCommand()
.recommendCommands()
.help()
.showHelpOnFail(false)
.fail((msg, error) => {
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);
}
if (error) {
throw error;
}
process.exit(1);
})
.strict(true).argv;
});
}
main();
//# sourceMappingURL=index.cjs.js.map

@@ -9,58 +9,60 @@ import { __awaiter } from 'tslib';

function main() {
return __awaiter(this, void 0, void 0, function* () {
const config = yield useConfig();
const loaders = useLoaders(config);
const commands = useCommands({ config, loaders });
const root = yargs
.scriptName('graphql-inspector')
.detectLocale(false)
.epilog('Visit https://graphql-inspector.com for more information')
.version()
.options({
r: {
alias: 'require',
describe: 'Require modules',
type: 'array',
},
t: {
alias: 'token',
describe: 'Access Token',
type: 'string',
},
h: {
alias: 'header',
describe: 'Http Header',
type: 'array',
},
});
commands
.reduce((cli, cmd) => cli.command(cmd), root)
.demandCommand()
.recommendCommands()
.help()
.showHelpOnFail(false)
.fail((msg, error) => {
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);
}
if (error) {
throw error;
}
process.exit(1);
})
.strict(true).argv;
});
return __awaiter(this, void 0, void 0, function* () {
const config = yield useConfig();
const loaders = useLoaders(config);
const commands = useCommands({config, loaders});
const root = yargs
.scriptName('graphql-inspector')
.detectLocale(false)
.epilog('Visit https://graphql-inspector.com for more information')
.version()
.options({
r: {
alias: 'require',
describe: 'Require modules',
type: 'array',
},
t: {
alias: 'token',
describe: 'Access Token',
type: 'string',
},
h: {
alias: 'header',
describe: 'Http Header',
type: 'array',
},
});
commands
.reduce((cli, cmd) => cli.command(cmd), root)
.demandCommand()
.recommendCommands()
.help()
.showHelpOnFail(false)
.fail((msg, error) => {
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);
}
if (error) {
throw error;
}
process.exit(1);
})
.strict(true).argv;
});
}
main();
//# sourceMappingURL=index.esm.js.map

@@ -14,57 +14,59 @@ #!/usr/bin/env node

function main() {
return tslib.__awaiter(this, void 0, void 0, function* () {
const config$1 = yield config.useConfig();
const loaders$1 = loaders.useLoaders(config$1);
const commands$1 = commands.useCommands({ config: config$1, loaders: loaders$1 });
const root = yargs
.scriptName('graphql-inspector')
.detectLocale(false)
.epilog('Visit https://graphql-inspector.com for more information')
.version()
.options({
r: {
alias: 'require',
describe: 'Require modules',
type: 'array',
},
t: {
alias: 'token',
describe: 'Access Token',
type: 'string',
},
h: {
alias: 'header',
describe: 'Http Header',
type: 'array',
},
});
commands$1
.reduce((cli, cmd) => cli.command(cmd), root)
.demandCommand()
.recommendCommands()
.help()
.showHelpOnFail(false)
.fail((msg, error) => {
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);
}
if (error) {
throw error;
}
process.exit(1);
})
.strict(true).argv;
});
return tslib.__awaiter(this, void 0, void 0, function* () {
const config$1 = yield config.useConfig();
const loaders$1 = loaders.useLoaders(config$1);
const commands$1 = commands.useCommands({config: config$1, loaders: loaders$1});
const root = yargs
.scriptName('graphql-inspector')
.detectLocale(false)
.epilog('Visit https://graphql-inspector.com for more information')
.version()
.options({
r: {
alias: 'require',
describe: 'Require modules',
type: 'array',
},
t: {
alias: 'token',
describe: 'Access Token',
type: 'string',
},
h: {
alias: 'header',
describe: 'Http Header',
type: 'array',
},
});
commands$1
.reduce((cli, cmd) => cli.command(cmd), root)
.demandCommand()
.recommendCommands()
.help()
.showHelpOnFail(false)
.fail((msg, error) => {
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);
}
if (error) {
throw error;
}
process.exit(1);
})
.strict(true).argv;
});
}
main();
{
"name": "@graphql-inspector/ci",
"version": "0.0.0-canary.8127707",
"version": "0.0.0-canary.3c127cf",
"description": "Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.",

@@ -10,6 +10,6 @@ "sideEffects": false,

"dependencies": {
"@graphql-inspector/commands": "0.0.0-canary.8127707",
"@graphql-inspector/config": "0.0.0-canary.8127707",
"@graphql-inspector/loaders": "0.0.0-canary.8127707",
"@graphql-inspector/logger": "0.0.0-canary.8127707",
"@graphql-inspector/commands": "0.0.0-canary.3c127cf",
"@graphql-inspector/config": "0.0.0-canary.3c127cf",
"@graphql-inspector/loaders": "0.0.0-canary.3c127cf",
"@graphql-inspector/logger": "0.0.0-canary.3c127cf",
"tslib": "^2.0.0",

@@ -16,0 +16,0 @@ "yargs": "15.3.1"

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