New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

anim-event

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anim-event - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

anim-event.min.js

@@ -1,2 +0,2 @@

/*! AnimEvent v0.0.4 (c) anseki https://github.com/anseki/anim-event */
/*! AnimEvent v0.0.5 (c) anseki https://github.com/anseki/anim-event */
var AnimEvent=function(n){function e(i){if(t[i])return t[i].exports;var o=t[i]={exports:{},id:i,loaded:!1};return n[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var t={};return e.m=n,e.c=t,e.p="",e(0)}([function(n,e){"use strict";function t(){var n,e;o&&(l.call(window,o),o=null),c.forEach(function(e){e.event&&(e.listener(e.event),e.event=null,n=!0)}),n?(w=Date.now(),e=!0):Date.now()-w<a&&(e=!0),e&&(o=u.call(window,t))}function i(n){var e=-1;return c.some(function(t,i){return t.listener===n&&(e=i,!0)}),e}Object.defineProperty(e,"__esModule",{value:!0});var o,r=1e3/60,a=500,u=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(n){setTimeout(n,r)},l=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||function(n){clearTimeout(n)},c=[],w=Date.now(),m={add:function(n){var e;return i(n)===-1?(c.push(e={listener:n}),function(n){e.event=n,o||t()}):null},remove:function(n){var e;(e=i(n))>-1&&(c.splice(e,1),!c.length&&o&&(l.call(window,o),o=null))}};e.default=m,n.exports=e.default}]);
{
"name": "anim-event",
"version": "0.0.4",
"version": "0.0.5",
"description": "Event Manager for Animation",

@@ -5,0 +5,0 @@ "keywords": [

{
"name": "anim-event",
"version": "0.0.4",
"version": "0.0.5",
"title": "AnimEvent",

@@ -18,3 +18,3 @@ "description": "Event Manager for Animation",

],
"main": "anim-event.js",
"main": "./src/anim-event.js",
"devDependencies": {

@@ -21,0 +21,0 @@ "babel-core": "^6.20.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