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

@graphql-inspector/config

Package Overview
Dependencies
Maintainers
3
Versions
247
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-inspector/config - npm Package Compare versions

Comparing version 4.0.0-alpha-20230604171720-9def9e8c to 4.0.0-alpha-20230607111323-e43c30f0

13

cjs/index.js

@@ -6,3 +6,2 @@ "use strict";

exports.useConfig = exports.availableLoaders = exports.availableCommands = void 0;
const tslib_1 = require("tslib");
exports.availableCommands = [

@@ -18,9 +17,7 @@ 'coverage',

exports.availableLoaders = ['code', 'git', 'github', 'graphql', 'json', 'url'];
function useConfig() {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
return {
loaders: ensureList(discoverLoaders(exports.availableLoaders), 'loaders'),
commands: ensureList(discoverCommands(exports.availableCommands), 'commands'),
};
});
async function useConfig() {
return {
loaders: ensureList(discoverLoaders(exports.availableLoaders), 'loaders'),
commands: ensureList(discoverCommands(exports.availableCommands), 'commands'),
};
}

@@ -27,0 +24,0 @@ exports.useConfig = useConfig;

// Right now everything is hardcoded for better UX but this may change in future.
// It's just easier to leave it this way
import { __awaiter } from "tslib";
export const availableCommands = [

@@ -14,9 +13,7 @@ 'coverage',

export const availableLoaders = ['code', 'git', 'github', 'graphql', 'json', 'url'];
export function useConfig() {
return __awaiter(this, void 0, void 0, function* () {
return {
loaders: ensureList(discoverLoaders(availableLoaders), 'loaders'),
commands: ensureList(discoverCommands(availableCommands), 'commands'),
};
});
export async function useConfig() {
return {
loaders: ensureList(discoverLoaders(availableLoaders), 'loaders'),
commands: ensureList(discoverCommands(availableCommands), 'commands'),
};
}

@@ -23,0 +20,0 @@ function moduleExists(name) {

{
"name": "@graphql-inspector/config",
"version": "4.0.0-alpha-20230604171720-9def9e8c",
"version": "4.0.0-alpha-20230607111323-e43c30f0",
"sideEffects": false,

@@ -5,0 +5,0 @@ "peerDependencies": {

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