@graphql-eslint/eslint-plugin 4.1.0-alpha-20241129082104-137773e2da031621a4bbb9323212b09179e1076a → 4.1.0-alpha-20241129084707-436164c7c2041bfc29ccb7abed9a3c3fb4db5520

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/cjs/meta.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});const version = "4.1.0-alpha-20241129082104-137773e2da031621a4bbb9323212b09179e1076a";
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});const version = "4.1.0-alpha-20241129084707-436164c7c2041bfc29ccb7abed9a3c3fb4db5520";
2
2
 
3
3
 
4
4
  exports.version = version;
@@ -172,8 +172,7 @@ ${_utilsjs.TYPES_KINDS.map((kind) => `- \`${kind}\``).join(`
172
172
  schema
173
173
  },
174
174
  create(context) {
175
- let { types, rootField, ignoredSelectors = [], ...restOptions } = context.options[0] || {};
176
- const kinds = new Set(types ? _utilsjs.TYPES_KINDS : []);
175
+ const { types, rootField, ignoredSelectors = [], ...restOptions } = context.options[0] || {}, kinds = new Set(types ? _utilsjs.TYPES_KINDS : []);
177
176
  for (const [kind, isEnabled] of Object.entries(restOptions))
178
177
  isEnabled ? kinds.add(kind) : kinds.delete(kind);
179
178
  if (rootField) {
package/esm/meta.js CHANGED
@@ -1,4 +1,4 @@
1
- const version = "4.1.0-alpha-20241129082104-137773e2da031621a4bbb9323212b09179e1076a";
1
+ const version = "4.1.0-alpha-20241129084707-436164c7c2041bfc29ccb7abed9a3c3fb4db5520";
2
2
  export {
3
3
  version
4
4
  };
@@ -172,8 +172,7 @@ ${TYPES_KINDS.map((kind) => `- \`${kind}\``).join(`
172
172
  schema
173
173
  },
174
174
  create(context) {
175
- let { types, rootField, ignoredSelectors = [], ...restOptions } = context.options[0] || {};
176
- const kinds = new Set(types ? TYPES_KINDS : []);
175
+ const { types, rootField, ignoredSelectors = [], ...restOptions } = context.options[0] || {}, kinds = new Set(types ? TYPES_KINDS : []);
177
176
  for (const [kind, isEnabled] of Object.entries(restOptions))
178
177
  isEnabled ? kinds.add(kind) : kinds.delete(kind);
179
178
  if (rootField) {
package/index.browser.js CHANGED
@@ -150,7 +150,7 @@ function convertToESTree(node, schema16) {
150
150
  }
151
151
 
152
152
  // src/meta.ts
153
- var version = "4.1.0-alpha-20241129082104-137773e2da031621a4bbb9323212b09179e1076a";
153
+ var version = "4.1.0-alpha-20241129084707-436164c7c2041bfc29ccb7abed9a3c3fb4db5520";
154
154
 
155
155
  // src/siblings.ts
156
156
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-eslint/eslint-plugin",
3
- "version": "4.1.0-alpha-20241129082104-137773e2da031621a4bbb9323212b09179e1076a",
3
+ "version": "4.1.0-alpha-20241129084707-436164c7c2041bfc29ccb7abed9a3c3fb4db5520",
4
4
  "type": "module",
5
5
  "description": "GraphQL plugin for ESLint",
6
6
  "repository": "https://github.com/dimaMachina/graphql-eslint",