@thi.ng/checks
Advanced tools
Comparing version 2.7.8 to 2.7.9
@@ -6,2 +6,10 @@ # Change Log | ||
## [2.7.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.7.8...@thi.ng/checks@2.7.9) (2020-09-22) | ||
**Note:** Version bump only for package @thi.ng/checks | ||
## [2.7.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/checks@2.7.7...@thi.ng/checks@2.7.8) (2020-09-13) | ||
@@ -8,0 +16,0 @@ |
@@ -1,10 +0,3 @@ | ||
export const isNode = () => { | ||
if (typeof process === "object") { | ||
if (typeof process.versions === "object") { | ||
if (typeof process.versions.node !== "undefined") { | ||
return true; | ||
} | ||
} | ||
} | ||
return false; | ||
}; | ||
export const isNode = () => typeof process === "object" && | ||
typeof process.versions === "object" && | ||
typeof process.versions.node !== "undefined"; |
@@ -105,12 +105,5 @@ 'use strict'; | ||
const isNode = () => { | ||
if (typeof process === "object") { | ||
if (typeof process.versions === "object") { | ||
if (typeof process.versions.node !== "undefined") { | ||
return true; | ||
} | ||
} | ||
} | ||
return false; | ||
}; | ||
const isNode = () => typeof process === "object" && | ||
typeof process.versions === "object" && | ||
typeof process.versions.node !== "undefined"; | ||
@@ -117,0 +110,0 @@ const isNotStringAndIterable = (x) => x != null && |
{ | ||
"name": "@thi.ng/checks", | ||
"version": "2.7.8", | ||
"version": "2.7.9", | ||
"description": "Collection of 50+ type, feature & value checks", | ||
@@ -62,3 +62,2 @@ "module": "./index.js", | ||
"detect", | ||
"es6", | ||
"feature", | ||
@@ -77,3 +76,3 @@ "reflect", | ||
"sideEffects": false, | ||
"gitHead": "83a0206aae59aa1b1b4bcb01c2b34bbe3db4844c" | ||
"gitHead": "130dff672b56f789205177c2243169d33d479948" | ||
} |
@@ -30,2 +30,4 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
[Search or submit any issues for this package](https://github.com/thi-ng/umbrella/issues?q=is%3Aissue+is%3Aopen+%5Bchecks%5D) | ||
## Installation | ||
@@ -32,0 +34,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
72
64833
532