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

stepperjs

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stepperjs - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

dist/stepperjs.browser-0.1.4.js

5

dist/easings/inBack.js
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inBack(n) {

@@ -9,2 +12,2 @@ var s = 1.70158;

module.exports = inBack;
exports.default = inBack;

6

dist/easings/inBounce.js
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _outBounce = require('./outBounce');

@@ -13,2 +17,2 @@

module.exports = inBounce;
exports.default = inBounce;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inCirc(n) {

@@ -7,2 +10,2 @@ return 1 - Math.sqrt(1 - n * n);

module.exports = inCirc;
exports.default = inCirc;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inCube(n) {

@@ -7,2 +10,2 @@ return n * n * n;

module.exports = inCube;
exports.default = inCube;
'use strict';
// Reference to Easing function(s).
Object.defineProperty(exports, "__esModule", {
value: true
});
var _linear = require('./linear');
var _linear2 = _interopRequireDefault(_linear);
var _inQuad = require('./inQuad');
var _inQuad2 = _interopRequireDefault(_inQuad);
var _outQuad = require('./outQuad');
var _outQuad2 = _interopRequireDefault(_outQuad);
var _inOutQuad = require('./inOutQuad');
var _inOutQuad2 = _interopRequireDefault(_inOutQuad);
var _inCube = require('./inCube');
var _inCube2 = _interopRequireDefault(_inCube);
var _outCube = require('./outCube');
var _outCube2 = _interopRequireDefault(_outCube);
var _inOutCube = require('./inOutCube');
var _inOutCube2 = _interopRequireDefault(_inOutCube);
var _inQuart = require('./inQuart');
var _inQuart2 = _interopRequireDefault(_inQuart);
var _outQuart = require('./outQuart');
var _outQuart2 = _interopRequireDefault(_outQuart);
var _inOutQuart = require('./inOutQuart');
var _inOutQuart2 = _interopRequireDefault(_inOutQuart);
var _inQunit = require('./inQunit');
var _inQunit2 = _interopRequireDefault(_inQunit);
var _outQunit = require('./outQunit');
var _outQunit2 = _interopRequireDefault(_outQunit);
var _inOutQunit = require('./inOutQunit');
var _inOutQunit2 = _interopRequireDefault(_inOutQunit);
var _inSine = require('./inSine');
var _inSine2 = _interopRequireDefault(_inSine);
var _outSine = require('./outSine');
var _outSine2 = _interopRequireDefault(_outSine);
var _inOutSine = require('./inOutSine');
var _inOutSine2 = _interopRequireDefault(_inOutSine);
var _inExpo = require('./inExpo');
var _inExpo2 = _interopRequireDefault(_inExpo);
var _outExpo = require('./outExpo');
var _outExpo2 = _interopRequireDefault(_outExpo);
var _inOutExpo = require('./inOutExpo');
var _inOutExpo2 = _interopRequireDefault(_inOutExpo);
var _inCirc = require('./inCirc');
var _inCirc2 = _interopRequireDefault(_inCirc);
var _outCirc = require('./outCirc');
var _outCirc2 = _interopRequireDefault(_outCirc);
var _inOutCirc = require('./inOutCirc');
var _inOutCirc2 = _interopRequireDefault(_inOutCirc);
var _inBack = require('./inBack');
var _inBack2 = _interopRequireDefault(_inBack);
var _outBack = require('./outBack');
var _outBack2 = _interopRequireDefault(_outBack);
var _inOutBack = require('./inOutBack');
var _inOutBack2 = _interopRequireDefault(_inOutBack);
var _inBounce = require('./inBounce');
var _inBounce2 = _interopRequireDefault(_inBounce);
var _outBounce = require('./outBounce');
var _outBounce2 = _interopRequireDefault(_outBounce);
var _inOutBounce = require('./inOutBounce');
var _inOutBounce2 = _interopRequireDefault(_inOutBounce);
var _inElastic = require('./inElastic');
var _inElastic2 = _interopRequireDefault(_inElastic);
var _outElastic = require('./outElastic');
var _outElastic2 = _interopRequireDefault(_outElastic);
var _inOutElastic = require('./inOutElastic');
var _inOutElastic2 = _interopRequireDefault(_inOutElastic);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
linear: _linear2.default, inQuad: _inQuad2.default, outQuad: _outQuad2.default, inOutQuad: _inOutQuad2.default, inCube: _inCube2.default,
outCube: _outCube2.default, inOutCube: _inOutCube2.default, inQuart: _inQuart2.default, outQuart: _outQuart2.default, inOutQuart: _inOutQuart2.default,
inQunit: _inQunit2.default, outQunit: _outQunit2.default, inOutQunit: _inOutQunit2.default, inSine: _inSine2.default, outSine: _outSine2.default,
inOutSine: _inOutSine2.default, inExpo: _inExpo2.default, outExpo: _outExpo2.default, inOutExpo: _inOutExpo2.default, inCirc: _inCirc2.default,
outCirc: _outCirc2.default, inOutCirc: _inOutCirc2.default, inBack: _inBack2.default, outBack: _outBack2.default, inOutBack: _inOutBack2.default,
inBounce: _inBounce2.default, outBounce: _outBounce2.default, inOutBounce: _inOutBounce2.default, inElastic: _inElastic2.default, outElastic: _outElastic2.default,
inOutElastic: _inOutElastic2.default
}; // Reference to Easing function(s).
// https://github.com/component/ease
// https://github.com/tweenjs/tween.js
module.exports = {
linear: require('./linear'),
inQuad: require('./inQuad'),
outQuad: require('./outQuad'),
inOutQuad: require('./inOutQuad'),
inCube: require('./inCube'),
outCube: require('./outCube'),
inOutCube: require('./inOutCube'),
inQuart: require('./inQuart'),
outQuart: require('./outQuart'),
inOutQuart: require('./inOutQuart'),
inQunit: require('./inQunit'),
outQunit: require('./outQunit'),
inOutQunit: require('./inOutQunit'),
inSine: require('./inSine'),
outSine: require('./outSine'),
inOutSine: require('./inOutSine'),
inExpo: require('./inExpo'),
outExpo: require('./outExpo'),
inOutExpo: require('./inOutExpo'),
inCirc: require('./inCirc'),
outCirc: require('./outCirc'),
inOutCirc: require('./inOutCirc'),
inBack: require('./inBack'),
outBack: require('./outBack'),
inOutBack: require('./inOutBack'),
inBounce: require('./inBounce'),
outBounce: require('./outBounce'),
inOutBounce: require('./inOutBounce'),
inElastic: require('./inElastic'),
outElastic: require('./outElastic'),
inOutElastic: require('./inOutElastic')
};
// https://github.com/tweenjs/tween.js
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inElastic(n) {

@@ -24,2 +27,2 @@ var s = void 0;

module.exports = inElastic;
exports.default = inElastic;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inExpo(n) {

@@ -7,2 +10,2 @@ return 0 == n ? 0 : Math.pow(1024, n - 1);

module.exports = inExpo;
exports.default = inExpo;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inOutBack(n) {

@@ -13,2 +16,2 @@ var s = 1.70158 * 1.525;

module.exports = inOutBack;
exports.default = inOutBack;
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _inBounce = require('./inBounce');

@@ -21,2 +25,2 @@

module.exports = inOutBounce;
exports.default = inOutBounce;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inOutCirc(n) {

@@ -12,2 +15,2 @@ n = n * 2;

module.exports = inOutCirc;
exports.default = inOutCirc;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inOutCube(n) {

@@ -13,2 +16,2 @@ n = n * 2;

module.exports = inOutCube;
exports.default = inOutCube;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inOutElastic(n) {

@@ -27,2 +30,2 @@ var s = void 0;

module.exports = inOutElastic;
exports.default = inOutElastic;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inOutExpo(n) {

@@ -15,2 +18,2 @@ if (0 == n) {

module.exports = inOutExpo;
exports.default = inOutExpo;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inOutQuad(n) {

@@ -13,2 +16,2 @@ n = n * 2;

module.exports = inOutQuad;
exports.default = inOutQuad;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inOutQuart(n) {

@@ -13,2 +16,2 @@ n = n * 2;

module.exports = inOutQuart;
exports.default = inOutQuart;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inOutQuint(n) {

@@ -13,2 +16,2 @@ n = n * 2;

module.exports = inOutQuint;
exports.default = inOutQuint;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inOutSine(n) {

@@ -7,2 +10,2 @@ return .5 * (1 - Math.cos(Math.PI * n));

module.exports = inOutSine;
exports.default = inOutSine;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inQuad(n) {

@@ -7,2 +10,2 @@ return n * n;

module.exports = inQuad;
exports.default = inQuad;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inQuart(n) {

@@ -7,2 +10,2 @@ return n * n * n * n;

module.exports = inQuart;
exports.default = inQuart;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inQunit(n) {

@@ -7,2 +10,2 @@ return n * n * n * n * n;

module.exports = inQunit;
exports.default = inQunit;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function inSine(n) {

@@ -7,2 +10,2 @@ return 1 - Math.cos(n * Math.PI / 2);

module.exports = inSine;
exports.default = inSine;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function linear(n) {

@@ -7,2 +10,2 @@ return n;

module.exports = linear;
exports.default = linear;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function outBack(n) {

@@ -9,2 +12,2 @@ var s = 1.70158;

module.exports = outBack;
exports.default = outBack;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function outBounce(n) {

@@ -15,2 +18,2 @@ if (n < 1 / 2.75) {

module.exports = outBounce;
exports.default = outBounce;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function outCirc(n) {

@@ -7,2 +10,2 @@ return Math.sqrt(1 - --n * n);

module.exports = outCirc;
exports.default = outCirc;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function outCube(n) {

@@ -7,2 +10,2 @@ return --n * n * n + 1;

module.exports = outCube;
exports.default = outCube;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function outElastic(n) {

@@ -24,2 +27,2 @@ var s = void 0;

module.exports = outElastic;
exports.default = outElastic;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function outExpo(n) {

@@ -7,2 +10,2 @@ return 1 == n ? n : 1 - Math.pow(2, -10 * n);

module.exports = outExpo;
exports.default = outExpo;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function outQuad(n) {

@@ -7,2 +10,2 @@ return n * (2 - n);

module.exports = outQuad;
exports.default = outQuad;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function outQuart(n) {

@@ -7,2 +10,2 @@ return 1 - --n * n * n * n;

module.exports = outQuart;
exports.default = outQuart;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function outQunit(n) {

@@ -7,2 +10,2 @@ return --n * n * n * n * n + 1;

module.exports = outQunit;
exports.default = outQunit;
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function outSine(n) {

@@ -7,2 +10,2 @@ return Math.sin(n * Math.PI / 2);

module.exports = outSine;
exports.default = outSine;
{
"name": "stepperjs",
"version": "0.1.3",
"version": "0.1.4",
"description": "A tiny requestAnimationFrame wrapper to improve usability.",

@@ -32,17 +32,16 @@ "main": "dist/index.js",

"devDependencies": {
"babel-cli": "6.18.0",
"babel-loader": "6.2.10",
"babel-plugin-transform-class-properties": "6.19.0",
"babel-plugin-transform-es3-member-expression-literals": "6.8.0",
"babel-plugin-transform-es3-property-literals": "6.8.0",
"babel-preset-es2015": "6.18.0",
"babel-preset-es2015-loose": "8.0.0",
"babel-cli": "6.23.0",
"babel-loader": "6.3.2",
"babel-plugin-transform-class-properties": "6.23.0",
"babel-plugin-transform-es3-member-expression-literals": "6.22.0",
"babel-plugin-transform-es3-property-literals": "6.22.0",
"babel-preset-es2015": "^6.22.0",
"chai": "3.5.0",
"gh-pages": "0.12.0",
"html-webpack-plugin": "2.24.1",
"isparta-loader": "2.0.0",
"karma": "1.3.0",
"html-webpack-plugin": "2.28.0",
"istanbul-instrumenter-loader": "^2.0.0",
"karma": "1.5.0",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "2.0.0",
"karma-coverage": "1.1.1",
"karma-coverage-istanbul-reporter": "^0.2.3",
"karma-firefox-launcher": "^1.0.0",

@@ -52,11 +51,11 @@ "karma-mocha": "1.3.0",

"karma-sinon": "1.0.5",
"karma-sourcemap-loader": "0.3.7",
"karma-spec-reporter": "0.0.26",
"karma-webpack": "1.8.1",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "0.0.30",
"karma-webpack": "2.0.2",
"mocha": "3.2.0",
"phantomjs-polyfill-find-index": "^1.0.1",
"raf-stub": "^1.0.1",
"sinon": "1.17.6",
"webpack": "1.14.0",
"webpack-dev-server": "1.16.2"
"raf-stub": "^2.0.0",
"sinon": "1.17.7",
"webpack": "2.2.1",
"webpack-dev-server": "2.4.1"
},

@@ -63,0 +62,0 @@ "dependencies": {

@@ -30,7 +30,7 @@ # StepperJS

}).on({
start: () => ... ,
update: (n) => ... ,
paused: () => ... ,
ended: () => ... ,
stopped: () => ...
start() { ... },
update(n) { ... },
paused() { ... },
ended() { ... },
stopped() { ... }
});

@@ -85,3 +85,3 @@

```html
<script type="text/javascript" src="stepperjs.browser-0.1.3.min.js"></script>
<script type="text/javascript" src="stepperjs.browser-0.1.4.min.js"></script>
```

@@ -88,0 +88,0 @@

Sorry, the diff of this file is not supported yet

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