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

react-simple-animate

Package Overview
Dependencies
Maintainers
2
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-simple-animate - npm Package Compare versions

Comparing version 1.0.3 to 1.0.6

5

lib/animate.js

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

return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Animate.__proto__ || Object.getPrototypeOf(Animate)).call.apply(_ref, [this].concat(args))), _this), _this.state = defaultState, _this.animationTimeout = null, _this.setAnimationDelay = function (condition, stateName, duration) {
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Animate.__proto__ || Object.getPrototypeOf(Animate)).call.apply(_ref, [this].concat(args))), _this), _this.state = defaultState, _this.animationTimeout = null, _this.setAnimationDelay = function (condition, stateName, durationSeconds) {
if (!condition) return;

@@ -50,6 +50,5 @@ clearTimeout(_this.animationTimeout);

_this.setState(_defineProperty({}, stateName, true));
}, duration * 1000);
}, durationSeconds * 1000);
}, _temp), _possibleConstructorReturn(_this, _ret);
}
// props: Props;

@@ -56,0 +55,0 @@ _createClass(Animate, [{

4

package.json
{
"name": "react-simple-animate",
"version": "1.0.3",
"version": "1.0.6",
"description": "react simple animate",

@@ -12,3 +12,3 @@ "main": "lib/animate.js",

"build": "babel src/ -d lib/",
"prepublish": "yarn test && yarn run clean && yarn build",
"prepublish": "yarn test && yarn flow && yarn run clean && yarn build",
"flow": "flow"

@@ -15,0 +15,0 @@ },

@@ -19,7 +19,7 @@ # React Simple Animate

Navgiate into `example` folder and install
Navigate into `example` folder and install
$ yarn
$ yarn && yarn start
or
$ npm install
$ npm install && npm start

@@ -26,0 +26,0 @@ <img src="https://github.com/bluebill1049/react-simple-animate/blob/master/example/screenShot.png" alt="Sceen" width="400"/>

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