@carbonorm/carbonreact 3.3.10 → 3.3.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbonorm/carbonreact",
3
- "version": "3.3.10",
3
+ "version": "3.3.11",
4
4
  "browser": "dist/index.umd.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "main": "dist/index.cjs.js",
@@ -1,5 +1,3 @@
1
- import fs from "fs";
2
- import {inspect} from "util";
3
1
  import {axiosInstance, checkAllRequestsComplete, isVerbose} from "@carbonorm/carbonnode";
4
2
  import {waitFor} from "@testing-library/react";
5
3
  import ValidSQL, {validSQL} from "./validSQL";
@@ -9,6 +7,9 @@ export default function ({sqlDirectory = './logs/rest/', logsDirectory = './logs
9
7
  logsDirectory?: string
10
8
  } = {}) {
11
9
 
10
+ const fs = require("fs");
11
+ const {inspect} = require("util");
12
+
12
13
  const originalWindowLocation = window.location
13
14
 
14
15
  const consoleOriginal = console;