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.2.1 to 0.2.2

2

HISTORY.md

@@ -7,3 +7,3 @@ Legend:

### 0.2.1 (July 24th 2015)
### 0.2.2 (July 24th 2015)
- [F] Import some internal modules correctly for Ubuntu/Linux node (case-sensitive for them).

@@ -10,0 +10,0 @@ - [F] Nested springs work again.

@@ -11,6 +11,7 @@ // Just like Array.prototype.filter, but passes third argument as the first

var ret = [];
var len = array.length;
var index = 0;
while (index < len) {
// Don’t cache array.length since we want to iterate
// over items that might be added during filtering.
while (index < array.length) {
if (callback(argument, array[index], index, array)) {

@@ -17,0 +18,0 @@ ret.push(array[index]);

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

var _lodashIsPlainObject = require('lodash.isPlainObject');
var _lodashIsplainobject = require('lodash.isplainobject');

@@ -20,3 +20,3 @@ // currenly a helper used for producing a tree of the same shape as the

var _lodashIsPlainObject2 = _interopRequireDefault(_lodashIsPlainObject);
var _lodashIsplainobject2 = _interopRequireDefault(_lodashIsplainobject);

@@ -35,3 +35,3 @@ function _mapTree(path, f, trees) {

}
if (_lodashIsPlainObject2['default'](t1)) {
if (_lodashIsplainobject2['default'](t1)) {
return Object.keys(t1).reduce(function (newTree, key) {

@@ -38,0 +38,0 @@ newTree[key] = _mapTree([].concat(path, [key]), f, trees.map(function (val) {

@@ -8,5 +8,5 @@ 'use strict';

var _lodashIsPlainObject = require('lodash.isPlainObject');
var _lodashIsplainobject = require('lodash.isplainobject');
var _lodashIsPlainObject2 = _interopRequireDefault(_lodashIsPlainObject);
var _lodashIsplainobject2 = _interopRequireDefault(_lodashIsplainobject);

@@ -17,3 +17,3 @@ function noVelocity(coll) {

}
if (_lodashIsPlainObject2['default'](coll)) {
if (_lodashIsplainobject2['default'](coll)) {
return Object.keys(coll).every(function (key) {

@@ -20,0 +20,0 @@ return key === 'config' ? true : noVelocity(coll[key]);

@@ -17,5 +17,5 @@ 'use strict';

var _lodashIsPlainObject = require('lodash.isPlainObject');
var _lodashIsplainobject = require('lodash.isplainobject');
var _lodashIsPlainObject2 = _interopRequireDefault(_lodashIsPlainObject);
var _lodashIsplainobject2 = _interopRequireDefault(_lodashIsplainobject);

@@ -80,3 +80,3 @@ var _stepper = require('./stepper');

}
if (_lodashIsPlainObject2['default'](nextValue)) {
if (_lodashIsplainobject2['default'](nextValue)) {
return Object.keys(nextValue).reduce(function (ret, key) {

@@ -125,3 +125,3 @@ ret[key] = interpolateValue(alpha, nextValue[key], prevValue[key]);

}
if (_lodashIsPlainObject2['default'](endValue)) {
if (_lodashIsplainobject2['default'](endValue)) {
return Object.keys(endValue).reduce(function (ret, key) {

@@ -168,3 +168,3 @@ ret[key] = updateCurrValue(frameRate, currValue[key], currVelocity[key], endValue[key], k, b);

}
if (_lodashIsPlainObject2['default'](endValue)) {
if (_lodashIsplainobject2['default'](endValue)) {
return Object.keys(endValue).reduce(function (ret, key) {

@@ -171,0 +171,0 @@ ret[key] = updateCurrVelocity(frameRate, currValue[key], currVelocity[key], endValue[key], k, b);

{
"name": "react-motion",
"version": "0.2.1",
"version": "0.2.2",
"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