Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-pdf-viewer/full-screen

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-pdf-viewer/full-screen - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

15

lib/cjs/full-screen.js

@@ -86,7 +86,9 @@ 'use strict';

};
var isBrowser = (typeof window !== 'undefined');
var vendor = isBrowser ? ((Api.FullScreenEnabled in document && defaultVendor) ||
(webkitVendor.FullScreenEnabled in document && webkitVendor) ||
(msVendor.FullScreenEnabled in document && msVendor) ||
defaultVendor) : defaultVendor;
var isBrowser = typeof window !== 'undefined';
var vendor = isBrowser
? (Api.FullScreenEnabled in document && defaultVendor) ||
(webkitVendor.FullScreenEnabled in document && webkitVendor) ||
(msVendor.FullScreenEnabled in document && msVendor) ||
defaultVendor
: defaultVendor;
var addFullScreenChangeListener = function (handler) {

@@ -99,3 +101,4 @@ if (isBrowser) {

return isBrowser
? element[vendor.ExitFullScreen]()
?
element[vendor.ExitFullScreen]()
: Promise.resolve({});

@@ -102,0 +105,0 @@ };

6

package.json
{
"name": "@react-pdf-viewer/full-screen",
"version": "2.2.0",
"version": "2.2.1",
"description": "A React component to view a PDF document",

@@ -36,3 +36,3 @@ "license": "https://react-pdf-viewer.dev/license",

"dependencies": {
"@react-pdf-viewer/core": "2.2.0"
"@react-pdf-viewer/core": "2.2.1"
},

@@ -52,3 +52,3 @@ "peerDependencies": {

},
"gitHead": "cc37771ea0886faf311ec7d5cd2a5f83aaffca74"
"gitHead": "dc23d3ab29ed34affa25cc4acd25f7fce4e14fd0"
}
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