Socket
Socket
Sign inDemoInstall

@graphql-inspector/core

Package Overview
Dependencies
Maintainers
1
Versions
420
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-inspector/core - npm Package Compare versions

Comparing version 0.6.0-alpha.2 to 0.6.0-alpha.3

9

dist/coverage/index.d.ts
import { GraphQLSchema, GraphQLError, Source, GraphQLNamedType } from 'graphql';
export interface Location {
start: number;
end: number;
}
export interface TypeChildCoverage {
hits: number;
locations: {
[name: string]: Array<{
start: number;
end: number;
}>;
[name: string]: Array<Location>;
};

@@ -10,0 +11,0 @@ }

export { diff } from './diff/schema';
export { validate, InvalidDocument } from './validate';
export { similar, SimilarMap } from './similar';
export { coverage, SchemaCoverage } from './coverage';
export * from './coverage';
export { Change, CriticalityLevel, Criticality, ChangeType, } from './diff/changes/change';
export { getTypePrefix } from './utils/graphql';
export { Target, Rating, BestMatch } from './utils/string';
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });

@@ -9,4 +12,3 @@ var schema_1 = require("./diff/schema");

exports.similar = similar_1.similar;
var coverage_1 = require("./coverage");
exports.coverage = coverage_1.coverage;
__export(require("./coverage"));
var change_1 = require("./diff/changes/change");

@@ -13,0 +15,0 @@ exports.CriticalityLevel = change_1.CriticalityLevel;

import { GraphQLSchema, GraphQLError, Source } from 'graphql';
export interface InvalidDocument {
source: Source;
errors: ReadonlyArray<GraphQLError>;
errors: GraphQLError[];
}
export declare function validate(schema: GraphQLSchema, sources: Source[]): InvalidDocument[];
{
"name": "@graphql-inspector/core",
"version": "0.6.0-alpha.2",
"version": "0.6.0-alpha.3",
"description": "Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.",

@@ -37,3 +37,2 @@ "keywords": [

"jest": "23.6.0",
"prettier": "1.15.2",
"ts-jest": "23.10.4",

@@ -40,0 +39,0 @@ "typescript": "3.1.6"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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