Socket
Socket
Sign inDemoInstall

@deckdeckgo/utils

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deckdeckgo/utils - npm Package Compare versions

Comparing version 1.0.0-rc.1-1 to 1.0.0-rc.1-2

11

CHANGELOG.md

@@ -0,6 +1,15 @@

<a name="1.0.0-rc.1-2"></a>
# 1.0.0-rc.1-2 (2019-09-21)
### Features
* add `isIPad()` function
<a name="1.0.0-rc.1-1"></a>
# 1.0.0-rc.1-1 (2019-09-01)
* improvate `debounce` typing
### Features
* improve `debounce` typing
<a name="1.0.0-rc.1"></a>

@@ -7,0 +16,0 @@ # 1.0.0-rc.1 (2019-08-30)

@@ -5,2 +5,3 @@ export declare function unifyEvent(e: any): any;

export declare function isIOS(): boolean;
export declare function isIPad(): boolean;
export declare function isFullscreen(): boolean;

@@ -28,2 +28,9 @@ export function unifyEvent(e) {

}
export function isIPad() {
if (!window || !navigator) {
return false;
}
const a = navigator.userAgent || navigator.vendor || window.opera;
return /iPad/i.test(a);
}
export function isFullscreen() {

@@ -30,0 +37,0 @@ if (!window || !screen) {

2

package.json
{
"name": "@deckdeckgo/utils",
"version": "1.0.0-rc.1-1",
"version": "1.0.0-rc.1-2",
"author": "David Dal Busco",

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

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