@eslint-react/ast 2.0.0-next.175 → 2.0.0-next.177

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 +1 -2
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -313,8 +313,7 @@ function getNestedReturnStatements(node) {
313
313
  const boundaryNode = isFunction(node) ? node : findParentNode(node, isFunction);
314
314
  simpleTraverse(node, { enter(node$1) {
315
315
  if (node$1.type !== AST_NODE_TYPES.ReturnStatement) return;
316
- const parentFunction = findParentNode(node$1, isFunction);
317
- if (parentFunction !== boundaryNode) return;
316
+ if (findParentNode(node$1, isFunction) !== boundaryNode) return;
318
317
  statements.push(node$1);
319
318
  } });
320
319
  return statements;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/ast",
3
- "version": "2.0.0-next.175",
3
+ "version": "2.0.0-next.177",
4
4
  "description": "ESLint React's TSESTree AST utility module.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -27,15 +27,15 @@
27
27
  "./package.json"
28
28
  ],
29
29
  "dependencies": {
30
- "@typescript-eslint/types": "^8.42.0",
31
- "@typescript-eslint/typescript-estree": "^8.42.0",
32
- "@typescript-eslint/utils": "^8.42.0",
30
+ "@typescript-eslint/types": "^8.43.0",
31
+ "@typescript-eslint/typescript-estree": "^8.43.0",
32
+ "@typescript-eslint/utils": "^8.43.0",
33
33
  "string-ts": "^2.2.1",
34
34
  "ts-pattern": "^5.8.0",
35
- "@eslint-react/eff": "2.0.0-next.175"
35
+ "@eslint-react/eff": "2.0.0-next.177"
36
36
  },
37
37
  "devDependencies": {
38
- "tsdown": "^0.14.2",
38
+ "tsdown": "^0.15.0",
39
39
  "@local/configs": "0.0.0"
40
40
  },
41
41
  "engines": {