@mo36924/graphql-plugin 5.4.20 → 5.4.22

Sign up to get free protection for your applications and to get access to all the features.
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 index_js = require('graphql/index.js');
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 index_js.GraphQLError) {
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/index.mjs';
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.20",
4
+ "version": "5.4.22",
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.20",
50
+ "@mo36924/graphql": "^5.4.22",
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": "3e00e3d8836733f58894bcb6b52d625bff2b5ab6"
57
+ "gitHead": "38428f1d8eac1bccf16021a3396729361146170a"
58
58
  }