eslint-plugin-react-dom 2.3.13-next.0 → 2.3.13-next.2

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 +22 -22
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ var __export = (all, symbols) => {
23
23
  //#endregion
24
24
  //#region package.json
25
25
  var name$2 = "eslint-plugin-react-dom";
26
- var version = "2.3.13-next.0";
26
+ var version = "2.3.13-next.2";
27
27
 
28
28
  //#endregion
29
29
  //#region src/utils/create-jsx-element-resolver.ts
@@ -35,7 +35,7 @@ var version = "2.3.13-next.0";
35
35
  * 1. Regular HTML elements (div, span, etc.)
36
36
  * 2. Polymorphic components (components that can render as different elements via a prop)
37
37
  *
38
- * @param context - The ESLint rule context
38
+ * @param context The ESLint rule context
39
39
  * @returns An object with a resolve method to determine element types
40
40
  */
41
41
  function createJsxElementResolver(context) {
@@ -1530,7 +1530,7 @@ const POPOVER_API_PROPS = [
1530
1530
  ];
1531
1531
  /**
1532
1532
  * Gets all valid DOM property names based on React version
1533
- * @param context - ESLint rule context
1533
+ * @param context ESLint rule context
1534
1534
  * @returns Array of valid DOM property names
1535
1535
  */
1536
1536
  function getDOMPropertyNames(context) {
@@ -1546,7 +1546,7 @@ function getDOMPropertyNames(context) {
1546
1546
  /**
1547
1547
  * Checks if a node's parent is a JSX tag that is written with lowercase letters,
1548
1548
  * and is not a custom web component.
1549
- * @param childNode - JSX element being tested
1549
+ * @param childNode JSX element being tested
1550
1550
  * @returns Whether the node is a valid HTML tag in JSX
1551
1551
  */
1552
1552
  function isValidHTMLTagInJSX(childNode) {
@@ -1555,7 +1555,7 @@ function isValidHTMLTagInJSX(childNode) {
1555
1555
  }
1556
1556
  /**
1557
1557
  * Normalizes attribute names that should be case-insensitive
1558
- * @param name - Attribute name to normalize
1558
+ * @param name Attribute name to normalize
1559
1559
  * @returns Normalized attribute name
1560
1560
  */
1561
1561
  function normalizeAttributeCase(name$3) {
@@ -1563,7 +1563,7 @@ function normalizeAttributeCase(name$3) {
1563
1563
  }
1564
1564
  /**
1565
1565
  * Checks if an attribute name is a valid data-* attribute
1566
- * @param name - Attribute name to test
1566
+ * @param name Attribute name to test
1567
1567
  * @returns Whether the attribute is a valid data attribute
1568
1568
  */
1569
1569
  function isValidDataAttribute(name$3) {
@@ -1571,7 +1571,7 @@ function isValidDataAttribute(name$3) {
1571
1571
  }
1572
1572
  /**
1573
1573
  * Checks if an attribute name has uppercase characters
1574
- * @param name - Attribute name to test
1574
+ * @param name Attribute name to test
1575
1575
  * @returns Whether the name has uppercase characters
1576
1576
  */
1577
1577
  function hasUpperCaseCharacter(name$3) {
@@ -1579,7 +1579,7 @@ function hasUpperCaseCharacter(name$3) {
1579
1579
  }
1580
1580
  /**
1581
1581
  * Checks if an attribute is a valid ARIA attribute
1582
- * @param name - Attribute name to test
1582
+ * @param name Attribute name to test
1583
1583
  * @returns Whether the attribute is a valid ARIA attribute
1584
1584
  */
1585
1585
  function isValidAriaAttribute(name$3) {
@@ -1587,7 +1587,7 @@ function isValidAriaAttribute(name$3) {
1587
1587
  }
1588
1588
  /**
1589
1589
  * Gets the tag name for a JSXAttribute
1590
- * @param node - JSXAttribute to get tag name from
1590
+ * @param node JSXAttribute to get tag name from
1591
1591
  * @returns Tag name or null
1592
1592
  */
1593
1593
  function getTagName(node) {
@@ -1596,7 +1596,7 @@ function getTagName(node) {
1596
1596
  }
1597
1597
  /**
1598
1598
  * Checks if the tag name has a dot (member expression)
1599
- * @param node - JSXAttribute to check
1599
+ * @param node JSXAttribute to check
1600
1600
  * @returns Whether the tag name has a dot
1601
1601
  */
1602
1602
  function tagNameHasDot(node) {
@@ -1604,8 +1604,8 @@ function tagNameHasDot(node) {
1604
1604
  }
1605
1605
  /**
1606
1606
  * Gets the standard name of an attribute
1607
- * @param name - Attribute name
1608
- * @param context - ESLint context
1607
+ * @param name Attribute name
1608
+ * @param context ESLint context
1609
1609
  * @returns Standard name or undefined
1610
1610
  */
1611
1611
  function getStandardName(name$3, context) {
@@ -1615,8 +1615,8 @@ function getStandardName(name$3, context) {
1615
1615
  }
1616
1616
  /**
1617
1617
  * Checks if an object has a property
1618
- * @param obj - Object to check
1619
- * @param key - Key to check for
1618
+ * @param obj Object to check
1619
+ * @param key Key to check for
1620
1620
  * @returns Whether the object has the property
1621
1621
  */
1622
1622
  function has(obj, key) {
@@ -1624,8 +1624,8 @@ function has(obj, key) {
1624
1624
  }
1625
1625
  /**
1626
1626
  * Gets text of a node
1627
- * @param context - ESLint context
1628
- * @param node - Node to get text from
1627
+ * @param context ESLint context
1628
+ * @param node Node to get text from
1629
1629
  * @returns Node's text
1630
1630
  */
1631
1631
  function getText(context, node) {
@@ -1633,9 +1633,9 @@ function getText(context, node) {
1633
1633
  }
1634
1634
  /**
1635
1635
  * Tests React version against a comparator
1636
- * @param context - ESLint context
1637
- * @param comparator - Comparison operator
1638
- * @param version - Version to compare against
1636
+ * @param context ESLint context
1637
+ * @param comparator Comparison operator
1638
+ * @param version Version to compare against
1639
1639
  * @returns Comparison result
1640
1640
  */
1641
1641
  function testReactVersion(context, comparator, version$1) {
@@ -1675,7 +1675,7 @@ var no_unknown_property_default = createRule({
1675
1675
  });
1676
1676
  /**
1677
1677
  * Create function for the ESLint rule
1678
- * @param context - ESLint rule context
1678
+ * @param context ESLint rule context
1679
1679
  * @returns Rule listener
1680
1680
  */
1681
1681
  function create$5(context) {
@@ -1803,7 +1803,7 @@ const RULE_FEATURES$3 = ["FIX"];
1803
1803
  /**
1804
1804
  * Checks if a value appears to be an external link.
1805
1805
  * External links typically start with http(s):// or have protocol-relative format.
1806
- * @param value - The value to check
1806
+ * @param value The value to check
1807
1807
  * @returns Whether the value represents an external link
1808
1808
  */
1809
1809
  function isExternalLinkLike(value) {
@@ -1813,7 +1813,7 @@ function isExternalLinkLike(value) {
1813
1813
  /**
1814
1814
  * Checks if a rel prop value contains the necessary security attributes.
1815
1815
  * At minimum, it should contain "noreferrer".
1816
- * @param value - The rel prop value to check
1816
+ * @param value The rel prop value to check
1817
1817
  * @returns Whether the rel value is considered secure
1818
1818
  */
1819
1819
  function isSafeRel(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-dom",
3
- "version": "2.3.13-next.0",
3
+ "version": "2.3.13-next.2",
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.3.13-next.0",
48
- "@eslint-react/eff": "2.3.13-next.0",
49
- "@eslint-react/ast": "2.3.13-next.0",
50
- "@eslint-react/shared": "2.3.13-next.0",
51
- "@eslint-react/var": "2.3.13-next.0"
47
+ "@eslint-react/ast": "2.3.13-next.2",
48
+ "@eslint-react/shared": "2.3.13-next.2",
49
+ "@eslint-react/eff": "2.3.13-next.2",
50
+ "@eslint-react/core": "2.3.13-next.2",
51
+ "@eslint-react/var": "2.3.13-next.2"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/react": "^19.2.7",