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

screenfull

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

screenfull - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

6

dist/screenfull.d.ts

@@ -50,3 +50,3 @@ /// <reference lib="dom"/>

@param element - Default is `<html>`. If called with another element than the currently active, it will switch to that if it's a decendant.
@param element - Default is `<html>`. If called with another element than the currently active, it will switch to that if it's a descendant.
@param options - [`FullscreenOptions`](https://developer.mozilla.org/en-US/docs/Web/API/FullscreenOptions).

@@ -106,3 +106,3 @@ @returns A promise that resolves after the element enters fullscreen.

@param element - Default is `<html>`. If called with another element than the currently active, it will switch to that if it's a decendant.
@param element - Default is `<html>`. If called with another element than the currently active, it will switch to that if it's a descendant.
@param options - [`FullscreenOptions`](https://developer.mozilla.org/en-US/docs/Web/API/FullscreenOptions).

@@ -171,5 +171,5 @@ @returns A promise that resolves after the element enters/exits fullscreen.

*/
declare const screenfull: screenfull.Screenfull | {isEnabled: false};
declare const screenfull: screenfull.Screenfull;
export = screenfull;
export as namespace screenfull;
/*!
* screenfull
* v5.1.0 - 2020-12-24
* v5.2.0 - 2021-11-03
* (c) Sindre Sorhus; MIT License

@@ -5,0 +5,0 @@ */

{
"name": "screenfull",
"version": "5.1.0",
"version": "5.2.0",
"description": "Simple wrapper for cross-browser usage of the JavaScript Fullscreen API, which lets you bring the page or any element into fullscreen.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -5,2 +5,4 @@ # screenfull.js

**[Not supported on iPhone](#support)**
**This package is feature complete. No new features will be accepted.**

@@ -16,4 +18,4 @@

[min]: https://github.com/sindresorhus/screenfull.js/raw/master/dist/screenfull.min.js
[max]: https://github.com/sindresorhus/screenfull.js/raw/master/dist/screenfull.js
[min]: https://github.com/sindresorhus/screenfull.js/raw/main/dist/screenfull.min.js
[max]: https://github.com/sindresorhus/screenfull.js/raw/main/dist/screenfull.js

@@ -200,3 +202,3 @@ ```

The default element is `<html>`. If called with another element than the currently active, it will switch to that if it's a decendant.
The default element is `<html>`. If called with another element than the currently active, it will switch to that if it's a descendant.

@@ -203,0 +205,0 @@ If your page is inside an `<iframe>` you will need to add a `allowfullscreen` attribute (+ `webkitallowfullscreen` and `mozallowfullscreen`).

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