@graphql-eslint/eslint-plugin 3.16.2-alpha-20230316061052-f906c24 → 3.16.2-alpha-20230316061943-b3c71ef

Sign up to get free protection for your applications and to get access to all the features.
@@ -111,7 +111,7 @@ const validationToRule = ({ ruleId, ruleName, getDocumentNode, schema = [], hasD
111
111
  ruleFn = require('graphql/validation')[ruleKey];
112
112
  }
113
113
  catch (_c) {
114
- const specifiedRules = require('graphql').specifiedRules;
114
+ const { specifiedRules } = require('graphql');
115
115
  ruleFn = specifiedRules.find((ruleFn) => ruleFn.name === ruleKey);
116
116
  }
117
117
  }
@@ -110,7 +110,7 @@ const validationToRule = ({ ruleId, ruleName, getDocumentNode, schema = [], hasD
110
110
  ruleFn = require('graphql/validation')[ruleKey];
111
111
  }
112
112
  catch (_c) {
113
- const specifiedRules = require('graphql').specifiedRules;
113
+ const { specifiedRules } = require('graphql');
114
114
  ruleFn = specifiedRules.find((ruleFn) => ruleFn.name === ruleKey);
115
115
  }
116
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-eslint/eslint-plugin",
3
- "version": "3.16.2-alpha-20230316061052-f906c24",
3
+ "version": "3.16.2-alpha-20230316061943-b3c71ef",
4
4
  "description": "GraphQL plugin for ESLint",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {