@thi.ng/checks
Advanced tools
Comparing version 2.1.6 to 2.2.0
@@ -6,2 +6,18 @@ # Change Log | ||
# [2.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.1.6...@thi.ng/checks@2.2.0) (2019-07-07) | ||
### Bug Fixes | ||
* **checks:** isMobile for Chrome iOS ([8216d48](https://github.com/thi-ng/umbrella/commit/8216d48)) | ||
### Features | ||
* **checks:** enable TS strict compiler flags (refactor) ([90515e7](https://github.com/thi-ng/umbrella/commit/90515e7)) | ||
## [2.1.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.1.5...@thi.ng/checks@2.1.6) (2019-04-24) | ||
@@ -8,0 +24,0 @@ |
export const isMobile = () => typeof navigator !== "undefined" && | ||
/mobile|tablet|ip(ad|hone|od)|android|silk/i.test(navigator.userAgent) && | ||
!/crios/i.test(navigator.userAgent); | ||
/mobile|tablet|ip(ad|hone|od)|android|silk|crios/i.test(navigator.userAgent); |
@@ -71,4 +71,3 @@ 'use strict'; | ||
const isMobile = () => typeof navigator !== "undefined" && | ||
/mobile|tablet|ip(ad|hone|od)|android|silk/i.test(navigator.userAgent) && | ||
!/crios/i.test(navigator.userAgent); | ||
/mobile|tablet|ip(ad|hone|od)|android|silk|crios/i.test(navigator.userAgent); | ||
@@ -75,0 +74,0 @@ const isNaN = (x) => x !== x; |
@@ -73,4 +73,3 @@ (function (global, factory) { | ||
const isMobile = () => typeof navigator !== "undefined" && | ||
/mobile|tablet|ip(ad|hone|od)|android|silk/i.test(navigator.userAgent) && | ||
!/crios/i.test(navigator.userAgent); | ||
/mobile|tablet|ip(ad|hone|od)|android|silk|crios/i.test(navigator.userAgent); | ||
@@ -77,0 +76,0 @@ const isNaN = (x) => x !== x; |
{ | ||
"name": "@thi.ng/checks", | ||
"version": "2.1.6", | ||
"version": "2.2.0", | ||
"description": "Single-function sub-modules for type, feature & value checks", | ||
@@ -28,7 +28,7 @@ "module": "./index.js", | ||
"@types/mocha": "^5.2.6", | ||
"@types/node": "^11.13.7", | ||
"@types/node": "^12.0.8", | ||
"mocha": "^6.1.4", | ||
"nyc": "^14.0.0", | ||
"typedoc": "^0.14.2", | ||
"typescript": "^3.4.5" | ||
"typescript": "^3.5.2" | ||
}, | ||
@@ -56,3 +56,3 @@ "keywords": [ | ||
"sideEffects": false, | ||
"gitHead": "38b2c61a9a7c1344889b81cd6eb3dcd601ceb443" | ||
"gitHead": "efa9fdd61dd4ad2187cefe0a26df3bf2baade24b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55706
601