@trackunit/react-core-contexts-test 1.12.54 → 1.12.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs2.js +1 -1
- package/index.esm2.js +1 -1
- package/package.json +1 -1
package/index.cjs2.js
CHANGED
|
@@ -13405,7 +13405,7 @@ const defaultOptions = {
|
|
|
13405
13405
|
* This is a wrapper around the MockedProvider that logs errors to the console.
|
|
13406
13406
|
*/
|
|
13407
13407
|
function ApolloMockedProviderWithError(props) {
|
|
13408
|
-
const isDebugging = !!process.env.VSCODE_INSPECTOR_OPTIONS || !!process.env.DEBUG;
|
|
13408
|
+
const isDebugging = typeof globalThis.process !== "undefined" && (!!globalThis.process.env.VSCODE_INSPECTOR_OPTIONS || !!globalThis.process.env.DEBUG);
|
|
13409
13409
|
dev.loadDevMessages();
|
|
13410
13410
|
dev.loadErrorMessages();
|
|
13411
13411
|
const { mocks, ...otherProps } = props;
|
package/index.esm2.js
CHANGED
|
@@ -13383,7 +13383,7 @@ const defaultOptions = {
|
|
|
13383
13383
|
* This is a wrapper around the MockedProvider that logs errors to the console.
|
|
13384
13384
|
*/
|
|
13385
13385
|
function ApolloMockedProviderWithError(props) {
|
|
13386
|
-
const isDebugging = !!process.env.VSCODE_INSPECTOR_OPTIONS || !!process.env.DEBUG;
|
|
13386
|
+
const isDebugging = typeof globalThis.process !== "undefined" && (!!globalThis.process.env.VSCODE_INSPECTOR_OPTIONS || !!globalThis.process.env.DEBUG);
|
|
13387
13387
|
loadDevMessages();
|
|
13388
13388
|
loadErrorMessages();
|
|
13389
13389
|
const { mocks, ...otherProps } = props;
|