eslint-plugin-react-dom 1.20.2-next.5 → 1.20.2-next.7

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/dist/index.js CHANGED
@@ -32,7 +32,7 @@ var AST__namespace = /*#__PURE__*/_interopNamespace(AST);
32
32
 
33
33
  // package.json
34
34
  var name = "eslint-plugin-react-dom";
35
- var version = "1.20.2-next.5";
35
+ var version = "1.20.2-next.7";
36
36
  var createRule = shared.createRuleForPlugin("dom");
37
37
  function findAttrInCustomAttributes(name2, attributes) {
38
38
  return eff.F.pipe(
@@ -1605,7 +1605,7 @@ var no_unsafe_target_blank_default = createRule({
1605
1605
  hrefProp,
1606
1606
  eff.O.flatMap((attr) => JSX9__namespace.getPropValue(attr, context.sourceCode.getScope(attr))),
1607
1607
  eff.O.flatMapNullable(
1608
- (v) => tsPattern.match(v).with(tsPattern.P.string, eff.F.identity).with(tsPattern.P.shape({ [hrefPropName]: tsPattern.P.string }), (v2) => v2[hrefPropName]).otherwise(eff.F.constNull)
1608
+ (v) => tsPattern.match(v).with(tsPattern.P.string, eff.F.identity).with({ [hrefPropName]: tsPattern.P.string }, (v2) => v2[hrefPropName]).otherwise(eff.F.constNull)
1609
1609
  ),
1610
1610
  eff.O.filter(eff.isString)
1611
1611
  );
@@ -1619,7 +1619,7 @@ var no_unsafe_target_blank_default = createRule({
1619
1619
  relProp,
1620
1620
  eff.O.flatMap((attr) => JSX9__namespace.getPropValue(attr, context.sourceCode.getScope(attr))),
1621
1621
  eff.O.flatMapNullable(
1622
- (v) => tsPattern.match(v).with(tsPattern.P.string, eff.F.identity).with(tsPattern.P.shape({ [relPropName]: tsPattern.P.string }), (v2) => v2[relPropName]).otherwise(eff.F.constNull)
1622
+ (v) => tsPattern.match(v).with(tsPattern.P.string, eff.F.identity).with({ [relPropName]: tsPattern.P.string }, (v2) => v2[relPropName]).otherwise(eff.F.constNull)
1623
1623
  ),
1624
1624
  eff.O.filter(eff.isString)
1625
1625
  );
package/dist/index.mjs CHANGED
@@ -9,7 +9,7 @@ import { match, P } from 'ts-pattern';
9
9
 
10
10
  // package.json
11
11
  var name = "eslint-plugin-react-dom";
12
- var version = "1.20.2-next.5";
12
+ var version = "1.20.2-next.7";
13
13
  var createRule = createRuleForPlugin("dom");
14
14
  function findAttrInCustomAttributes(name2, attributes) {
15
15
  return F.pipe(
@@ -1582,7 +1582,7 @@ var no_unsafe_target_blank_default = createRule({
1582
1582
  hrefProp,
1583
1583
  O.flatMap((attr) => JSX9.getPropValue(attr, context.sourceCode.getScope(attr))),
1584
1584
  O.flatMapNullable(
1585
- (v) => match(v).with(P.string, F.identity).with(P.shape({ [hrefPropName]: P.string }), (v2) => v2[hrefPropName]).otherwise(F.constNull)
1585
+ (v) => match(v).with(P.string, F.identity).with({ [hrefPropName]: P.string }, (v2) => v2[hrefPropName]).otherwise(F.constNull)
1586
1586
  ),
1587
1587
  O.filter(isString)
1588
1588
  );
@@ -1596,7 +1596,7 @@ var no_unsafe_target_blank_default = createRule({
1596
1596
  relProp,
1597
1597
  O.flatMap((attr) => JSX9.getPropValue(attr, context.sourceCode.getScope(attr))),
1598
1598
  O.flatMapNullable(
1599
- (v) => match(v).with(P.string, F.identity).with(P.shape({ [relPropName]: P.string }), (v2) => v2[relPropName]).otherwise(F.constNull)
1599
+ (v) => match(v).with(P.string, F.identity).with({ [relPropName]: P.string }, (v2) => v2[relPropName]).otherwise(F.constNull)
1600
1600
  ),
1601
1601
  O.filter(isString)
1602
1602
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-dom",
3
- "version": "1.20.2-next.5",
3
+ "version": "1.20.2-next.7",
4
4
  "description": "ESLint React's ESLint plugin for React DOM related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -48,13 +48,13 @@
48
48
  "@typescript-eslint/utils": "^8.18.1",
49
49
  "compare-versions": "^6.1.1",
50
50
  "ts-pattern": "^5.6.0",
51
- "@eslint-react/ast": "1.20.2-next.5",
52
- "@eslint-react/core": "1.20.2-next.5",
53
- "@eslint-react/eff": "1.20.2-next.5",
54
- "@eslint-react/shared": "1.20.2-next.5",
55
- "@eslint-react/jsx": "1.20.2-next.5",
56
- "@eslint-react/types": "1.20.2-next.5",
57
- "@eslint-react/var": "1.20.2-next.5"
51
+ "@eslint-react/core": "1.20.2-next.7",
52
+ "@eslint-react/ast": "1.20.2-next.7",
53
+ "@eslint-react/eff": "1.20.2-next.7",
54
+ "@eslint-react/shared": "1.20.2-next.7",
55
+ "@eslint-react/jsx": "1.20.2-next.7",
56
+ "@eslint-react/var": "1.20.2-next.7",
57
+ "@eslint-react/types": "1.20.2-next.7"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/react": "^19.0.2",