eslint-plugin-react-dom 1.43.0 → 1.43.1-next.0

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
@@ -67,7 +67,7 @@ var settings = {
67
67
 
68
68
  // package.json
69
69
  var name2 = "eslint-plugin-react-dom";
70
- var version = "1.43.0";
70
+ var version = "1.43.1-next.0";
71
71
  var createRule = utils.ESLintUtils.RuleCreator(shared.getDocsUrl("dom"));
72
72
 
73
73
  // src/utils/find-custom-component.ts
@@ -656,7 +656,7 @@ function create11(context) {
656
656
  const attributeName = JSX__namespace.getAttributeName(node);
657
657
  const attributeValue = JSX__namespace.getAttributeValue(node, attributeName, attributeScope);
658
658
  if (attributeValue.kind === "none" || typeof attributeValue.value !== "string") return;
659
- if (kit.RE_JAVASCRIPT_PROTOCOL.test(attributeValue.value)) {
659
+ if (kit.RE.JAVASCRIPT_PROTOCOL.test(attributeValue.value)) {
660
660
  context.report({
661
661
  messageId: "noScriptUrl",
662
662
  node: node.value
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import { ESLintUtils } from '@typescript-eslint/utils';
4
4
  import * as AST from '@eslint-react/ast';
5
5
  import { AST_NODE_TYPES } from '@typescript-eslint/types';
6
6
  import { compare } from 'compare-versions';
7
- import { RE_JAVASCRIPT_PROTOCOL, createReport } from '@eslint-react/kit';
7
+ import { RE, createReport } from '@eslint-react/kit';
8
8
  import { _ } from '@eslint-react/eff';
9
9
 
10
10
  var __defProp = Object.defineProperty;
@@ -44,7 +44,7 @@ var settings = {
44
44
 
45
45
  // package.json
46
46
  var name2 = "eslint-plugin-react-dom";
47
- var version = "1.43.0";
47
+ var version = "1.43.1-next.0";
48
48
  var createRule = ESLintUtils.RuleCreator(getDocsUrl("dom"));
49
49
 
50
50
  // src/utils/find-custom-component.ts
@@ -633,7 +633,7 @@ function create11(context) {
633
633
  const attributeName = JSX.getAttributeName(node);
634
634
  const attributeValue = JSX.getAttributeValue(node, attributeName, attributeScope);
635
635
  if (attributeValue.kind === "none" || typeof attributeValue.value !== "string") return;
636
- if (RE_JAVASCRIPT_PROTOCOL.test(attributeValue.value)) {
636
+ if (RE.JAVASCRIPT_PROTOCOL.test(attributeValue.value)) {
637
637
  context.report({
638
638
  messageId: "noScriptUrl",
639
639
  node: node.value
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-dom",
3
- "version": "1.43.0",
3
+ "version": "1.43.1-next.0",
4
4
  "description": "ESLint React's ESLint plugin for React DOM related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -49,13 +49,13 @@
49
49
  "compare-versions": "^6.1.1",
50
50
  "string-ts": "^2.2.1",
51
51
  "ts-pattern": "^5.7.0",
52
- "@eslint-react/ast": "1.43.0",
53
- "@eslint-react/core": "1.43.0",
54
- "@eslint-react/eff": "1.43.0",
55
- "@eslint-react/kit": "1.43.0",
56
- "@eslint-react/jsx": "1.43.0",
57
- "@eslint-react/var": "1.43.0",
58
- "@eslint-react/shared": "1.43.0"
52
+ "@eslint-react/ast": "1.43.1-next.0",
53
+ "@eslint-react/core": "1.43.1-next.0",
54
+ "@eslint-react/jsx": "1.43.1-next.0",
55
+ "@eslint-react/kit": "1.43.1-next.0",
56
+ "@eslint-react/shared": "1.43.1-next.0",
57
+ "@eslint-react/var": "1.43.1-next.0",
58
+ "@eslint-react/eff": "1.43.1-next.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/react": "^19.1.0",