Socket
Socket
Sign inDemoInstall

eslint-plugin-react-native-animation-linter

Package Overview
Dependencies
123
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.7 to 0.0.8

8

lib/rules/must-tear-down-animations.js

@@ -74,3 +74,3 @@ /**

const newState = _getStateUpdate(node);
if (newState) {
if (newState && newState.properties) {
newState.properties.forEach(p => {

@@ -173,3 +173,4 @@ const stateProperty = p.key.name;

currNode.type === "FunctionExpression" &&
currNode.parent && currNode.parent.key.name === "getInitialState"
currNode.parent &&
currNode.parent.key.name === "getInitialState"
) {

@@ -318,3 +319,4 @@ return node.key.name;

if (
specifier && specifier.local.name === "Animated" &&
specifier &&
specifier.local.name === "Animated" &&
node.source.value !== "react-native"

@@ -321,0 +323,0 @@ ) {

{
"name": "eslint-plugin-react-native-animation-linter",
"version": "0.0.7",
"version": "0.0.8",
"author": "askerry",

@@ -5,0 +5,0 @@ "description": "Lint rules to ensure safe management of React Native animations.",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc