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

react-motion

Package Overview
Dependencies
Maintainers
1
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.0 to 0.4.1

build/react-motion.js

2

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

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

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

### 0.4.1 (January 26th 2016)
- [F] Made a mistake while publishing the bower package; fixed.
### 0.4.0 (January 26th 2016)

@@ -9,0 +12,0 @@ - [B] `spring` helper's format has changed from `spring(10, [120, 12])` to `spring(10, {stiffness: 120, damping: 12})`.

@@ -6,6 +6,6 @@

// immediately destructures it and gets the numbers inside without passing the
'use strict';
"use strict";
exports.__esModule = true;
exports['default'] = stepper;
exports["default"] = stepper;

@@ -32,7 +32,2 @@ var reusedTuple = [];

// TODO: remove
if (x == null || v == null || destX == null || k == null || b == null || Number.isNaN(x) || Number.isNaN(v) || Number.isNaN(destX) || Number.isNaN(newV) || Number.isNaN(newX)) {
throw new Error('wtf');
}
if (Math.abs(newV) < precision && Math.abs(newX - destX) < precision) {

@@ -49,3 +44,3 @@ reusedTuple[0] = destX;

module.exports = exports['default'];
module.exports = exports["default"];
// array reference around.
{
"name": "react-motion",
"version": "0.4.0",
"version": "0.4.1",
"description": "A spring that solves your animation problems.",

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

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