@graphql-inspector/commands
Advanced tools
Comparing version 1.30.0-rc.0 to 1.30.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
8427
2
88
1
+ Addedp-limit@2.3.0(transitive)
- Removedtslib@^1.11.1
- Removed@babel/code-frame@7.24.7(transitive)
- Removed@babel/helper-validator-identifier@7.24.7(transitive)
- Removed@babel/highlight@7.24.7(transitive)
- Removed@graphql-inspector/config@1.30.0-rc.0(transitive)
- Removed@graphql-inspector/loaders@1.30.0-rc.0(transitive)
- Removed@graphql-toolkit/common@0.10.2(transitive)
- Removed@graphql-toolkit/core@0.10.2(transitive)
- Removed@graphql-toolkit/schema-merging@0.10.2(transitive)
- Removed@nodelib/fs.scandir@2.1.5(transitive)
- Removed@nodelib/fs.stat@2.0.5(transitive)
- Removed@nodelib/fs.walk@1.2.8(transitive)
- Removed@types/parse-json@4.0.2(transitive)
- Removed@wry/equality@0.1.11(transitive)
- Removedaggregate-error@3.0.1(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedapollo-link@1.2.14(transitive)
- Removedapollo-link-http-common@0.2.16(transitive)
- Removedapollo-utilities@1.3.4(transitive)
- Removedarray-union@2.1.0(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedbraces@3.0.3(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedcamel-case@4.1.1(transitive)
- Removedchalk@2.4.2(transitive)
- Removedclean-stack@2.2.0(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcosmiconfig@6.0.0(transitive)
- Removeddeepmerge@4.2.2(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removeddeprecated-decorator@0.1.6(transitive)
- Removeddir-glob@3.0.1(transitive)
- Removederror-ex@1.3.2(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedextract-files@7.0.0(transitive)
- Removedfast-glob@3.3.2(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedfastq@1.17.1(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedform-data@3.0.1(transitive)
- Removedglob-parent@5.1.2(transitive)
- Removedglobby@11.0.0(transitive)
- Removedgraphql-tools-fork@9.0.1(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedignore@5.3.2(transitive)
- Removedimport-fresh@3.3.0(transitive)
- Removedimport-from@3.0.0(transitive)
- Removedindent-string@4.0.0(transitive)
- Removedis-arrayish@0.2.1(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-glob@4.0.1(transitive)
- Removedis-number@7.0.0(transitive)
- Removediterall@1.3.0(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedjson-parse-even-better-errors@2.3.1(transitive)
- Removedlines-and-columns@1.2.4(transitive)
- Removedlodash@4.17.15(transitive)
- Removedlower-case@2.0.2(transitive)
- Removedmerge2@1.4.1(transitive)
- Removedmicromatch@4.0.8(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedno-case@3.0.4(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removednormalize-path@2.1.1(transitive)
- Removedp-limit@2.2.2(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedparse-json@5.2.0(transitive)
- Removedpascal-case@3.1.2(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedpicocolors@1.1.0(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedqueue-microtask@1.2.3(transitive)
- Removedremove-trailing-separator@1.1.0(transitive)
- Removedresolve-from@4.0.05.0.0(transitive)
- Removedreusify@1.0.4(transitive)
- Removedrun-parallel@1.2.0(transitive)
- Removedslash@3.0.0(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedtr46@0.0.3(transitive)
- Removedts-invariant@0.4.4(transitive)
- Removedtslib@1.11.11.14.12.7.0(transitive)
- Removedunixify@1.0.0(transitive)
- Removeduuid@7.0.3(transitive)
- Removedvalid-url@1.0.9(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
- Removedyaml@1.10.2(transitive)
- Removedzen-observable@0.8.15(transitive)
- Removedzen-observable-ts@0.8.21(transitive)