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-3 to 1.0.0-rc.1-4

7

CHANGELOG.md

@@ -0,1 +1,8 @@

<a name="1.0.0-rc.1-4"></a>
# 1.0.0-rc.1-4 (2019-11-13)
### Features
* add function `isFirefox`
<a name="1.0.0-rc.1-3"></a>

@@ -2,0 +9,0 @@ # 1.0.0-rc.1-3 (2019-11-05)

1

lib/utils/utils.d.ts

@@ -7,1 +7,2 @@ export declare function unifyEvent(e: any): any;

export declare function isFullscreen(): boolean;
export declare function isFirefox(): boolean;

@@ -41,1 +41,8 @@ export function unifyEvent(e) {

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

2

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

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

@@ -17,3 +17,3 @@ # DeckDeckGo - Types

git clone https://github.com/deckgo/deckdeckgo
cd deckdeckgo/webcomponents/utils
cd deckdeckgo/utils/utils
npm install

@@ -20,0 +20,0 @@ npm run build

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