@eslint-react/ast 5.30.0-beta.22 → 5.30.0-beta.23

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.d.ts +3 -2
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -151,8 +151,9 @@ declare namespace collect_d_exports {
151
151
  *
152
152
  * This is a syntactic walk, not a scope-aware reference search: identifiers in patterns are
153
153
  * collected too when the pattern is traversed (ex: `a` in `[a] = value`). The root is collected
154
- * when it is an identifier. The property name of a non-computed member access is not a reference,
155
- * so `obj.prop` collects only `obj`; non-computed object property keys are skipped as well.
154
+ * when it is an identifier, unless the root itself is a non-computed member property or object
155
+ * key. The property name of a non-computed member access is not a reference, so `obj.prop`
156
+ * collects only `obj`; non-computed object property keys are skipped as well.
156
157
  * Function and class nodes are not traversed, and statement roots contribute only their listed
157
158
  * expression-bearing keys.
158
159
  * @param node The node to collect identifiers from.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/ast",
3
- "version": "5.30.0-beta.22",
3
+ "version": "5.30.0-beta.23",
4
4
  "description": "ESLint React's TSESTree AST utility module.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -42,7 +42,7 @@
42
42
  "eslint": "^10.14.0",
43
43
  "tsdown": "^0.23.4",
44
44
  "typescript": "6.0.3",
45
- "vitest": "^5.0.5"
45
+ "vitest": "^5.1.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "eslint": "*",