@mo36924/graphql-plugin 5.4.20 → 5.4.23
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
const graphql$1 = require('@mo36924/graphql');
|
4
|
-
const
|
4
|
+
const graphql$2 = require('graphql');
|
5
5
|
const graphqlLanguageService = require('graphql-language-service');
|
6
6
|
const packages_graphqlPlugin_dist_volar = require('./volar.cjs');
|
7
7
|
|
@@ -196,7 +196,7 @@ const graphql = ({ typescript: ts })=>{
|
|
196
196
|
});
|
197
197
|
}
|
198
198
|
} catch (error) {
|
199
|
-
if (error instanceof
|
199
|
+
if (error instanceof graphql$2.GraphQLError) {
|
200
200
|
diagnostics.push({
|
201
201
|
category: ts.DiagnosticCategory.Error,
|
202
202
|
code: 9999,
|
package/dist/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { getSchema } from '@mo36924/graphql';
|
2
|
-
import { GraphQLError } from 'graphql
|
2
|
+
import { GraphQLError } from 'graphql';
|
3
3
|
import { getDiagnostics, DIAGNOSTIC_SEVERITY, Position, getAutocompleteSuggestions, CompletionItemKind, getTokenAtPosition, getHoverInformation } from 'graphql-language-service';
|
4
4
|
import { volar } from './volar.js';
|
5
5
|
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mo36924/graphql-plugin",
|
3
3
|
"type": "module",
|
4
|
-
"version": "5.4.
|
4
|
+
"version": "5.4.23",
|
5
5
|
"description": "graphql-plugin",
|
6
6
|
"author": "mo36924",
|
7
7
|
"license": "MIT",
|
@@ -47,12 +47,12 @@
|
|
47
47
|
"dist"
|
48
48
|
],
|
49
49
|
"dependencies": {
|
50
|
-
"@mo36924/graphql": "^5.4.
|
50
|
+
"@mo36924/graphql": "^5.4.23",
|
51
51
|
"@volar/typescript": "^2.4.10",
|
52
52
|
"graphql": "^16.9.0",
|
53
53
|
"graphql-language-service": "^5.3.0",
|
54
54
|
"typescript": "^5.6.3",
|
55
55
|
"vscode-languageserver-types": "^3.17.5"
|
56
56
|
},
|
57
|
-
"gitHead": "
|
57
|
+
"gitHead": "75bbda006682b49dbd62de6c54ad1b035c6bd41a"
|
58
58
|
}
|