Socket
Socket
Sign inDemoInstall

requestanimationframe-timer

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

requestanimationframe-timer - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Change Log

<a name="1.0.3"></a>
## [1.0.3](https://github.com/kambing86/requestanimationframe-timer/compare/v1.0.2...v1.0.3) (2018-01-04)
<a name="1.0.2"></a>

@@ -7,0 +12,0 @@ ## [1.0.2](https://github.com/kambing86/requestanimationframe-timer/compare/v1.0.1...v1.0.2) (2018-01-03)

12

dist/index.js

@@ -7,6 +7,10 @@ 'use strict';

var _raf = require('raf');
var _raf2 = _interopRequireDefault(_raf);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
var raf = require('raf');
var MODE_TIMEOUT = 0;

@@ -63,3 +67,3 @@ var MODE_INTERVAL = 1;

}
raf(loop);
(0, _raf2.default)(loop);
}

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

rafStarted = true;
raf(loop);
(0, _raf2.default)(loop);
}

@@ -88,0 +92,0 @@ startId += 1;

{
"name": "requestanimationframe-timer",
"version": "1.0.2",
"description": "",
"version": "1.0.3",
"description": "setTimeout and setInterval by using requestAnimationFrame",
"main": "dist/cjs.js",

@@ -6,0 +6,0 @@ "scripts": {

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