Skip to content

Commit

Permalink
Released 1.0.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
jclo committed Jan 27, 2024
1 parent 320ec60 commit 0e60d17
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 24 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -5,7 +5,7 @@
* Updated the url of the build badge,
* Updated the project with ES6lib v2.1 (no Gulp, Github Actions),
* Updated the badges in the README.md file,
* ...,
* Release.


### 1.0.1 (January 29, 2022)
Expand Down
12 changes: 4 additions & 8 deletions _dist/README.md
Expand Up @@ -2,7 +2,7 @@

[![NPM version][npm-image]][npm-url]
[![GitHub last commit][commit-image]][commit-url]
[![Travis CI][travis-image]][travis-url]
[![Github workflow][ci-image]][ci-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![npm bundle size][npm-bundle-size-image]][npm-bundle-size-url]
[![License][license-image]](LICENSE.md)
Expand Down Expand Up @@ -82,19 +82,15 @@ easeInOutBounce
[npm-image]: https://img.shields.io/npm/v/@mobilabs/easing.svg?style=flat-square
[release-image]: https://img.shields.io/github/release/jclo/easing.svg?include_prereleases&style=flat-square
[commit-image]: https://img.shields.io/github/last-commit/jclo/easing.svg?style=flat-square
[travis-image]: https://img.shields.io/travis/jclo/easing.svg?style=flat-square
[ci-image]: https://github.com/jclo/easing/actions/workflows/ci.yml/badge.svg
[coveralls-image]: https://img.shields.io/coveralls/jclo/easing/master.svg?style=flat-square
[dependencies-image]: https://david-dm.org/jclo/easing/status.svg?theme=shields.io
[devdependencies-image]: https://david-dm.org/jclo/easing/dev-status.svg?theme=shields.io
[npm-bundle-size-image]: https://img.shields.io/bundlephobia/minzip/@mobilabs/easing.svg?style=flat-square
[license-image]: https://img.shields.io/npm/l/@mobilabs/easing.svg?style=flat-square

