Socket
Socket
Sign inDemoInstall

@graphql-inspector/commands

Package Overview
Dependencies
Maintainers
1
Versions
418
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-inspector/commands - npm Package Compare versions

Comparing version 1.30.0-rc.0 to 1.30.1

21

index.cjs.js

@@ -7,2 +7,3 @@ 'use strict';

const tslib = require('tslib');
const path = require('path');

@@ -24,11 +25,13 @@ const yargs = _interopDefault(require('yargs'));

}
async function mockCommand(mod, cmd) {
return new Promise((resolve, reject) => {
yargs.command(mod).parse(cmd, (err, _, output) => {
if (err) {
reject(err);
}
else {
resolve(output);
}
function mockCommand(mod, cmd) {
return tslib.__awaiter(this, void 0, void 0, function* () {
return new Promise((resolve, reject) => {
yargs.command(mod).parse(cmd, (err, _, output) => {
if (err) {
reject(err);
}
else {
resolve(output);
}
});
});

@@ -35,0 +38,0 @@ });

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

import { __awaiter } from 'tslib';
import { isAbsolute, resolve } from 'path';

@@ -17,11 +18,13 @@ import yargs from 'yargs';

}
async function mockCommand(mod, cmd) {
return new Promise((resolve, reject) => {
yargs.command(mod).parse(cmd, (err, _, output) => {
if (err) {
reject(err);
}
else {
resolve(output);
}
function mockCommand(mod, cmd) {
return __awaiter(this, void 0, void 0, function* () {
return new Promise((resolve, reject) => {
yargs.command(mod).parse(cmd, (err, _, output) => {
if (err) {
reject(err);
}
else {
resolve(output);
}
});
});

@@ -28,0 +31,0 @@ });

{
"name": "@graphql-inspector/commands",
"version": "1.30.0-rc.0",
"version": "1.30.1",
"description": "Plugin system for commands in GraphQL Inspector",

@@ -9,7 +9,2 @@ "peerDependencies": {

},
"dependencies": {
"@graphql-inspector/config": "1.30.0-rc.0",
"@graphql-inspector/loaders": "1.30.0-rc.0",
"tslib": "^1.11.1"
},
"repository": {

@@ -16,0 +11,0 @@ "type": "git",

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