We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 192f5f1 commit 5564e7bCopy full SHA for 5564e7b
src/util/minimal.js
@@ -52,7 +52,7 @@ util.emptyObject = Object.freeze ? Object.freeze({}) : /* istanbul ignore next *
52
* @type {boolean}
53
* @const
54
*/
55
-util.isNode = Boolean(util.global.process && util.global.process.versions && util.global.process.versions.node);
+util.isNode = Boolean(process && process.versions && process.versions.node);
56
57
/**
58
* Tests if the specified value is an integer.
0 commit comments