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

fullscreen-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fullscreen-polyfill - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

dist/fullscreen.polyfill.js
/*!
* fullscreen-polyfill
* 1.0.3 - 7/23/2020
* 1.0.4 - 12/2/2020
* https://github.com/nguyenj/fullscreen-polyfill#readme
* (c) John Nguyen; MIT License
*/
var FullscreenPolyfill=function(){"use strict";var l=["fullscreen","fullscreenEnabled","fullscreenElement","fullscreenchange","fullscreenerror","exitFullscreen","requestFullscreen"],e=["webkitIsFullScreen","webkitFullscreenEnabled","webkitFullscreenElement","webkitfullscreenchange","webkitfullscreenerror","webkitExitFullscreen","webkitRequestFullscreen"],n=["mozFullScreen","mozFullScreenEnabled","mozFullScreenElement","mozfullscreenchange","mozfullscreenerror","mozCancelFullScreen","mozRequestFullScreen"],u=["","msFullscreenEnabled","msFullscreenElement","MSFullscreenChange","MSFullscreenError","msExitFullscreen","msRequestFullscreen"];document||(document={});var t,c=(t=[l[1],e[1],n[1],u[1]].find(function(e){return document[e]}),[l,e,n,u].find(function(e){return e.find(function(e){return e===t})})||[]);function r(e,n){document[l[0]]=document[c[0]]||!!document[c[2]]||!1,document[l[1]]=document[c[1]]||!1,document[l[2]]=document[c[2]]||null,document.dispatchEvent(new Event(e),n.target)}return document[l[1]]?{}:(document[l[0]]=document[c[0]]||!!document[c[2]]||!1,document[l[1]]=document[c[1]]||!1,document[l[2]]=document[c[2]]||null,document.addEventListener(c[3],r.bind(document,l[3]),!1),document.addEventListener(c[4],r.bind(document,l[4]),!1),document[l[5]]=function(){return document[c[5]]()},void(Element.prototype[l[6]]=function(){return this[c[6]].apply(this,arguments)}))}();
var FullscreenPolyfill=function(){"use strict";var e=["fullscreen","fullscreenEnabled","fullscreenElement","fullscreenchange","fullscreenerror","exitFullscreen","requestFullscreen"],n=["webkitIsFullScreen","webkitFullscreenEnabled","webkitFullscreenElement","webkitfullscreenchange","webkitfullscreenerror","webkitExitFullscreen","webkitRequestFullscreen"],l=["mozFullScreen","mozFullScreenEnabled","mozFullScreenElement","mozfullscreenchange","mozfullscreenerror","mozCancelFullScreen","mozRequestFullScreen"],t=["","msFullscreenEnabled","msFullscreenElement","MSFullscreenChange","MSFullscreenError","msExitFullscreen","msRequestFullscreen"];document||(document={});var u,c=(u=[e[1],n[1],l[1],t[1]].find((function(e){return document[e]})),[e,n,l,t].find((function(e){return e.find((function(e){return e===u}))}))||[]);function r(n,l){document[e[0]]=document[c[0]]||!!document[c[2]]||!1,document[e[1]]=document[c[1]]||!1,document[e[2]]=document[c[2]]||null,document.dispatchEvent(new Event(n),l.target)}return void 0===document[e[1]]&&c.length?(document[e[0]]=document[c[0]]||!!document[c[2]]||!1,document[e[1]]=document[c[1]]||!1,document[e[2]]=document[c[2]]||null,document.addEventListener(c[3],r.bind(document,e[3]),!1),document.addEventListener(c[4],r.bind(document,e[4]),!1),document[e[5]]=function(){return document[c[5]]()},void(Element.prototype[e[6]]=function(){return this[c[6]].apply(this,arguments)})):{}}();
//# sourceMappingURL=fullscreen.polyfill.js.map
{
"name": "fullscreen-polyfill",
"version": "1.0.3",
"version": "1.0.4",
"description": "A simple polyfill implementation of W3C's JavaScript Fullscreen API spec. Don't worry about the vendor specific Fullscreen API.",

@@ -37,7 +37,7 @@ "license": "MIT",

"karma-mocha": "^2.0.1",
"mocha": "^8.0.1",
"mocha": "^8.2.1",
"puppeteer": "^5.2.1",
"rollup": "^2.23.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-uglify": "^6.0.4"
"rollup-plugin-terser": "^7.0.2"
},

@@ -44,0 +44,0 @@ "directories": {

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