🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

dom-lib

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-lib - npm Package Compare versions

Comparing version

to
3.3.2

6

cjs/requestAnimationFramePolyfill.js

@@ -8,4 +8,2 @@ "use strict";

var _emptyFunction = _interopRequireDefault(require("./utils/emptyFunction.js"));
var _getGlobal = _interopRequireDefault(require("./utils/getGlobal.js"));

@@ -29,7 +27,5 @@

var requestAnimationFramePolyfill = g.requestAnimationFrame || _setTimeout; // Works around a rare bug in Safari 6 where the first request is never invoked.
requestAnimationFramePolyfill(_emptyFunction["default"]);
var requestAnimationFramePolyfill = g.requestAnimationFrame || _setTimeout;
var _default = requestAnimationFramePolyfill;
exports["default"] = _default;
module.exports = exports.default;

5

esm/requestAnimationFramePolyfill.js

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

import emptyFunction from "./utils/emptyFunction.js";
import getGlobal from "./utils/getGlobal.js";

@@ -19,5 +18,3 @@ var g = getGlobal();

var requestAnimationFramePolyfill = g.requestAnimationFrame || _setTimeout; // Works around a rare bug in Safari 6 where the first request is never invoked.
requestAnimationFramePolyfill(emptyFunction);
var requestAnimationFramePolyfill = g.requestAnimationFrame || _setTimeout;
export default requestAnimationFramePolyfill;
{
"name": "dom-lib",
"version": "3.3.1",
"version": "3.3.2",
"description": "DOM helper library",

@@ -5,0 +5,0 @@ "main": "cjs/index.js",