eslint-plugin-react-dom 2.4.1-beta.6 → 2.4.1-beta.8

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 +11 -11
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ var __exportAll = (all, symbols) => {
23
23
  //#endregion
24
24
  //#region package.json
25
25
  var name$2 = "eslint-plugin-react-dom";
26
- var version = "2.4.1-beta.6";
26
+ var version = "2.4.1-beta.8";
27
27
 
28
28
  //#endregion
29
29
  //#region src/utils/create-jsx-element-resolver.ts
@@ -73,7 +73,7 @@ const DSIH$1 = "dangerouslySetInnerHTML";
73
73
  var no_dangerously_set_innerhtml_default = createRule({
74
74
  meta: {
75
75
  type: "problem",
76
- docs: { description: "Disallow 'dangerouslySetInnerHTML'." },
76
+ docs: { description: "Disallows 'dangerouslySetInnerHTML'." },
77
77
  messages: { noDangerouslySetInnerhtml: "Using 'dangerouslySetInnerHTML' may have security implications." },
78
78
  schema: []
79
79
  },
@@ -99,7 +99,7 @@ const RULE_NAME$16 = "no-dangerously-set-innerhtml-with-children";
99
99
  var no_dangerously_set_innerhtml_with_children_default = createRule({
100
100
  meta: {
101
101
  type: "problem",
102
- docs: { description: "Disallow 'dangerouslySetInnerHTML' and 'children' at the same time." },
102
+ docs: { description: "Disallows 'dangerouslySetInnerHTML' and 'children' at the same time." },
103
103
  messages: { noDangerouslySetInnerhtmlWithChildren: "A DOM component cannot use both children and 'dangerouslySetInnerHTML'." },
104
104
  schema: []
105
105
  },
@@ -137,7 +137,7 @@ const RULE_NAME$15 = "no-find-dom-node";
137
137
  var no_find_dom_node_default = createRule({
138
138
  meta: {
139
139
  type: "problem",
140
- docs: { description: "Disallow 'findDOMNode'." },
140
+ docs: { description: "Disallows 'findDOMNode'." },
141
141
  messages: { noFindDomNode: "[Deprecated] Use alternatives instead." },
142
142
  schema: []
143
143
  },
@@ -173,7 +173,7 @@ const RULE_NAME$14 = "no-flush-sync";
173
173
  var no_flush_sync_default = createRule({
174
174
  meta: {
175
175
  type: "problem",
176
- docs: { description: "Disallow 'flushSync'." },
176
+ docs: { description: "Disallows 'flushSync'." },
177
177
  messages: { noFlushSync: "Using 'flushSync' is uncommon and can hurt the performance of your app." },
178
178
  schema: []
179
179
  },
@@ -473,7 +473,7 @@ const banParentTypes = [
473
473
  var no_render_return_value_default = createRule({
474
474
  meta: {
475
475
  type: "problem",
476
- docs: { description: "Disallow the return value of 'ReactDOM.render'." },
476
+ docs: { description: "Disallows the return value of 'ReactDOM.render'." },
477
477
  messages: { noRenderReturnValue: "Do not depend on the return value from 'ReactDOM.render'." },
478
478
  schema: []
479
479
  },
@@ -524,7 +524,7 @@ const RULE_NAME$7 = "no-script-url";
524
524
  var no_script_url_default = createRule({
525
525
  meta: {
526
526
  type: "problem",
527
- docs: { description: "Disallow 'javascript:' URLs as attribute values." },
527
+ docs: { description: "Disallows 'javascript:' URLs as attribute values." },
528
528
  messages: { noScriptUrl: "Using a `javascript:` URL is a security risk and should be avoided." },
529
529
  schema: []
530
530
  },
@@ -549,7 +549,7 @@ const RULE_NAME$6 = "no-string-style-prop";
549
549
  var no_string_style_prop_default = createRule({
550
550
  meta: {
551
551
  type: "problem",
552
- docs: { description: "Disallow the use of string style prop in JSX. Use an object instead." },
552
+ docs: { description: "Disallows the use of string style prop in JSX. Use an object instead." },
553
553
  messages: { noStringStyleProp: "Do not use string style prop. Use an object instead." },
554
554
  schema: []
555
555
  },
@@ -1603,7 +1603,7 @@ const messages = {
1603
1603
  var no_unknown_property_default = createRule({
1604
1604
  meta: {
1605
1605
  type: "problem",
1606
- docs: { description: "Disallow unknown 'DOM' property." },
1606
+ docs: { description: "Disallows unknown 'DOM' property." },
1607
1607
  fixable: "code",
1608
1608
  messages,
1609
1609
  schema: [{
@@ -1770,7 +1770,7 @@ function isSafeRel(value) {
1770
1770
  var no_unsafe_target_blank_default = createRule({
1771
1771
  meta: {
1772
1772
  type: "problem",
1773
- docs: { description: "Disallow 'target=\"_blank\"' without 'rel=\"noreferrer noopener\"'." },
1773
+ docs: { description: "Disallows 'target=\"_blank\"' without 'rel=\"noreferrer noopener\"'." },
1774
1774
  fixable: "code",
1775
1775
  hasSuggestions: true,
1776
1776
  messages: {
@@ -1909,7 +1909,7 @@ const voidElements = new Set([
1909
1909
  var no_void_elements_with_children_default = createRule({
1910
1910
  meta: {
1911
1911
  type: "problem",
1912
- docs: { description: "Disallow 'children' in void DOM elements." },
1912
+ docs: { description: "Disallows 'children' in void DOM elements." },
1913
1913
  messages: { noVoidElementsWithChildren: "'{{elementType}}' is a void element tag and must not have children." },
1914
1914
  schema: []
1915
1915
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-dom",
3
- "version": "2.4.1-beta.6",
3
+ "version": "2.4.1-beta.8",
4
4
  "description": "ESLint React's ESLint plugin for React DOM related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -44,11 +44,11 @@
44
44
  "compare-versions": "^6.1.1",
45
45
  "string-ts": "^2.3.1",
46
46
  "ts-pattern": "^5.9.0",
47
- "@eslint-react/core": "2.4.1-beta.6",
48
- "@eslint-react/eff": "2.4.1-beta.6",
49
- "@eslint-react/ast": "2.4.1-beta.6",
50
- "@eslint-react/var": "2.4.1-beta.6",
51
- "@eslint-react/shared": "2.4.1-beta.6"
47
+ "@eslint-react/ast": "2.4.1-beta.8",
48
+ "@eslint-react/core": "2.4.1-beta.8",
49
+ "@eslint-react/eff": "2.4.1-beta.8",
50
+ "@eslint-react/shared": "2.4.1-beta.8",
51
+ "@eslint-react/var": "2.4.1-beta.8"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/react": "^19.2.7",