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

@eslint-react/var

Package Overview
Dependencies
Maintainers
0
Versions
844
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint-react/var - npm Package Compare versions

Comparing version 1.22.1-next.1 to 1.22.1-next.2

6

dist/index.js

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

return eff.F.pipe(
getRequireExpressionArgument(init),
getRequireExpressionArguments(init),
eff.O.flatMapNullable((args) => args[0]),

@@ -214,3 +214,3 @@ eff.O.filter(AST__namespace.isStringLiteral),

}
function getRequireExpressionArgument(node) {
function getRequireExpressionArguments(node) {
switch (true) {

@@ -223,3 +223,3 @@ // require('source')

case node.type === types.AST_NODE_TYPES.MemberExpression: {
return getRequireExpressionArgument(node.object);
return getRequireExpressionArguments(node.object);
}

@@ -226,0 +226,0 @@ }

{
"name": "@eslint-react/var",
"version": "1.22.1-next.1",
"version": "1.22.1-next.2",
"description": "ESLint React's TSESTree AST utility module for static analysis of variables",

@@ -41,9 +41,9 @@ "homepage": "https://github.com/rel1cx/eslint-react",

"@typescript-eslint/utils": "^8.18.1",
"string-ts": "^2.2.0",
"ts-pattern": "^5.6.0",
"@eslint-react/ast": "1.22.1-next.1",
"@eslint-react/types": "1.22.1-next.1",
"@eslint-react/eff": "1.22.1-next.1"
"@eslint-react/ast": "1.22.1-next.2",
"@eslint-react/eff": "1.22.1-next.2",
"@eslint-react/types": "1.22.1-next.2"
},
"devDependencies": {
"string-ts": "^2.2.0",
"tsup": "^8.3.5",

@@ -50,0 +50,0 @@ "@workspace/configs": "0.0.0"

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