@trackunit/react-core-contexts-test 1.3.144 → 1.3.146
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.cjs.js +1 -2
- package/index.esm.js +1 -2
- package/package.json +4 -4
package/index.cjs.js
CHANGED
|
@@ -126,7 +126,6 @@ const mockEnvironmentContext = {
|
|
|
126
126
|
amplitudeApiKey: "",
|
|
127
127
|
amplitudeApiEndpoint: "",
|
|
128
128
|
graphqlPublicUrl: "",
|
|
129
|
-
graphqlManagerUrl: "",
|
|
130
129
|
graphqlInternalUrl: "",
|
|
131
130
|
graphqlReportUrl: "",
|
|
132
131
|
buildVersion: "",
|
|
@@ -400,7 +399,7 @@ const RouterContainer = ({ addTestRootContainer, selectedRouterProps, rootRoute,
|
|
|
400
399
|
// Skipping this rule for now.
|
|
401
400
|
// Explicit calls to rerender() will create a new router as `children` is changed.
|
|
402
401
|
// This causes unexpected state updates in Tanstack router which make the test fail
|
|
403
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
402
|
+
// eslint-disable-next-line react-hooks/react-compiler, react-hooks/exhaustive-deps
|
|
404
403
|
}, [rootRoute]);
|
|
405
404
|
const context = React.useMemo(() => ({
|
|
406
405
|
hasAccessTo: async () => true,
|
package/index.esm.js
CHANGED
|
@@ -124,7 +124,6 @@ const mockEnvironmentContext = {
|
|
|
124
124
|
amplitudeApiKey: "",
|
|
125
125
|
amplitudeApiEndpoint: "",
|
|
126
126
|
graphqlPublicUrl: "",
|
|
127
|
-
graphqlManagerUrl: "",
|
|
128
127
|
graphqlInternalUrl: "",
|
|
129
128
|
graphqlReportUrl: "",
|
|
130
129
|
buildVersion: "",
|
|
@@ -398,7 +397,7 @@ const RouterContainer = ({ addTestRootContainer, selectedRouterProps, rootRoute,
|
|
|
398
397
|
// Skipping this rule for now.
|
|
399
398
|
// Explicit calls to rerender() will create a new router as `children` is changed.
|
|
400
399
|
// This causes unexpected state updates in Tanstack router which make the test fail
|
|
401
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
400
|
+
// eslint-disable-next-line react-hooks/react-compiler, react-hooks/exhaustive-deps
|
|
402
401
|
}, [rootRoute]);
|
|
403
402
|
const context = useMemo(() => ({
|
|
404
403
|
hasAccessTo: async () => true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-core-contexts-test",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.146",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"graphql": "^16.10.0",
|
|
15
15
|
"@tanstack/react-router": "1.114.29",
|
|
16
16
|
"@tanstack/router-core": "1.114.29",
|
|
17
|
-
"@trackunit/react-core-contexts-api": "1.4.
|
|
18
|
-
"@trackunit/react-core-hooks": "1.3.
|
|
19
|
-
"@trackunit/shared-utils": "1.5.
|
|
17
|
+
"@trackunit/react-core-contexts-api": "1.4.140",
|
|
18
|
+
"@trackunit/react-core-hooks": "1.3.145",
|
|
19
|
+
"@trackunit/shared-utils": "1.5.133"
|
|
20
20
|
},
|
|
21
21
|
"module": "./index.esm.js",
|
|
22
22
|
"main": "./index.cjs.js",
|