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

@wundergraph/composition

Package Overview
Dependencies
Maintainers
0
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wundergraph/composition - npm Package Compare versions

Comparing version 0.28.5 to 0.29.0

4

dist/ast/utils.d.ts

@@ -24,4 +24,4 @@ import { ArgumentNode, DocumentNode, EnumTypeDefinitionNode, EnumTypeExtensionNode, FieldNode, InputObjectTypeDefinitionNode, InputObjectTypeExtensionNode, InterfaceTypeDefinitionNode, InterfaceTypeExtensionNode, Kind, NamedTypeNode, NameNode, ObjectTypeDefinitionNode, ObjectTypeExtensionNode, OperationTypeNode, ScalarTypeDefinitionNode, ScalarTypeExtensionNode, SchemaDefinitionNode, SchemaExtensionNode, SelectionSetNode, StringValueNode, UnionTypeDefinitionNode, UnionTypeExtensionNode } from 'graphql';

};
export declare function parse(source: string): DocumentNode;
export declare function safeParse(value: string): ParseResult;
export declare function parse(source: string, noLocation?: boolean): DocumentNode;
export declare function safeParse(value: string, noLocation?: boolean): ParseResult;
export type EnumTypeNode = EnumTypeDefinitionNode | EnumTypeExtensionNode;

@@ -28,0 +28,0 @@ export type InputObjectTypeNode = InputObjectTypeDefinitionNode | InputObjectTypeExtensionNode;

@@ -222,8 +222,8 @@ "use strict";

}
function parse(source) {
return (0, graphql_1.parse)(source, { noLocation: true });
function parse(source, noLocation = true) {
return (0, graphql_1.parse)(source, { noLocation });
}
function safeParse(value) {
function safeParse(value, noLocation = true) {
try {
const parsedValue = parse(value);
const parsedValue = parse(value, noLocation);
return { documentNode: parsedValue };

@@ -230,0 +230,0 @@ }

export * from './ast/utils';
export * from './buildASTSchema/buildASTSchema';
export * from './errors/errors';

@@ -3,0 +4,0 @@ export * from './errors/utils';

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

__exportStar(require("./ast/utils"), exports);
__exportStar(require("./buildASTSchema/buildASTSchema"), exports);
__exportStar(require("./errors/errors"), exports);

@@ -20,0 +21,0 @@ __exportStar(require("./errors/utils"), exports);

@@ -47,3 +47,3 @@ import { ConstDirectiveNode, DirectiveDefinitionNode, DirectiveNode, DocumentNode, EnumTypeDefinitionNode, EnumTypeExtensionNode, FieldDefinitionNode, GraphQLSchema, InputObjectTypeExtensionNode, InterfaceTypeDefinitionNode, InterfaceTypeExtensionNode, Kind, ObjectTypeDefinitionNode, ObjectTypeExtensionNode, OperationTypeNode, ScalarTypeDefinitionNode, ScalarTypeExtensionNode, TypeDefinitionNode, TypeExtensionNode } from 'graphql';

};
export declare function normalizeSubgraphFromString(subgraphSDL: string): NormalizationResultContainer;
export declare function normalizeSubgraphFromString(subgraphSDL: string, noLocation?: boolean): NormalizationResultContainer;
export declare function normalizeSubgraph(document: DocumentNode, subgraphName?: string, internalGraph?: Graph): NormalizationResultContainer;

@@ -50,0 +50,0 @@ export declare class NormalizationFactory {

{
"name": "@wundergraph/composition",
"version": "0.28.5",
"version": "0.29.0",
"author": {

@@ -42,3 +42,3 @@ "name": "WunderGraph Maintainers",

},
"gitHead": "13dbfac10d30b35419f54db95cd8556e9de94ead"
"gitHead": "d5beca5e1972909edc0531eb180042df8c54b1a0"
}

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 too big to display

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