@eslint-react/ast 2.7.4-next.5 → 2.7.4-next.6

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 +4 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -241,10 +241,10 @@ function getNestedIdentifiers(node) {
241
241
  function getNestedReturnStatements(node) {
242
242
  const statements = [];
243
243
  const boundaryNode = isFunction(node) ? node : findParentNode(node, isFunction);
244
- simpleTraverse(node, { enter(node$1) {
245
- if (node$1.type !== AST_NODE_TYPES.ReturnStatement) return;
246
- if (findParentNode(node$1, isFunction) !== boundaryNode) return;
247
- statements.push(node$1);
244
+ simpleTraverse(node, { enter(node) {
245
+ if (node.type !== AST_NODE_TYPES.ReturnStatement) return;
246
+ if (findParentNode(node, isFunction) !== boundaryNode) return;
247
+ statements.push(node);
248
248
  } });
249
249
  return statements;
250
250
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/ast",
3
- "version": "2.7.4-next.5",
3
+ "version": "2.7.4-next.6",
4
4
  "description": "ESLint React's TSESTree AST utility module.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -34,10 +34,10 @@
34
34
  "@typescript-eslint/typescript-estree": "^8.53.1",
35
35
  "@typescript-eslint/utils": "^8.53.1",
36
36
  "string-ts": "^2.3.1",
37
- "@eslint-react/eff": "2.7.4-next.5"
37
+ "@eslint-react/eff": "2.7.4-next.6"
38
38
  },
39
39
  "devDependencies": {
40
- "tsdown": "^0.20.0-beta.4",
40
+ "tsdown": "^0.20.1",
41
41
  "@local/configs": "0.0.0"
42
42
  },
43
43
  "peerDependencies": {