@eslint-react/var 5.30.0-beta.7 → 5.30.0-beta.8

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 +3 -3
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -469,9 +469,9 @@ function resolveObjectTypeInner(context, node, seen, options) {
469
469
  case AST_NODE_TYPES.CallExpression: {
470
470
  const callee = Extract.unwrap(node.callee);
471
471
  switch (true) {
472
- case Check.isIdentifier(callee, "Boolean") && isUnshadowedGlobal(context, callee): return null;
473
- case Check.isIdentifier(callee, "String") && isUnshadowedGlobal(context, callee): return null;
474
- case Check.isIdentifier(callee, "Number") && isUnshadowedGlobal(context, callee): return null;
472
+ case Check.isIdentifier(callee, "Boolean"):
473
+ case Check.isIdentifier(callee, "String"):
474
+ case Check.isIdentifier(callee, "Number"): return null;
475
475
  case Check.isIdentifier(callee, "Object") && isUnshadowedGlobal(context, callee): return {
476
476
  kind: "plain",
477
477
  node,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/var",
3
- "version": "5.30.0-beta.7",
3
+ "version": "5.30.0-beta.8",
4
4
  "description": "ESLint React's TSESTree AST utility module for static analysis of variables.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -29,8 +29,8 @@
29
29
  "dist"
30
30
  ],
31
31
  "dependencies": {
32
- "@eslint-react/ast": "5.30.0-beta.7",
33
- "@eslint-react/eslint": "5.30.0-beta.7",
32
+ "@eslint-react/ast": "5.30.0-beta.8",
33
+ "@eslint-react/eslint": "5.30.0-beta.8",
34
34
  "@typescript-eslint/scope-manager": "^8.72.1",
35
35
  "@typescript-eslint/types": "^8.72.1",
36
36
  "@typescript-eslint/utils": "^8.72.1",