Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@module-federation/bridge-react

Package Overview
Dependencies
Maintainers
0
Versions
303
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/bridge-react - npm Package Compare versions

Comparing version 0.0.0-next-20241014085010 to 0.0.0-next-20241014092946

23

CHANGELOG.md
# @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 @@

2

dist/index.cjs.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc