@carbonorm/carbonreact 3.3.10 → 3.3.12
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/compileValidSQL.cjs +4 -5
- package/compileValidSQL.tsx +2 -2
- package/dist/index.cjs.js +4 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Errors/BackendThrowable.tsx +2 -3
- package/src/hoc/setupTests.tsx +3 -2
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import styles from './style.module.scss';
|
|
2
2
|
import OutsideClickHandler from 'react-outside-click-handler';
|
|
3
|
+
import CarbonReact from "../../CarbonReact";
|
|
3
4
|
|
|
4
5
|
export default function BackendThrowable() {
|
|
5
6
|
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
const bootstrap = CarbonORM.instance;
|
|
7
|
+
const bootstrap = CarbonReact.instance;
|
|
9
8
|
|
|
10
9
|
const currentThrowable = bootstrap.state.backendThrowable[0];
|
|
11
10
|
|
package/src/hoc/setupTests.tsx
CHANGED
|
@@ -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;
|