@module-federation/bridge-react
Advanced tools
Comparing version 0.0.0-next-20241226090607 to 0.0.0-next-20241230025944
# @module-federation/bridge-react | ||
## 0.0.0-next-20241226090607 | ||
## 0.0.0-next-20241230025944 | ||
### Patch Changes | ||
- 4102786: feat: support basename passed by remote module props | ||
- Updated dependencies [835b09c] | ||
- Updated dependencies [4fd33fb] | ||
- @module-federation/sdk@0.0.0-next-20241230025944 | ||
- @module-federation/bridge-shared@0.0.0-next-20241230025944 | ||
## 0.8.6 | ||
### Patch Changes | ||
- 85e7482: fix(bridge-react): change all logs from info to debug in all bridge packages | ||
- @module-federation/sdk@0.0.0-next-20241226090607 | ||
- @module-federation/bridge-shared@0.0.0-next-20241226090607 | ||
- @module-federation/sdk@0.8.6 | ||
- @module-federation/bridge-shared@0.8.6 | ||
@@ -11,0 +21,0 @@ ## 0.8.5 |
"use strict"; | ||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); | ||
const React = require("react"); | ||
const context = require("./context-BcJ-YlNr.cjs"); | ||
const context = require("./context-DS0wRSh7.cjs"); | ||
const ReactRouterDOM = require("react-router-dom"); | ||
@@ -215,3 +215,3 @@ const plugin = require("./plugin.cjs.js"); | ||
}; | ||
RemoteApp2["__APP_VERSION__"] = "0.8.5"; | ||
RemoteApp2["__APP_VERSION__"] = "0.8.6"; | ||
return /* @__PURE__ */ React.createElement(RemoteApp2, null); | ||
@@ -222,2 +222,5 @@ }); | ||
var _a; | ||
if (props == null ? void 0 : props.basename) { | ||
return /* @__PURE__ */ React.createElement(WrappedComponent, { ...props, basename: props.basename, ref }); | ||
} | ||
let enableDispathPopstate = false; | ||
@@ -224,0 +227,0 @@ let routerContextVal; |
import * as React from "react"; | ||
import React__default, { createContext, Component, createElement, forwardRef, useRef, useEffect, useContext, useState } from "react"; | ||
import { L as LoggerInstance, g as getRootDomDefaultClassName, p as pathJoin, a as atLeastReact18, R as RouterContext } from "./context-CUbFnlO5.js"; | ||
import { L as LoggerInstance, g as getRootDomDefaultClassName, p as pathJoin, a as atLeastReact18, R as RouterContext } from "./context-BgBVJ06L.js"; | ||
import * as ReactRouterDOM from "react-router-dom"; | ||
@@ -196,3 +196,3 @@ import { federationRuntime } from "./plugin.es.js"; | ||
}; | ||
RemoteApp2["__APP_VERSION__"] = "0.8.5"; | ||
RemoteApp2["__APP_VERSION__"] = "0.8.6"; | ||
return /* @__PURE__ */ React__default.createElement(RemoteApp2, null); | ||
@@ -203,2 +203,5 @@ }); | ||
var _a; | ||
if (props == null ? void 0 : props.basename) { | ||
return /* @__PURE__ */ React__default.createElement(WrappedComponent, { ...props, basename: props.basename, ref }); | ||
} | ||
let enableDispathPopstate = false; | ||
@@ -205,0 +208,0 @@ let routerContextVal; |
@@ -5,3 +5,3 @@ "use strict"; | ||
const ReactRouterDom$1 = require("react-router-dom/index.js"); | ||
const context = require("./context-BcJ-YlNr.cjs"); | ||
const context = require("./context-DS0wRSh7.cjs"); | ||
const ReactRouterDom = require("react-router-dom/index.js"); | ||
@@ -8,0 +8,0 @@ function _interopNamespaceDefault(e) { |
import React__default, { useContext } from "react"; | ||
import * as ReactRouterDom$1 from "react-router-dom/index.js"; | ||
import { R as RouterContext, L as LoggerInstance } from "./context-CUbFnlO5.js"; | ||
import { R as RouterContext, L as LoggerInstance } from "./context-BgBVJ06L.js"; | ||
export * from "react-router-dom/index.js"; | ||
@@ -5,0 +5,0 @@ function WraperRouter(props) { |
@@ -5,3 +5,3 @@ "use strict"; | ||
const ReactRouterDom$1 = require("react-router-dom/dist/index.js"); | ||
const context = require("./context-BcJ-YlNr.cjs"); | ||
const context = require("./context-DS0wRSh7.cjs"); | ||
const ReactRouterDom = require("react-router-dom/dist/index.js"); | ||
@@ -8,0 +8,0 @@ function _interopNamespaceDefault(e) { |
import React__default, { useContext } from "react"; | ||
import * as ReactRouterDom$1 from "react-router-dom/dist/index.js"; | ||
import { R as RouterContext, L as LoggerInstance } from "./context-CUbFnlO5.js"; | ||
import { R as RouterContext, L as LoggerInstance } from "./context-BgBVJ06L.js"; | ||
export * from "react-router-dom/dist/index.js"; | ||
@@ -5,0 +5,0 @@ function WraperRouter(props) { |
@@ -5,3 +5,3 @@ "use strict"; | ||
const ReactRouterDom = require("react-router-dom/"); | ||
const context = require("./context-BcJ-YlNr.cjs"); | ||
const context = require("./context-DS0wRSh7.cjs"); | ||
function _interopNamespaceDefault(e) { | ||
@@ -8,0 +8,0 @@ const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } }); |
import React__default, { useContext } from "react"; | ||
import * as ReactRouterDom from "react-router-dom/"; | ||
export * from "react-router-dom/"; | ||
import { R as RouterContext, L as LoggerInstance } from "./context-CUbFnlO5.js"; | ||
import { R as RouterContext, L as LoggerInstance } from "./context-BgBVJ06L.js"; | ||
function WrapperRouter(props) { | ||
@@ -6,0 +6,0 @@ const { basename, ...propsRes } = props; |
{ | ||
"name": "@module-federation/bridge-react", | ||
"version": "0.0.0-next-20241226090607", | ||
"version": "0.0.0-next-20241230025944", | ||
"publishConfig": { | ||
@@ -49,4 +49,4 @@ "access": "public" | ||
"react-error-boundary": "^4.1.2", | ||
"@module-federation/bridge-shared": "0.0.0-next-20241226090607", | ||
"@module-federation/sdk": "0.0.0-next-20241226090607" | ||
"@module-federation/bridge-shared": "0.0.0-next-20241230025944", | ||
"@module-federation/sdk": "0.0.0-next-20241230025944" | ||
}, | ||
@@ -72,3 +72,3 @@ "peerDependencies": { | ||
"vite-plugin-dts": "^4.3.0", | ||
"@module-federation/runtime": "0.0.0-next-20241226090607" | ||
"@module-federation/runtime": "0.0.0-next-20241230025944" | ||
}, | ||
@@ -75,0 +75,0 @@ "scripts": { |
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
120269
3230
+ Added@module-federation/bridge-shared@0.0.0-next-20241230025944(transitive)
+ Added@module-federation/sdk@0.0.0-next-20241230025944(transitive)
+ Addedisomorphic-rslog@0.0.7(transitive)
- Removed@module-federation/bridge-shared@0.0.0-next-20241226090607(transitive)
- Removed@module-federation/sdk@0.0.0-next-20241226090607(transitive)
- Removedisomorphic-rslog@0.0.6(transitive)
Updated@module-federation/bridge-shared@0.0.0-next-20241230025944