detect-node
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -5,3 +5,3 @@ module.exports = false; | ||
try { | ||
module.exports = Object.prototype.toString.call(process) === '[object process]' | ||
module.exports = Object.prototype.toString.call(global.process) === '[object process]' | ||
} catch(e) {} |
{ | ||
"name": "detect-node", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Detect Node.JS (as opposite to browser environment) (reliable)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
1298