Socket
Socket
Sign inDemoInstall

react-motion

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-motion - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

2

bower.json
{
"name": "react-motion",
"version": "0.4.3",
"version": "0.4.4",
"homepage": "https://github.com/chenglou/react-motion",

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

@@ -6,2 +6,5 @@ Legend:

### 0.4.4 (June 4th 2016)
- [F] Small fix to component unmounting bug (https://github.com/chenglou/react-motion/commit/49ea396041b0031b95f4941cc7efce200fcca454). It's not clear why this is erroring, but people want the temp fix.
### 0.4.3 (April 19th 2016)

@@ -8,0 +11,0 @@ - [F] `TransitionMotion` `styles` function not being passed `defaultStyles` value upon first call. #296

{
"name": "react-motion",
"version": "0.4.3",
"version": "0.4.4",
"description": "A spring that solves your animation problems.",

@@ -5,0 +5,0 @@ "main": "lib/react-motion.js",

@@ -86,3 +86,3 @@ # React-Motion

P.S. using TypeScript? [Here](https://github.com/chenglou/react-motion/issues/300#issuecomment-207262071) are the React-motion TypeScript definitions!
P.S. using TypeScript? [Here](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/react-motion/react-motion.d.ts) are the React-motion TypeScript definitions!

@@ -89,0 +89,0 @@ ---

@@ -340,2 +340,5 @@ /* @flow */

startAnimationIfNecessary(): void {
if (this.unmounting) {
return;
}
// TODO: when config is {a: 10} and dest is {a: 10} do we raf once and

@@ -506,2 +509,3 @@ // call cb? No, otherwise accidental parent rerender causes cb trigger

componentWillUnmount() {
this.unmounting = true;
if (this.animationID != null) {

@@ -508,0 +512,0 @@ defaultRaf.cancel(this.animationID);

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