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

tween-functions

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tween-functions - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

3

HISTORY.md

@@ -7,2 +7,5 @@ Legend:

### 1.2.0 (November 20th 2015)
- [F] Fix return value of `easeInOutExpo`, `easeInElastic`, `easeOutElastic` and `easeInOutElastic`. 20b7790
### 1.1.0 (October 16th 2015)

@@ -9,0 +12,0 @@ - [F] Fix `easeInExpo` and `easeOutExpo`. #2

16

index.js

@@ -96,6 +96,6 @@ 'use strict';

if (t === 0) {
b;
return b;
}
if (t === d) {
b + c;
return b + c;
}

@@ -131,5 +131,5 @@ if ((t /= d / 2) < 1) {

if (t === 0) {
b;
return b;
} else if ((t /= d) === 1) {
b + c;
return b + c;
}

@@ -154,5 +154,5 @@ if (!p) {

if (t === 0) {
b;
return b;
} else if ((t /= d) === 1) {
b + c;
return b + c;
}

@@ -177,5 +177,5 @@ if (!p) {

if (t === 0) {
b;
return b;
} else if ((t /= d / 2) === 2) {
b + c;
return b + c;
}

@@ -182,0 +182,0 @@ if (!p) {

{
"name": "tween-functions",
"version": "1.1.0",
"version": "1.2.0",
"description": "Robert Penner's easing functions, slightly modified",

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

@@ -15,3 +15,3 @@ # Tween-functions

var tweenFunctions = require('tween-functions');
tweenFunctions.easeInQuad(1, 0, 50, 5) // => 4
tweenFunctions.easeInQuad(1, 0, 50, 5); // => 4
```

@@ -18,0 +18,0 @@

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