New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@eslint-react/jsx

Package Overview
Dependencies
Maintainers
0
Versions
1128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint-react/jsx - npm Package Compare versions

Comparing version 1.30.1-next.1 to 1.30.1

4

dist/index.js

@@ -73,3 +73,3 @@ 'use strict';

const variable = VAR__namespace.findVariable(attr.argument.name, initialScope);
const variableNode = VAR__namespace.getVariableNode(variable, 0);
const variableNode = VAR__namespace.getVariableInitNode(variable, 0);
if (variableNode?.type === types.AST_NODE_TYPES.ObjectExpression) {

@@ -241,3 +241,3 @@ return VAR__namespace.findPropertyInProperties(name, variableNode.properties, initialScope) != null;

const variable = VAR__namespace.findVariable(name, jsxCtx.getScope(node));
const variableNode = variable && VAR__namespace.getVariableNode(variable, 0);
const variableNode = variable && VAR__namespace.getVariableInitNode(variable, 0);
return !!variableNode && isJSXValue(variableNode, jsxCtx, hint);

@@ -244,0 +244,0 @@ }

{
"name": "@eslint-react/jsx",
"version": "1.30.1-next.1",
"version": "1.30.1",
"description": "ESLint React's TSESTree AST utility module for static analysis of JSX.",

@@ -42,5 +42,5 @@ "homepage": "https://github.com/Rel1cx/eslint-react",

"ts-pattern": "^5.6.2",
"@eslint-react/ast": "1.30.1-next.1",
"@eslint-react/eff": "1.30.1-next.1",
"@eslint-react/var": "1.30.1-next.1"
"@eslint-react/ast": "1.30.1",
"@eslint-react/eff": "1.30.1",
"@eslint-react/var": "1.30.1"
},

@@ -47,0 +47,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc