Mirror: The small sibling of the graphql package, slimmed down for client-side libraries.

Fix up internal imports

Changed files
+4 -5
alias
error
language
+2 -4
alias/error/GraphQLError.mjs
···
import { getLocation } from 'graphql/language/location';
-
import {
-
printLocation,
-
printSourceLocation,
-
} from 'graphql/language/printLocation';
export class GraphQLError extends Error {
constructor(
···
import { getLocation } from 'graphql/language/location';
+
+
import { printLocation, printSourceLocation } from '../language/printLocation';
export class GraphQLError extends Error {
constructor(
+2 -1
alias/language/parser.mjs
···
* in graphql.js it will only parse the query language, but not the schema
* language.
*/
-
import { Kind, GraphQLError } from 'graphql';
import { match, parse as makeParser } from 'reghex';
// 2.1.7: Includes commas, and line comments
···
* in graphql.js it will only parse the query language, but not the schema
* language.
*/
+
import { Kind } from 'graphql';
+
import { GraphQLError } from '../error/GraphQLError';
import { match, parse as makeParser } from 'reghex';
// 2.1.7: Includes commas, and line comments