[npm-url]: https://www.npmjs.com/package/@mobilabs/easing
[release-url]: https://github.com/jclo/easing/tags
[commit-url]: https://github.com/jclo/easing/commits/master
[travis-url]: https://app.travis-ci.com/jclo/easing
[ci-url]: https://github.com/jclo/easing/actions/workflows/ci.yml
[coveralls-url]: https://coveralls.io/github/jclo/easing?branch=master
[dependencies-url]: https://david-dm.org/jclo/easing
[devdependencies-url]: https://david-dm.org/jclo/easing?type=dev
[license-url]: http://opensource.org/licenses/MIT
[npm-bundle-size-url]: https://img.shields.io/bundlephobia/minzip/@mobilabs/easing
[license-url]: http://opensource.org/licenses/MIT
6 changes: 3 additions & 3 deletions _dist/lib/easing.js
@@ -1,5 +1,5 @@
/*! ****************************************************************************
* Easing v1.0.1
* Easing v1.0.2
*
* A simple library that implements Robert Penner's easing equations.
* (you can download it from npm or github repositories)
Expand Down Expand Up @@ -137,7 +137,7 @@

// Useful to retrieve the library name and version when it is
// embedded in another library as an object:
_library: { name: 'Easing', version: '1.0.1' },
_library: { name: 'Easing', version: '1.0.2' },


// -- Private Static Methods ---------------------------------------------
Expand Down Expand Up @@ -401,7 +401,7 @@

// Attaches constants to Easing that provide name and version of the lib.
Easing.NAME = 'Easing';
Easing.VERSION = '1.0.1';
Easing.VERSION = '1.0.2';

// END OF IIFE
}());
Expand Down
4 changes: 2 additions & 2 deletions _dist/lib/easing.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions _dist/lib/easing.min.mjs
@@ -1,5 +1,5 @@
/*! ****************************************************************************
* Easing v1.0.1
* Easing v1.0.2
*
* A simple library that implements Robert Penner's easing equations.
* (you can download it from npm or github repositories)
Expand All @@ -8,4 +8,4 @@
* at: http://www.opensource.org/licenses/mit-license.php).
* Built from ES6lib v2.1.3.
* ************************************************************************** */
const $__ES6GLOB={};!function(e,t){"use strict";"function"==typeof define&&define.amd?define([""],t):"object"==typeof exports?module.exports=t(e):e.Easing=t(e)}($__ES6GLOB,(e=>{"use strict";let t;return function(){const a=e.Easing;t={_library:{name:"Easing",version:"1.0.1"},_setTestMode:()=>[],noConflict(){return e.Easing=a,this},whoami(){return this._library},linear:(e,t,a,s)=>a*(e/s)+t,swing:(e,t,a,s)=>a*(.5-Math.cos(e/s*Math.PI)/2)+t,easeInSine:(e,t,a,s)=>-a*Math.cos(e/s*(Math.PI/2))+a+t,easeOutSine:(e,t,a,s)=>a*Math.sin(e/s*(Math.PI/2))+t,easeInOutSine:(e,t,a,s)=>-a/2*(Math.cos(Math.PI*e/s)-1)+t,easeInQuad:(e,t,a,s)=>a*(e/=s)*e+t,easeOutQuad:(e,t,a,s)=>-a*(e/=s)*(e-2)+t,easeInOutQuad:(e,t,a,s)=>(e/=s/2)<1?a/2*e*e+t:-a/2*(--e*(e-2)-1)+t,easeInCubic:(e,t,a,s)=>a*(e/=s)*e*e+t,easeOutCubic:(e,t,a,s)=>a*((e=e/s-1)*e*e+1)+t,easeInOutCubic:(e,t,a,s)=>(e/=s/2)<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t,easeInQuart:(e,t,a,s)=>a*(e/=s)*e*e*e+t,easeOutQuart:(e,t,a,s)=>-a*((e=e/s-1)*e*e*e-1)+t,easeInOutQuart:(e,t,a,s)=>(e/=s/2)<1?a/2*e*e*e*e+t:-a/2*((e-=2)*e*e*e-2)+t,easeInQuint:(e,t,a,s)=>a*(e/=s)*e*e*e*e+t,easeOutQuint:(e,t,a,s)=>a*((e=e/s-1)*e*e*e*e+1)+t,easeInOutQuint:(e,t,a,s)=>(e/=s/2)<1?a/2*e*e*e*e*e+t:a/2*((e-=2)*e*e*e*e+2)+t,easeInExpo:(e,t,a,s)=>0===e?t:a*Math.pow(2,10*(e/s-1))+t,easeOutExpo:(e,t,a,s)=>e===s?t+a:a*(1-Math.pow(2,-10*e/s))+t,easeInOutExpo:(e,t,a,s)=>0===e?t:e===s?t+a:(e/=s/2)<1?a/2*Math.pow(2,10*(e-1))+t:a/2*(2-Math.pow(2,-10*--e))+t,easeInCirc:(e,t,a,s)=>-a*(Math.sqrt(1-(e/=s)*e)-1)+t,easeOutCirc:(e,t,a,s)=>a*Math.sqrt(1-(e=e/s-1)*e)+t,easeInOutCirc:(e,t,a,s)=>(e/=s/2)<1?-a/2*(Math.sqrt(1-e*e)-1)+t:a/2*(Math.sqrt(1-(e-=2)*e)+1)+t,easeInBack:(e,t,a,s,n)=>(void 0===n&&(n=1.70158),a*(e/=s)*e*((n+1)*e-n)+t),easeOutBack:(e,t,a,s,n)=>(void 0===n&&(n=1.70158),a*((e=e/s-1)*e*((n+1)*e+n)+1)+t),easeInOutBack:(e,t,a,s,n)=>(void 0===n&&(n=1.70158),(e/=s/2)<1?a/2*(e*e*((1+(n*=1.525))*e-n))+t:a/2*((e-=2)*e*((1+(n*=1.525))*e+n)+2)+t),easeInElastic(e,t,a,s){var n=1.70158,u=0,i=a;return 0===e?t:1==(e/=s)?t+a:(u||(u=.3*s),i<Math.abs(a)?(i=a,n=u/4):n=u/(2*Math.PI)*Math.asin(a/i),-i*Math.pow(2,10*(e-=1))*Math.sin((e*s-n)*(2*Math.PI)/u)+t)},easeOutElastic(e,t,a,s){var n=1.70158,u=0,i=a;return 0===e?t:1==(e/=s)?t+a:(u||(u=.3*s),i<Math.abs(a)?(i=a,n=u/4):n=u/(2*Math.PI)*Math.asin(a/i),i*Math.pow(2,-10*e)*Math.sin((e*s-n)*(2*Math.PI)/u)+a+t)},easeInOutElastic(e,t,a,s){var n=1.70158,u=0,i=a;return 0===e?t:2==(e/=s/2)?t+a:(u||(u=s*(.3*1.5)),i<Math.abs(a)?(i=a,n=u/4):n=u/(2*Math.PI)*Math.asin(a/i),e<1?i*Math.pow(2,10*(e-=1))*Math.sin((e*s-n)*(2*Math.PI)/u)*-.5+t:i*Math.pow(2,-10*(e-=1))*Math.sin((e*s-n)*(2*Math.PI)/u)*.5+a+t)},easeInBounce(e,t,a,s){return a-this.easeOutBounce(s-e,0,a,s)+t},easeOutBounce:(e,t,a,s)=>(e/=s)<1/2.75?a*(7.5625*e*e)+t:e<2/2.75?a*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?a*(7.5625*(e-=2.25/2.75)*e+.9375)+t:a*(7.5625*(e-=2.625/2.75)*e+.984375)+t,easeInOutBounce(e,t,a,s){return e<s/2?.5*this.easeInBounce(2*e,0,a,s)+t:.5*this.easeOutBounce(2*e-s,0,a,s)+.5*a+t}},t.NAME="Easing",t.VERSION="1.0.1"}(),t}));export default $__ES6GLOB.Easing;
const $__ES6GLOB={};!function(e,t){"use strict";"function"==typeof define&&define.amd?define([""],t):"object"==typeof exports?module.exports=t(e):e.Easing=t(e)}($__ES6GLOB,(e=>{"use strict";let t;return function(){const a=e.Easing;t={_library:{name:"Easing",version:"1.0.2"},_setTestMode:()=>[],noConflict(){return e.Easing=a,this},whoami(){return this._library},linear:(e,t,a,s)=>a*(e/s)+t,swing:(e,t,a,s)=>a*(.5-Math.cos(e/s*Math.PI)/2)+t,easeInSine:(e,t,a,s)=>-a*Math.cos(e/s*(Math.PI/2))+a+t,easeOutSine:(e,t,a,s)=>a*Math.sin(e/s*(Math.PI/2))+t,easeInOutSine:(e,t,a,s)=>-a/2*(Math.cos(Math.PI*e/s)-1)+t,easeInQuad:(e,t,a,s)=>a*(e/=s)*e+t,easeOutQuad:(e,t,a,s)=>-a*(e/=s)*(e-2)+t,easeInOutQuad:(e,t,a,s)=>(e/=s/2)<1?a/2*e*e+t:-a/2*(--e*(e-2)-1)+t,easeInCubic:(e,t,a,s)=>a*(e/=s)*e*e+t,easeOutCubic:(e,t,a,s)=>a*((e=e/s-1)*e*e+1)+t,easeInOutCubic:(e,t,a,s)=>(e/=s/2)<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t,easeInQuart:(e,t,a,s)=>a*(e/=s)*e*e*e+t,easeOutQuart:(e,t,a,s)=>-a*((e=e/s-1)*e*e*e-1)+t,easeInOutQuart:(e,t,a,s)=>(e/=s/2)<1?a/2*e*e*e*e+t:-a/2*((e-=2)*e*e*e-2)+t,easeInQuint:(e,t,a,s)=>a*(e/=s)*e*e*e*e+t,easeOutQuint:(e,t,a,s)=>a*((e=e/s-1)*e*e*e*e+1)+t,easeInOutQuint:(e,t,a,s)=>(e/=s/2)<1?a/2*e*e*e*e*e+t:a/2*((e-=2)*e*e*e*e+2)+t,easeInExpo:(e,t,a,s)=>0===e?t:a*Math.pow(2,10*(e/s-1))+t,easeOutExpo:(e,t,a,s)=>e===s?t+a:a*(1-Math.pow(2,-10*e/s))+t,easeInOutExpo:(e,t,a,s)=>0===e?t:e===s?t+a:(e/=s/2)<1?a/2*Math.pow(2,10*(e-1))+t:a/2*(2-Math.pow(2,-10*--e))+t,easeInCirc:(e,t,a,s)=>-a*(Math.sqrt(1-(e/=s)*e)-1)+t,easeOutCirc:(e,t,a,s)=>a*Math.sqrt(1-(e=e/s-1)*e)+t,easeInOutCirc:(e,t,a,s)=>(e/=s/2)<1?-a/2*(Math.sqrt(1-e*e)-1)+t:a/2*(Math.sqrt(1-(e-=2)*e)+1)+t,easeInBack:(e,t,a,s,n)=>(void 0===n&&(n=1.70158),a*(e/=s)*e*((n+1)*e-n)+t),easeOutBack:(e,t,a,s,n)=>(void 0===n&&(n=1.70158),a*((e=e/s-1)*e*((n+1)*e+n)+1)+t),easeInOutBack:(e,t,a,s,n)=>(void 0===n&&(n=1.70158),(e/=s/2)<1?a/2*(e*e*((1+(n*=1.525))*e-n))+t:a/2*((e-=2)*e*((1+(n*=1.525))*e+n)+2)+t),easeInElastic(e,t,a,s){var n=1.70158,u=0,i=a;return 0===e?t:1==(e/=s)?t+a:(u||(u=.3*s),i<Math.abs(a)?(i=a,n=u/4):n=u/(2*Math.PI)*Math.asin(a/i),-i*Math.pow(2,10*(e-=1))*Math.sin((e*s-n)*(2*Math.PI)/u)+t)},easeOutElastic(e,t,a,s){var n=1.70158,u=0,i=a;return 0===e?t:1==(e/=s)?t+a:(u||(u=.3*s),i<Math.abs(a)?(i=a,n=u/4):n=u/(2*Math.PI)*Math.asin(a/i),i*Math.pow(2,-10*e)*Math.sin((e*s-n)*(2*Math.PI)/u)+a+t)},easeInOutElastic(e,t,a,s){var n=1.70158,u=0,i=a;return 0===e?t:2==(e/=s/2)?t+a:(u||(u=s*(.3*1.5)),i<Math.abs(a)?(i=a,n=u/4):n=u/(2*Math.PI)*Math.asin(a/i),e<1?i*Math.pow(2,10*(e-=1))*Math.sin((e*s-n)*(2*Math.PI)/u)*-.5+t:i*Math.pow(2,-10*(e-=1))*Math.sin((e*s-n)*(2*Math.PI)/u)*.5+a+t)},easeInBounce(e,t,a,s){return a-this.easeOutBounce(s-e,0,a,s)+t},easeOutBounce:(e,t,a,s)=>(e/=s)<1/2.75?a*(7.5625*e*e)+t:e<2/2.75?a*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?a*(7.5625*(e-=2.25/2.75)*e+.9375)+t:a*(7.5625*(e-=2.625/2.75)*e+.984375)+t,easeInOutBounce(e,t,a,s){return e<s/2?.5*this.easeInBounce(2*e,0,a,s)+t:.5*this.easeOutBounce(2*e-s,0,a,s)+.5*a+t}},t.NAME="Easing",t.VERSION="1.0.2"}(),t}));export default $__ES6GLOB.Easing;
6 changes: 3 additions & 3 deletions _dist/lib/easing.mjs
@@ -1,5 +1,5 @@
/*! ****************************************************************************
* Easing v1.0.1
* Easing v1.0.2
*
* A simple library that implements Robert Penner's easing equations.
* (you can download it from npm or github repositories)
Expand Down Expand Up @@ -138,7 +138,7 @@ const $__ES6GLOB = {};

// Useful to retrieve the library name and version when it is
// embedded in another library as an object:
_library: { name: 'Easing', version: '1.0.1' },
_library: { name: 'Easing', version: '1.0.2' },


// -- Private Static Methods ---------------------------------------------
Expand Down Expand Up @@ -402,7 +402,7 @@ const $__ES6GLOB = {};

// Attaches constants to Easing that provide name and version of the lib.
Easing.NAME = 'Easing';
Easing.VERSION = '1.0.1';
Easing.VERSION = '1.0.2';

// END OF IIFE
}());
Expand Down
4 changes: 2 additions & 2 deletions lib/easing.js
Expand Up @@ -127,7 +127,7 @@

// Useful to retrieve the library name and version when it is
// embedded in another library as an object:
_library: { name: 'Easing', version: '1.0.1' },
_library: { name: 'Easing', version: '1.0.2' },


// -- Private Static Methods ---------------------------------------------
Expand Down Expand Up @@ -391,7 +391,7 @@

// Attaches constants to Easing that provide name and version of the lib.
Easing.NAME = 'Easing';
Easing.VERSION = '1.0.1';
Easing.VERSION = '1.0.2';

// END OF IIFE
}());
Expand Down
4 changes: 2 additions & 2 deletions lib/easing.mjs
Expand Up @@ -128,7 +128,7 @@ const $__ES6GLOB = {};

// Useful to retrieve the library name and version when it is
// embedded in another library as an object:
_library: { name: 'Easing', version: '1.0.1' },
_library: { name: 'Easing', version: '1.0.2' },


// -- Private Static Methods ---------------------------------------------
Expand Down Expand Up @@ -392,7 +392,7 @@ const $__ES6GLOB = {};

// Attaches constants to Easing that provide name and version of the lib.
Easing.NAME = 'Easing';
Easing.VERSION = '1.0.1';
Easing.VERSION = '1.0.2';

// END OF IIFE
}());
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@mobilabs/easing",
"version": "1.0.1",
"version": "1.0.2",
"description": "A simple library that implements Robert Penner's easing equations",
"main": "_dist/lib/easing.js",
"minified": "_dist/lib/easing.min.js",
Expand Down

0 comments on commit 0e60d17

Please sign in to comment.