@@ -7,6 +7,8 @@
var _inspect = require('./inspect.js');
+var _globalThis$process;
+
/**
* A replacement for instanceof which includes an error warning when multi-realm
* constructors are detected.
@@ -16,8 +18,10 @@
const instanceOf =
/* c8 ignore next 6 */
// FIXME: https://github.com/graphql/graphql-js/issues/2317
- // eslint-disable-next-line no-undef
- process.env.NODE_ENV === 'production'
+ ((_globalThis$process = globalThis.process) === null ||
+ _globalThis$process === void 0
+ ? void 0
+ : _globalThis$process.env.NODE_ENV) === 'production'
? function instanceOf(value, constructor) {
return value instanceof constructor;
}