New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

css-spring

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-spring - npm Package Compare versions

Comparing version
2.0.1
to
2.1.0
+6
-2
build/index.js

@@ -27,2 +27,4 @@ 'use strict';

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var presets = {

@@ -49,4 +51,6 @@ noWobble: { stiffness: 170, damping: 26 },

var steps = {};
var cache = (0, _cache.initCache)(startProps, targetProps);
var steps = { '0%': Object.keys(cache).reduce(function (accu, key) {
return Object.assign(accu, _defineProperty({}, key, cache[key].start));
}, {}) };

@@ -64,3 +68,3 @@ var _loop = function _loop(i) {

prop.cache = { value: value, velocity: velocity };
props[key] = +prop.cache.value.toFixed(precision);
props[key] = +(i === 100 ? prop.target : prop.cache.value).toFixed(precision);
});

@@ -67,0 +71,0 @@ steps[i + '%'] = props;

{
"name": "css-spring",
"version": "2.0.1",
"version": "2.1.0",
"description": "Generates values for physics based css-keyframe animations",

@@ -5,0 +5,0 @@ "main": "build/index.js",

Sorry, the diff of this file is not supported yet