Comparing version 1.0.24 to 1.0.25
{ | ||
"name": "pg-mem", | ||
"version": "1.0.24", | ||
"version": "1.0.25", | ||
"description": "A memory version of postgres", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -37,3 +37,3 @@ import moment from 'moment'; | ||
export function watchUse<T>(rootValue: T): T & { check?(); } { | ||
if (!rootValue || globalThis?.process?.env?.['NOCHECKFULLQUERYUSAGE'] === 'true') { | ||
if (!rootValue || typeof globalThis !== 'undefined' && globalThis?.process?.env?.['NOCHECKFULLQUERYUSAGE'] === 'true') { | ||
return rootValue; | ||
@@ -40,0 +40,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1702730