@eslint-react/core 5.3.3-next.0 → 5.3.3-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.
package/dist/index.d.ts CHANGED
@@ -315,7 +315,7 @@ type FunctionSemanticNode = ClientFunctionSemanticNode | ServerFunctionSemanticN
315
315
  * @param node - The function node to analyze.
316
316
  * @returns The identifier node if found, `null` otherwise.
317
317
  */
318
- declare function getFunctionId(node: TSESTree.Expression | TSESTreeFunction): TSESTree.ArrayExpression | TSESTree.ArrayPattern | TSESTree.ArrowFunctionExpression | TSESTree.AssignmentExpression | TSESTree.AwaitExpression | TSESTree.PrivateInExpression | TSESTree.SymmetricBinaryExpression | TSESTree.CallExpression | TSESTree.ChainExpression | TSESTree.ClassExpression | TSESTree.ConditionalExpression | TSESTree.FunctionExpression | TSESTree.Identifier | TSESTree.ImportExpression | TSESTree.JSXElement | TSESTree.JSXFragment | TSESTree.BigIntLiteral | TSESTree.BooleanLiteral | TSESTree.NullLiteral | TSESTree.NumberLiteral | TSESTree.RegExpLiteral | TSESTree.StringLiteral | TSESTree.TemplateLiteral | TSESTree.LogicalExpression | TSESTree.MemberExpressionComputedName | TSESTree.MemberExpressionNonComputedName | TSESTree.MetaProperty | TSESTree.NewExpression | TSESTree.ObjectExpression | TSESTree.ObjectPattern | TSESTree.SequenceExpression | TSESTree.Super | TSESTree.TaggedTemplateExpression | TSESTree.ThisExpression | TSESTree.TSAsExpression | TSESTree.TSInstantiationExpression | TSESTree.TSNonNullExpression | TSESTree.TSSatisfiesExpression | TSESTree.TSTypeAssertion | TSESTree.UnaryExpressionBitwiseNot | TSESTree.UnaryExpressionDelete | TSESTree.UnaryExpressionMinus | TSESTree.UnaryExpressionNot | TSESTree.UnaryExpressionPlus | TSESTree.UnaryExpressionTypeof | TSESTree.UnaryExpressionVoid | TSESTree.UpdateExpression | TSESTree.YieldExpression | TSESTree.PrivateIdentifier | null;
318
+ declare function getFunctionId(node: TSESTree.Expression | TSESTreeFunction): TSESTree.ArrayExpression | TSESTree.ArrayPattern | TSESTree.ArrowFunctionExpression | TSESTree.AssignmentExpression | TSESTree.AwaitExpression | TSESTree.PrivateInExpression | TSESTree.SymmetricBinaryExpression | TSESTree.CallExpression | TSESTree.ChainExpression | TSESTree.ClassExpression | TSESTree.ConditionalExpression | TSESTree.FunctionExpression | TSESTree.Identifier | TSESTree.ImportExpression | TSESTree.JSXElement | TSESTree.JSXFragment | TSESTree.BigIntLiteral | TSESTree.BooleanLiteral | TSESTree.NullLiteral | TSESTree.NumberLiteral | TSESTree.RegExpLiteral | TSESTree.StringLiteral | TSESTree.LogicalExpression | TSESTree.MemberExpressionComputedName | TSESTree.MemberExpressionNonComputedName | TSESTree.MetaProperty | TSESTree.NewExpression | TSESTree.ObjectExpression | TSESTree.ObjectPattern | TSESTree.PrivateIdentifier | TSESTree.SequenceExpression | TSESTree.Super | TSESTree.TaggedTemplateExpression | TSESTree.TemplateLiteral | TSESTree.ThisExpression | TSESTree.TSAsExpression | TSESTree.TSInstantiationExpression | TSESTree.TSNonNullExpression | TSESTree.TSSatisfiesExpression | TSESTree.TSTypeAssertion | TSESTree.UnaryExpressionBitwiseNot | TSESTree.UnaryExpressionDelete | TSESTree.UnaryExpressionMinus | TSESTree.UnaryExpressionNot | TSESTree.UnaryExpressionPlus | TSESTree.UnaryExpressionTypeof | TSESTree.UnaryExpressionVoid | TSESTree.UpdateExpression | TSESTree.YieldExpression | null;
319
319
  /**
320
320
  * Identifies the initialization path of a function node in the AST.
321
321
  *
package/dist/index.js CHANGED
@@ -385,7 +385,7 @@ function isAssignmentToThisState(node) {
385
385
  */
386
386
  function getClassComponentCollector(context) {
387
387
  const components = /* @__PURE__ */ new Map();
388
- const api = { getAllComponents(node) {
388
+ const api = { getAllComponents(_) {
389
389
  return [...components.values()];
390
390
  } };
391
391
  const getText = (n) => context.sourceCode.getText(n);
@@ -884,7 +884,7 @@ function getFunctionComponentCollector(context, options = {}) {
884
884
  return functionEntries.pop();
885
885
  };
886
886
  return {
887
- api: { getAllComponents(node) {
887
+ api: { getAllComponents(_) {
888
888
  return [...components.values()];
889
889
  } },
890
890
  visitor: {
@@ -965,7 +965,7 @@ function getHookCollector(context) {
965
965
  functionEntries.pop();
966
966
  };
967
967
  return {
968
- api: { getAllHooks(node) {
968
+ api: { getAllHooks(_) {
969
969
  return [...hooks.values()];
970
970
  } },
971
971
  visitor: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/core",
3
- "version": "5.3.3-next.0",
3
+ "version": "5.3.3-next.2",
4
4
  "description": "ESLint React's ESLint utility module for static analysis of React core APIs and patterns.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -30,18 +30,18 @@
30
30
  "./package.json"
31
31
  ],
32
32
  "dependencies": {
33
- "@typescript-eslint/scope-manager": "^8.58.2",
34
- "@typescript-eslint/types": "^8.58.2",
35
- "@typescript-eslint/utils": "^8.58.2",
33
+ "@typescript-eslint/scope-manager": "^8.59.0",
34
+ "@typescript-eslint/types": "^8.59.0",
35
+ "@typescript-eslint/utils": "^8.59.0",
36
36
  "ts-pattern": "^5.9.0",
37
- "@eslint-react/ast": "5.3.3-next.0",
38
- "@eslint-react/eslint": "5.3.3-next.0",
39
- "@eslint-react/jsx": "5.3.3-next.0",
40
- "@eslint-react/shared": "5.3.3-next.0",
41
- "@eslint-react/var": "5.3.3-next.0"
37
+ "@eslint-react/ast": "5.3.3-next.2",
38
+ "@eslint-react/jsx": "5.3.3-next.2",
39
+ "@eslint-react/eslint": "5.3.3-next.2",
40
+ "@eslint-react/shared": "5.3.3-next.2",
41
+ "@eslint-react/var": "5.3.3-next.2"
42
42
  },
43
43
  "devDependencies": {
44
- "@typescript-eslint/typescript-estree": "^8.58.2",
44
+ "@typescript-eslint/typescript-estree": "^8.59.0",
45
45
  "tsdown": "^0.21.9",
46
46
  "@local/eff": "3.0.0-beta.72",
47
47
  "@local/configs": "0.0.0"