🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@graphql-markdown/graphql

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-markdown/graphql - npm Package Compare versions

Comparing version

to
1.1.2

2

dist/directive.d.ts
/**
* Library supporting `customDirective` for directive based customization.
*
* @see {@link https://graphql-markdown.github.io/docs/advanced/custom-directive | Option `customDirective`}
* @see {@link https://graphql-markdown.dev/docs/advanced/custom-directive | Option `customDirective`}
*

@@ -6,0 +6,0 @@ * @packageDocumentation

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

*
* @see {@link https://graphql-markdown.github.io/docs/advanced/custom-directive | Option `customDirective`}
* @see {@link https://graphql-markdown.dev/docs/advanced/custom-directive | Option `customDirective`}
*

@@ -8,0 +8,0 @@ * @packageDocumentation

@@ -21,2 +21,2 @@ /**

defaultValue: T;
}) => Maybe<string | T>;
}) => Maybe<T | string>;
/**
* Library supporting `groupByDirective` for grouping GraphQL schema entities.
*
* @see {@link https://graphql-markdown.github.io/docs/advanced/group-by-directive | Option `groupByDirective`}
* @see {@link https://graphql-markdown.dev/docs/advanced/group-by-directive | Option `groupByDirective`}
*

@@ -6,0 +6,0 @@ * @packageDocumentation

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

*
* @see {@link https://graphql-markdown.github.io/docs/advanced/group-by-directive | Option `groupByDirective`}
* @see {@link https://graphql-markdown.dev/docs/advanced/group-by-directive | Option `groupByDirective`}
*

@@ -8,0 +8,0 @@ * @packageDocumentation

@@ -108,3 +108,3 @@ /**

*/
export declare const _getFields: <T, V>(type: T, processor?: ((fieldMap: Record<string, unknown>) => V) | undefined, fallback?: V | undefined) => GraphQLObjectType<any, any> | GraphQLFieldMap<unknown, unknown> | GraphQLInputFieldMap | V;
export declare const _getFields: <T, V>(type: T, processor?: (fieldMap: Record<string, unknown>) => V, fallback?: V) => GraphQLFieldMap<unknown, unknown> | GraphQLInputFieldMap | GraphQLObjectType | V;
/**

@@ -111,0 +111,0 @@ * Returns fields map for a GraphQL operation type (query, mutation, subscription...).

@@ -31,3 +31,3 @@ /**

* @param rootTypes - optional `rootTypes` schema override
* @see {@link https://graphql-markdown.github.io/docs/advanced/custom-root-types | Custom root types}
* @see {@link https://graphql-markdown.dev/docs/advanced/custom-root-types | Custom root types}
*/

@@ -34,0 +34,0 @@ rootTypes?: Partial<Record<OperationTypeNode, string>>;

/**
* Library supporting `relatedTypeSection` for displaying relations between GraphQL schema entities.
*
* @see {@link https://graphql-markdown.github.io/docs/settings#printtypeoptions | Option `relatedTypeSection`}
* @see {@link https://graphql-markdown.dev/docs/settings#printtypeoptions | Option `relatedTypeSection`}
*

@@ -6,0 +6,0 @@ * @packageDocumentation

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

*
* @see {@link https://graphql-markdown.github.io/docs/settings#printtypeoptions | Option `relatedTypeSection`}
* @see {@link https://graphql-markdown.dev/docs/settings#printtypeoptions | Option `relatedTypeSection`}
*

@@ -8,0 +8,0 @@ * @packageDocumentation

{
"name": "@graphql-markdown/graphql",
"homepage": "https://graphql-markdown.github.io",
"homepage": "https://graphql-markdown.dev",
"description": "GraphQL-Markdown GraphQL utilities.",

@@ -8,3 +8,3 @@ "bugs": {

},
"version": "1.1.1",
"version": "1.1.2",
"license": "MIT",

@@ -60,7 +60,7 @@ "repository": {

"dependencies": {
"@graphql-tools/load": "8.0.1",
"@graphql-markdown/utils": "^1.6.3"
"@graphql-tools/load": "8.0.2",
"@graphql-markdown/utils": "^1.6.4"
},
"devDependencies": {
"@graphql-markdown/types": "^1.2.0"
"@graphql-markdown/types": "^1.2.1"
},

@@ -67,0 +67,0 @@ "directories": {

# @graphql-markdown/graphql
[![Latest Version](https://img.shields.io/npm/v/@graphql-markdown/graphql?style=flat-square)](https://www.npmjs.com/package/@graphql-markdown/graphql)
[![GitHub License](https://img.shields.io/github/license/graphql-markdown/graphql-markdown?style=flat-square)](https://raw.githubusercontent.com/graphql-markdown/graphql-markdown/main/LICENSE)
[![Latest Version](https://img.shields.io/npm/v/@graphql-markdown/graphql?style=flat)](https://www.npmjs.com/package/@graphql-markdown/graphql)
[![GitHub License](https://img.shields.io/github/license/graphql-markdown/graphql-markdown?style=flat)](https://raw.githubusercontent.com/graphql-markdown/graphql-markdown/main/LICENSE)
[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=graphql-markdown_graphql&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=graphql-markdown_graphql)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=graphql-markdown_graphql&metric=coverage)](https://sonarcloud.io/summary/new_code?id=graphql-markdown_graphql)
[![Mutation Score](https://img.shields.io/endpoint?label=mutation%20score&style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fgraphql-markdown%2Fgraphql-markdown%2Fmain%3Fmodule%3Dgraphql)](https://dashboard.stryker-mutator.io/reports/github.com/graphql-markdown/graphql-markdown/main?module=graphql)