Socket
Socket
Sign inDemoInstall

@deckdeckgo/utils

Package Overview
Dependencies
0
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.4.0

8

CHANGELOG.md

@@ -0,1 +1,9 @@

<a name="1.4.0"></a>
# 1.4.0 (2020-11-20)
### Fix
- detection iPad for iOS >= 13
<a name="1.3.0"></a>

@@ -2,0 +10,0 @@

5

lib/index.cjs.js

@@ -38,3 +38,6 @@ 'use strict';

const a = navigator.userAgent || navigator.vendor || window.opera;
return /iPad/i.test(a);
if (/iPad/i.test(a)) {
return true;
}
return /Macintosh/i.test(a) && isMobile();
}

@@ -41,0 +44,0 @@ function isFullscreen() {

@@ -34,3 +34,6 @@ export function unifyEvent(e) {

const a = navigator.userAgent || navigator.vendor || window.opera;
return /iPad/i.test(a);
if (/iPad/i.test(a)) {
return true;
}
return /Macintosh/i.test(a) && isMobile();
}

@@ -37,0 +40,0 @@ export function isFullscreen() {

2

package.json
{
"name": "@deckdeckgo/utils",
"version": "1.3.0",
"version": "1.4.0",
"author": "David Dal Busco",

@@ -5,0 +5,0 @@ "description": "A collection of utils methods and functions developed for DeckDeckGo",

@@ -1,3 +0,11 @@

# DeckDeckGo - Types
[![npm][npm-badge]][npm-badge-url]
[![license][npm-license]][npm-license-url]
[npm-badge]: https://img.shields.io/npm/v/@deckdeckgo/utils
[npm-badge-url]: https://www.npmjs.com/package/@deckdeckgo/utils
[npm-license]: https://img.shields.io/npm/l/@deckdeckgo/utils
[npm-license-url]: https://github.com/deckgo/deckdeckgo/blob/master/utils/utils/LICENSE
# DeckDeckGo - Utils
A collection of utils methods and functions developed and used across apps and components of [DeckDeckGo].

@@ -64,3 +72,3 @@

static isFullscreen(): boolean
```
```

@@ -71,2 +79,2 @@ ## License

[DeckDeckGo]: https://deckdeckgo.com
[deckdeckgo]: https://deckdeckgo.com
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc