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

@coex/graphql-vercajk

Package Overview
Dependencies
Maintainers
0
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coex/graphql-vercajk - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

6

graphql-vercajk.dto.d.ts

@@ -32,5 +32,5 @@ export type GraphqlVercajkOptions = {

export interface GraphqlVercajkFieldInfo {
[key: string]: GraphqlVercajkFieldName;
[key: string]: GraphqlVercajkField;
}
export interface GraphqlVercajkFieldName {
export interface GraphqlVercajkField {
[fieldName: string]: GraphqlVercajkFieldContent;

@@ -40,3 +40,3 @@ }

constraints: GraphqlVercajkConstraints | null;
children: GraphqlVercajkFieldName | null;
children: GraphqlVercajkField | null;
required: boolean;

@@ -43,0 +43,0 @@ order: number;

import { ConstDirectiveNode } from "graphql";
import { GraphqlVercajkConstraints, GraphqlVercajkFieldInfo, GraphqlVercajkOptions } from "../graphql-vercajk.dto.js";
export declare const assembleInput: (schema: string, config: GraphqlVercajkOptions) => GraphqlVercajkFieldInfo;
export declare const extractDirectiveFields: (directive: ConstDirectiveNode | undefined) => GraphqlVercajkConstraints;
export declare const extractDirectiveFields: (directive: ConstDirectiveNode | undefined) => GraphqlVercajkConstraints | null;
export declare const getNamedInputType: (type: any) => string | null;

@@ -44,3 +44,3 @@ import { parse, visit } from "graphql";

});
return constraints || {};
return Object.keys(constraints).length !== 0 ? constraints : null;
};

@@ -47,0 +47,0 @@ export const getNamedInputType = (type) => {

#!/usr/bin/env node
import { assembleInput } from './helpers/parser.js';
declare const generate: () => Promise<void>;
export type { GraphqlVercajkConstraints, GraphqlVercajkFieldContent, GraphqlVercajkFieldInfo, GraphqlVercajkFieldName } from './graphql-vercajk.dto.js';
export type { GraphqlVercajkConstraints, GraphqlVercajkField, GraphqlVercajkFieldContent, GraphqlVercajkFieldInfo } from './graphql-vercajk.dto.js';
export { assembleInput, generate };
{
"name": "@coex/graphql-vercajk",
"version": "0.1.2",
"version": "0.1.3",
"description": "Collection of graphql tools",

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

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