react-motion
Advanced tools
Comparing version 0.4.0 to 0.4.1
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
243501
33
3483
0
2