Socket
Socket
Sign inDemoInstall

rc-motion

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-motion - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

4

es/hooks/useStatus.js

@@ -155,2 +155,4 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";

useIsomorphicLayoutEffect(function () {
setAsyncVisible(visible);
if (!supportMotion) {

@@ -183,4 +185,2 @@ return;

}
setAsyncVisible(visible);
}, [visible]); // ============================ Effect ============================

@@ -187,0 +187,0 @@ // Reset when motion changed

@@ -173,2 +173,4 @@ "use strict";

(0, _useIsomorphicLayoutEffect.default)(function () {
setAsyncVisible(visible);
if (!supportMotion) {

@@ -201,4 +203,2 @@ return;

}
setAsyncVisible(visible);
}, [visible]); // ============================ Effect ============================

@@ -205,0 +205,0 @@ // Reset when motion changed

{
"name": "rc-motion",
"version": "2.1.1",
"version": "2.1.2",
"description": "React lifecycle controlled motion library",

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

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