Skip to content

Commit bbf67c5

Browse files
committed
Less diff
1 parent 1c5f5ea commit bbf67c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/src/validate/token-count.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ParseOptions, Source } from 'graphql';
22
import { DocumentNode, GraphQLError, TokenKind, visit } from 'graphql';
3-
import { Parser } from 'graphql/language/parser';
3+
import { Parser } from 'graphql/language/parser.js';
44

55
class ParserWithLexer extends Parser {
66
private __tokenCount = 0;

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default defineConfig({
1010
'@graphql-inspector/url-loader': 'packages/loaders/url/src/index.ts',
1111
'@graphql-inspector/testing': 'packages/testing/src/index.ts',
1212
'@graphql-inspector/core': 'packages/core/src/index.ts',
13-
'graphql/language/parser': 'graphql/language/parser.js',
13+
'graphql/language/parser.js': 'graphql/language/parser.js',
1414
graphql: 'graphql/index.js'
1515
},
1616
deps: {

0 commit comments

Comments
 (0)