@graphql-eslint/eslint-plugin 4.4.0-alpha-20250226232907-191cc6beab3020bd9c0904f4bbfd8ec8be7919b3 → 4.4.0-alpha-20250228184249-2b5bd610e319d1ad504e6fa7a5a99903c346fbd2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/browser.js CHANGED
@@ -408,7 +408,7 @@ function convertToESTree(node, schema16) {
408
408
  }
409
409
 
410
410
  // src/meta.ts
411
- var version = "4.4.0-alpha-20250226232907-191cc6beab3020bd9c0904f4bbfd8ec8be7919b3";
411
+ var version = "4.4.0-alpha-20250228184249-2b5bd610e319d1ad504e6fa7a5a99903c346fbd2";
412
412
 
413
413
  // src/siblings.ts
414
414
  import {
@@ -4,5 +4,4 @@ export { convertLocation, convertToken, extractComments, extractTokens, getBaseT
4
4
  import 'graphql';
5
5
  import 'eslint';
6
6
  import 'estree';
7
- import 'graphql/jsutils/Maybe.js';
8
- import 'graphql/jsutils/ObjMap.js';
7
+ import 'graphql/utilities/valueFromASTUntyped.js';
@@ -1,11 +1,9 @@
1
- import * as graphql_jsutils_Maybe_js from 'graphql/jsutils/Maybe.js';
2
- import * as graphql_jsutils_ObjMap_js from 'graphql/jsutils/ObjMap.js';
3
- import * as graphql from 'graphql';
4
- import { GraphQLOutputType, GraphQLNamedType, TokenKind, Token, Location } from 'graphql';
5
1
  import { AST } from 'eslint';
6
2
  import { Comment, SourceLocation } from 'estree';
3
+ import { GraphQLOutputType, GraphQLNamedType, TokenKind, Token, Location } from 'graphql';
4
+ import { valueFromASTUntyped } from 'graphql/utilities/valueFromASTUntyped.js';
7
5
 
8
- declare const valueFromNode: (valueNode: graphql.ValueNode, variables?: graphql_jsutils_Maybe_js.Maybe<graphql_jsutils_ObjMap_js.ObjMap<unknown>>) => any;
6
+ declare const valueFromNode: (...args: Parameters<typeof valueFromASTUntyped>) => any;
9
7
  declare function getBaseType(type: GraphQLOutputType): GraphQLNamedType;
10
8
  declare function convertToken<T extends TokenKind | 'Block' | 'Line'>(token: Token, type: T): Omit<AST.Token, 'type'> & {
11
9
  type: T;
package/cjs/index.d.cts CHANGED
@@ -48,10 +48,10 @@ declare const _default: {
48
48
  };
49
49
  rules: {
50
50
  alphabetize: GraphQLESLintRule<{
51
- values?: boolean | undefined;
52
51
  definitions?: boolean | undefined;
53
52
  selections?: ("OperationDefinition" | "FragmentDefinition")[] | undefined;
54
53
  arguments?: ("Field" | "Directive" | "FieldDefinition" | "DirectiveDefinition")[] | undefined;
54
+ values?: boolean | undefined;
55
55
  fields?: ("ObjectTypeDefinition" | "InterfaceTypeDefinition" | "InputObjectTypeDefinition")[] | undefined;
56
56
  variables?: boolean | undefined;
57
57
  groups?: string[] | undefined;
package/cjs/meta.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});const version = "4.4.0-alpha-20250226232907-191cc6beab3020bd9c0904f4bbfd8ec8be7919b3";
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});const version = "4.4.0-alpha-20250228184249-2b5bd610e319d1ad504e6fa7a5a99903c346fbd2";
2
2
 
3
3
 
4
4
  exports.version = version;
@@ -11,10 +11,10 @@ import 'json-schema-to-ts';
11
11
 
12
12
  declare const rules: {
13
13
  alphabetize: GraphQLESLintRule<{
14
- values?: boolean | undefined;
15
14
  definitions?: boolean | undefined;
16
15
  selections?: ("OperationDefinition" | "FragmentDefinition")[] | undefined;
17
16
  arguments?: ("Field" | "Directive" | "FieldDefinition" | "DirectiveDefinition")[] | undefined;
17
+ values?: boolean | undefined;
18
18
  fields?: ("ObjectTypeDefinition" | "InterfaceTypeDefinition" | "InputObjectTypeDefinition")[] | undefined;
19
19
  variables?: boolean | undefined;
20
20
  groups?: string[] | undefined;
@@ -4,5 +4,4 @@ export { convertLocation, convertToken, extractComments, extractTokens, getBaseT
4
4
  import 'graphql';
5
5
  import 'eslint';
6
6
  import 'estree';
7
- import 'graphql/jsutils/Maybe.js';
8
- import 'graphql/jsutils/ObjMap.js';
7
+ import 'graphql/utilities/valueFromASTUntyped.js';
@@ -1,11 +1,9 @@
1
- import * as graphql_jsutils_Maybe_js from 'graphql/jsutils/Maybe.js';
2
- import * as graphql_jsutils_ObjMap_js from 'graphql/jsutils/ObjMap.js';
3
- import * as graphql from 'graphql';
4
- import { GraphQLOutputType, GraphQLNamedType, TokenKind, Token, Location } from 'graphql';
5
1
  import { AST } from 'eslint';
6
2
  import { Comment, SourceLocation } from 'estree';
3
+ import { GraphQLOutputType, GraphQLNamedType, TokenKind, Token, Location } from 'graphql';
4
+ import { valueFromASTUntyped } from 'graphql/utilities/valueFromASTUntyped.js';
7
5
 
8
- declare const valueFromNode: (valueNode: graphql.ValueNode, variables?: graphql_jsutils_Maybe_js.Maybe<graphql_jsutils_ObjMap_js.ObjMap<unknown>>) => any;
6
+ declare const valueFromNode: (...args: Parameters<typeof valueFromASTUntyped>) => any;
9
7
  declare function getBaseType(type: GraphQLOutputType): GraphQLNamedType;
10
8
  declare function convertToken<T extends TokenKind | 'Block' | 'Line'>(token: Token, type: T): Omit<AST.Token, 'type'> & {
11
9
  type: T;
package/esm/meta.js CHANGED
@@ -1,4 +1,4 @@
1
- const version = "4.4.0-alpha-20250226232907-191cc6beab3020bd9c0904f4bbfd8ec8be7919b3";
1
+ const version = "4.4.0-alpha-20250228184249-2b5bd610e319d1ad504e6fa7a5a99903c346fbd2";
2
2
  export {
3
3
  version
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-eslint/eslint-plugin",
3
- "version": "4.4.0-alpha-20250226232907-191cc6beab3020bd9c0904f4bbfd8ec8be7919b3",
3
+ "version": "4.4.0-alpha-20250228184249-2b5bd610e319d1ad504e6fa7a5a99903c346fbd2",
4
4
  "type": "module",
5
5
  "description": "GraphQL plugin for ESLint",
6
6
  "repository": "https://github.com/dimaMachina/graphql-eslint",