New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

graphql-auto-query

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-auto-query - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

dist/cjs/index.d.ts
import { GraphQLSchema } from "graphql";
export declare const generate: (schema: string | GraphQLSchema, depth?: number) => Promise<string>;
export declare const generate: (schema: string | GraphQLSchema, depth?: number) => string;

@@ -140,3 +140,3 @@ "use strict";

}
const generate = async (schema, depth = 2) => {
const generate = (schema, depth = 2) => {
const autoQuery = new AutoQuery(schema instanceof graphql_1.GraphQLSchema ? schema : (0, graphql_1.buildSchema)(schema));

@@ -143,0 +143,0 @@ return autoQuery.generate(depth);

import { GraphQLSchema } from "graphql";
export declare const generate: (schema: string | GraphQLSchema, depth?: number) => Promise<string>;
export declare const generate: (schema: string | GraphQLSchema, depth?: number) => string;

@@ -137,5 +137,5 @@ import { buildSchema, GraphQLList, GraphQLNonNull, GraphQLObjectType, GraphQLSchema, Kind, } from "graphql";

}
export const generate = async (schema, depth = 2) => {
export const generate = (schema, depth = 2) => {
const autoQuery = new AutoQuery(schema instanceof GraphQLSchema ? schema : buildSchema(schema));
return autoQuery.generate(depth);
};
{
"name": "graphql-auto-query",
"version": "0.0.1",
"version": "0.0.2",
"author": "SoraKumo <info@croud.jp>",

@@ -5,0 +5,0 @@ "description": "Automatic generation of GraphQL queries from GraphQL schemas",

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