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

eslint-plugin-lingui

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-lingui - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

11

lib/rules/no-unlocalized-strings.js

@@ -69,3 +69,3 @@ "use strict";

}
function isValidFunctionCall({ callee }) {
function isValidFunctionCall({ callee, }) {
switch (callee.type) {

@@ -89,2 +89,7 @@ case utils_1.TSESTree.AST_NODE_TYPES.MemberExpression: {

}
case utils_1.TSESTree.AST_NODE_TYPES.CallExpression: {
return ((callee.callee.type === utils_1.TSESTree.AST_NODE_TYPES.MemberExpression ||
callee.callee.type === utils_1.TSESTree.AST_NODE_TYPES.Identifier) &&
isValidFunctionCall(callee));
}
default:

@@ -260,3 +265,3 @@ return false;

},
'TSEnumDeclaration > Literal'(node) {
'TSEnumMember > Literal'(node) {
visited.add(node);

@@ -326,3 +331,3 @@ },

},
'TSEnumDeclaration > TemplateLiteral'(node) {
'TSEnumMember > TemplateLiteral'(node) {
visited.add(node);

@@ -329,0 +334,0 @@ },

{
"name": "eslint-plugin-lingui",
"version": "0.2.0",
"version": "0.2.1",
"description": "ESLint plugin for Lingui",

@@ -5,0 +5,0 @@ "keywords": [

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