Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-collapse

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-collapse - npm Package Compare versions

Comparing version 1.4.3 to 1.4.4

18

lib/openAnimation.js

@@ -6,9 +6,7 @@ 'use strict';

});
var velocity = undefined;
if (typeof document !== 'undefined' && typeof window !== 'undefined') {
velocity = require('velocity-animate');
}
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _velocityAnimate = require('velocity-animate');
var _velocityAnimate2 = _interopRequireDefault(_velocityAnimate);
function animate(node, show, transitionName, done) {

@@ -26,10 +24,10 @@ var ok = undefined;

node.style.display = show ? 'block' : 'none';
(0, _velocityAnimate2['default'])(node, transitionName, {
duration: 240,
velocity(node, transitionName, {
duration: 300,
complete: complete,
easing: 'easeInOutQuad'
easing: 'ease'
});
return {
stop: function stop() {
(0, _velocityAnimate2['default'])(node, 'finish');
velocity(node, 'finish');
complete();

@@ -36,0 +34,0 @@ }

{
"name": "rc-collapse",
"version": "1.4.3",
"version": "1.4.4",
"description": "rc-collapse ui component for react",

@@ -60,2 +60,2 @@ "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