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

react-d3-animation

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-d3-animation - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

4

lib/animate.js

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

_lodash2.default.forIn(filter, function (val, key) {
if (_lodash2.default.isObject(val) || _lodash2.default.isNumber(val) || _lodash2.default.isString(val) || _lodash2.default.isArray(val) || !_lodash2.default.isFunction(val)) that.interpolate[key] = _d2.default.interpolate(that.state[key], nextProps[key]);
if ((_lodash2.default.isObject(val) || _lodash2.default.isNumber(val) || _lodash2.default.isString(val) || _lodash2.default.isArray(val)) && !_lodash2.default.isFunction(val)) that.interpolate[key] = _d2.default.interpolate(that.state[key], nextProps[key]);
});

@@ -81,3 +81,3 @@

_lodash2.default.forIn(filter, function (val, key) {
if (_lodash2.default.isObject(val) || _lodash2.default.isNumber(val) || _lodash2.default.isString(val) || _lodash2.default.isArray(val) || !_lodash2.default.isFunction(val)) newState[key] = that.interpolate[key](frame / time);
if ((_lodash2.default.isObject(val) || _lodash2.default.isNumber(val) || _lodash2.default.isString(val) || _lodash2.default.isArray(val)) && !_lodash2.default.isFunction(val)) newState[key] = that.interpolate[key](frame / time);
});

@@ -84,0 +84,0 @@

{
"name": "react-d3-animation",
"version": "0.2.1",
"version": "0.2.2",
"description": "react-d3 animation",

@@ -5,0 +5,0 @@ "main": "./lib/index.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