@module-federation/bridge-react
Advanced tools
Comparing version 0.0.0-next-20241014085010 to 0.0.0-next-20241014092946
# @module-federation/bridge-react | ||
## 0.0.0-next-20241014085010 | ||
## 0.0.0-next-20241014092946 | ||
### Patch Changes | ||
- @module-federation/bridge-shared@0.0.0-next-20241014085010 | ||
- @module-federation/bridge-shared@0.0.0-next-20241014092946 | ||
## 0.6.10 | ||
### Patch Changes | ||
- 8a77291: fix(bridge-react): add default basename for WraperRouterProvider | ||
- @module-federation/bridge-shared@0.6.10 | ||
## 0.6.9 | ||
### Patch Changes | ||
- @module-federation/bridge-shared@0.6.9 | ||
## 0.6.8 | ||
### Patch Changes | ||
- @module-federation/bridge-shared@0.6.8 | ||
## 0.6.7 | ||
@@ -10,0 +29,0 @@ |
@@ -180,3 +180,3 @@ "use strict"; | ||
}; | ||
RemoteApp2["__APP_VERSION__"] = "0.6.7"; | ||
RemoteApp2["__APP_VERSION__"] = "0.6.10"; | ||
return /* @__PURE__ */ React.createElement(RemoteApp2, null); | ||
@@ -183,0 +183,0 @@ }); |
@@ -161,3 +161,3 @@ import * as React from "react"; | ||
}; | ||
RemoteApp2["__APP_VERSION__"] = "0.6.7"; | ||
RemoteApp2["__APP_VERSION__"] = "0.6.10"; | ||
return /* @__PURE__ */ React__default.createElement(RemoteApp2, null); | ||
@@ -164,0 +164,0 @@ }); |
@@ -68,3 +68,4 @@ "use strict"; | ||
const BrowserRouterInstance = createBrowserRouter(routers, { | ||
basename: routerContextProps.basename, | ||
// In host app, the routerContextProps is {}, so we should use router.basename as fallback | ||
basename: routerContextProps.basename || router.basename, | ||
future: router.future, | ||
@@ -71,0 +72,0 @@ window: router.window |
@@ -50,3 +50,4 @@ import React__default, { useContext } from "react"; | ||
const BrowserRouterInstance = createBrowserRouter(routers, { | ||
basename: routerContextProps.basename, | ||
// In host app, the routerContextProps is {}, so we should use router.basename as fallback | ||
basename: routerContextProps.basename || router.basename, | ||
future: router.future, | ||
@@ -53,0 +54,0 @@ window: router.window |
{ | ||
"name": "@module-federation/bridge-react", | ||
"version": "0.0.0-next-20241014085010", | ||
"version": "0.0.0-next-20241014092946", | ||
"publishConfig": { | ||
@@ -38,3 +38,3 @@ "access": "public" | ||
"react-error-boundary": "^4.0.13", | ||
"@module-federation/bridge-shared": "0.0.0-next-20241014085010" | ||
"@module-federation/bridge-shared": "0.0.0-next-20241014092946" | ||
}, | ||
@@ -49,3 +49,3 @@ "peerDependencies": { | ||
"@types/react": "18.2.79", | ||
"@types/react-dom": "18.2.25", | ||
"@types/react-dom": "18.3.0", | ||
"@vitejs/plugin-react": "^4.3.0", | ||
@@ -52,0 +52,0 @@ "@vitejs/plugin-vue": "^5.0.4", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88831
2372
+ Added@module-federation/bridge-shared@0.0.0-next-20241014092946(transitive)
- Removed@module-federation/bridge-shared@0.0.0-next-20241014085010(transitive)
Updated@module-federation/bridge-shared@0.0.0-next-20241014092946