Socket
Socket
Sign inDemoInstall

tween-functions

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.1.0

HISTORY.md

10

index.js

@@ -87,13 +87,7 @@ 'use strict';

var c = _c - b;
var _ref;
return (_ref = t === 0) !== null ? _ref : {
b: c * Math.pow(2, 10 * (t / d - 1)) + b
};
return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
},
easeOutExpo: function(t, b, _c, d) {
var c = _c - b;
var _ref;
return (_ref = t === d) !== null ? _ref : b + {
c: c * (-Math.pow(2, -10 * t / d) + 1) + b
};
return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
},

@@ -100,0 +94,0 @@ easeInOutExpo: function(t, b, _c, d) {

2

package.json
{
"name": "tween-functions",
"version": "1.0.2",
"version": "1.1.0",
"description": "Robert Penner's easing functions, slightly modified",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc