anim-event
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -1,2 +0,2 @@ | ||
/*! AnimEvent v1.0.13 (c) anseki https://github.com/anseki/anim-event */ | ||
var AnimEvent=function(n){function e(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return n[o].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var t={};return e.m=n,e.c=t,e.d=function(n,t,o){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:o})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},e.p="",e(e.s=0)}([function(n,e,t){"use strict";function o(){var n=void 0,e=void 0;c&&(l.call(window,c),c=null),u.forEach(function(e){e.event&&(e.listener(e.event),e.event=null,n=!0)}),n?(w=Date.now(),e=!0):Date.now()-w<r&&(e=!0),e&&(c=a.call(window,o))}function i(n){var e=-1;return u.some(function(t,o){return t.listener===n&&(e=o,!0)}),e}Object.defineProperty(e,"__esModule",{value:!0});var r=500,u=[],a=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(n){return setTimeout(n,1e3/60)},l=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||function(n){return clearTimeout(n)},c=void 0,w=Date.now(),d={add:function(n){var e=void 0;return-1===i(n)?(u.push(e={listener:n}),function(n){e.event=n,c||o()}):null},remove:function(n){var e=void 0;(e=i(n))>-1&&(u.splice(e,1),!u.length&&c&&(l.call(window,c),c=null))}};e.default=d}]).default; | ||
/*! AnimEvent v1.0.14 (c) anseki https://github.com/anseki/anim-event */ | ||
var AnimEvent=function(n){var e={};function t(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return n[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=n,t.c=e,t.d=function(n,e,o){t.o(n,e)||Object.defineProperty(n,e,{configurable:!1,enumerable:!0,get:o})},t.r=function(n){Object.defineProperty(n,"__esModule",{value:!0})},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=0)}([function(n,e,t){"use strict";t.r(e);var o=500,r=[],i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(n){return setTimeout(n,1e3/60)},u=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||function(n){return clearTimeout(n)},a=void 0,l=Date.now();function c(){var n=void 0,e=void 0;a&&(u.call(window,a),a=null),r.forEach(function(e){e.event&&(e.listener(e.event),e.event=null,n=!0)}),n?(l=Date.now(),e=!0):Date.now()-l<o&&(e=!0),e&&(a=i.call(window,c))}function w(n){var e=-1;return r.some(function(t,o){return t.listener===n&&(e=o,!0)}),e}var m={add:function(n){var e=void 0;return-1===w(n)?(r.push(e={listener:n}),function(n){e.event=n,a||c()}):null},remove:function(n){var e;(e=w(n))>-1&&(r.splice(e,1),!r.length&&a&&(u.call(window,a),a=null))}};e.default=m}]).default; |
{ | ||
"name": "anim-event", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "Event Manager for Animation", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
{ | ||
"name": "anim-event", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"title": "AnimEvent", | ||
@@ -19,18 +19,18 @@ "description": "Event Manager for Animation", | ||
"main": "anim-event.min.js", | ||
"module": "anim-event.esm.js", | ||
"jsnext:main": "anim-event.esm.js", | ||
"module": "anim-event.mjs", | ||
"jsnext:main": "anim-event.mjs", | ||
"files": [ | ||
"anim-event?(-debug).@(min|esm).js", | ||
"bower.json", | ||
"LICENSE-MIT" | ||
"anim-event?(-debug).@(min.js|mjs)", | ||
"bower.json" | ||
], | ||
"devDependencies": { | ||
"babel-core": "^6.26.0", | ||
"babel-loader": "^7.1.3", | ||
"babel-loader": "^7.1.4", | ||
"babel-preset-es2015": "^6.24.1", | ||
"cross-env": "^5.1.3", | ||
"cross-env": "^5.1.4", | ||
"pre-proc": "^0.2.8", | ||
"pre-proc-loader": "^1.0.9", | ||
"skeleton-loader": "^1.1.5", | ||
"webpack": "^3.11.0" | ||
"webpack": "^4.1.1", | ||
"webpack-cli": "^2.0.12" | ||
}, | ||
@@ -37,0 +37,0 @@ "scripts": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
12436
9