@graphql-eslint/eslint-plugin 3.13.0-alpha-20221023200034-8eb7722 → 3.13.0-alpha-20221031135154-8208868

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -4337,7 +4337,7 @@ const getSiblings = (project) => {
4337
4337
  if (!documentsKey) {
4338
4338
  return [];
4339
4339
  }
4340
- let siblings = operationsCache.get(project.name);
4340
+ let siblings = operationsCache.get(documentsKey);
4341
4341
  if (!siblings) {
4342
4342
  debug$2('Loading operations from %o', project.documents);
4343
4343
  const documents = project.loadDocumentsSync(project.documents, {
package/index.mjs CHANGED
@@ -4331,7 +4331,7 @@ const getSiblings = (project) => {
4331
4331
  if (!documentsKey) {
4332
4332
  return [];
4333
4333
  }
4334
- let siblings = operationsCache.get(project.name);
4334
+ let siblings = operationsCache.get(documentsKey);
4335
4335
  if (!siblings) {
4336
4336
  debug$2('Loading operations from %o', project.documents);
4337
4337
  const documents = project.loadDocumentsSync(project.documents, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-eslint/eslint-plugin",
3
- "version": "3.13.0-alpha-20221023200034-8eb7722",
3
+ "version": "3.13.0-alpha-20221031135154-8208868",
4
4
  "description": "GraphQL plugin for ESLint",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
package/schema.d.ts CHANGED
@@ -1,6 +1,3 @@
1
- import { GraphQLSchema } from 'graphql';
2
1
  import { GraphQLProjectConfig } from 'graphql-config';
3
2
  import { ParserOptions, Schema } from './types';
4
- import { ModuleCache } from './cache';
5
- export declare const schemaCache: ModuleCache<Error | GraphQLSchema, any>;
6
3
  export declare function getSchema(project: GraphQLProjectConfig, schemaOptions?: ParserOptions['schemaOptions']): Schema;