eslint-plugin-react-web-api 5.1.0-next.0 → 5.1.0-next.1

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -6
  2. package/package.json +6 -5
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
- import { DEFAULT_ESLINT_REACT_SETTINGS, defineRuleListener } from "@eslint-react/shared";
1
+ import { DEFAULT_ESLINT_REACT_SETTINGS } from "@eslint-react/shared";
2
2
  import * as ast from "@eslint-react/ast";
3
3
  import * as core from "@eslint-react/core";
4
+ import { merge } from "@eslint-react/eslint";
4
5
  import { findEnclosingAssignmentTarget, isAssignmentTargetEqual, isValueEqual, resolve } from "@eslint-react/var";
5
6
  import { AST_NODE_TYPES, ESLintUtils } from "@typescript-eslint/utils";
6
7
  import { getStaticValue } from "@typescript-eslint/utils/ast-utils";
@@ -26,7 +27,7 @@ var __exportAll = (all, no_symbols) => {
26
27
  //#endregion
27
28
  //#region package.json
28
29
  var name$1 = "eslint-plugin-react-web-api";
29
- var version = "5.1.0-next.0";
30
+ var version = "5.1.0-next.1";
30
31
 
31
32
  //#endregion
32
33
  //#region src/types/component-phase.ts
@@ -146,7 +147,7 @@ function create$3(context) {
146
147
  node: listener
147
148
  });
148
149
  }
149
- return defineRuleListener({
150
+ return merge({
150
151
  [":function"](node) {
151
152
  const kind = getFunctionKind$1(node);
152
153
  fEntries.push({
@@ -247,7 +248,7 @@ function create$2(context) {
247
248
  function isInverseEntry(a, b) {
248
249
  return isAssignmentTargetEqual(context, a.timerId, b.timerId);
249
250
  }
250
- return defineRuleListener({
251
+ return merge({
251
252
  [":function"](node) {
252
253
  const kind = getPhaseKindOfFunction(node) ?? "other";
253
254
  fEntries.push({
@@ -482,7 +483,7 @@ function create$1(context) {
482
483
  const oEntries = [];
483
484
  const uEntries = [];
484
485
  const dEntries = [];
485
- return defineRuleListener({
486
+ return merge({
486
487
  [":function"](node) {
487
488
  const kind = getFunctionKind(node);
488
489
  fEntries.push({
@@ -611,7 +612,7 @@ function create(context) {
611
612
  function isInverseEntry(a, b) {
612
613
  return isAssignmentTargetEqual(context, a.timerId, b.timerId);
613
614
  }
614
- return defineRuleListener({
615
+ return merge({
615
616
  [":function"](node) {
616
617
  const kind = getPhaseKindOfFunction(node) ?? "other";
617
618
  fEntries.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-web-api",
3
- "version": "5.1.0-next.0",
3
+ "version": "5.1.0-next.1",
4
4
  "description": "ESLint React's ESLint plugin for interacting with Web APIs",
5
5
  "keywords": [
6
6
  "react",
@@ -43,10 +43,11 @@
43
43
  "@typescript-eslint/utils": "^8.58.1",
44
44
  "birecord": "^0.1.1",
45
45
  "ts-pattern": "^5.9.0",
46
- "@eslint-react/ast": "5.1.0-next.0",
47
- "@eslint-react/shared": "5.1.0-next.0",
48
- "@eslint-react/var": "5.1.0-next.0",
49
- "@eslint-react/core": "5.1.0-next.0"
46
+ "@eslint-react/ast": "5.1.0-next.1",
47
+ "@eslint-react/core": "5.1.0-next.1",
48
+ "@eslint-react/shared": "5.1.0-next.1",
49
+ "@eslint-react/eslint": "5.1.0-next.1",
50
+ "@eslint-react/var": "5.1.0-next.1"
50
51
  },
51
52
  "devDependencies": {
52
53
  "@types/react": "^19.2.14",