@module-federation/bridge-react 0.0.0-next-20250324124529 → 0.0.0-next-20250325025859
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/CHANGELOG.md +12 -3
- package/dist/{context-BGIGBPw-.cjs → context-C79iMWYD.cjs} +1 -1
- package/dist/{context-B5HZIYe5.js → context-Dbqf0szX.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/router-v5.cjs.js +1 -1
- package/dist/router-v5.es.js +1 -1
- package/dist/router-v6.cjs.js +1 -1
- package/dist/router-v6.es.js +1 -1
- package/dist/router.cjs.js +1 -1
- package/dist/router.es.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# @module-federation/bridge-react
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-20250325025859
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- chore: bump next
|
|
8
|
+
- @module-federation/sdk@0.0.0-next-20250325025859
|
|
9
|
+
- @module-federation/bridge-shared@0.0.0-next-20250325025859
|
|
10
|
+
|
|
11
|
+
## 0.11.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
6
14
|
|
|
7
15
|
- f4f843d: remove @loadable/component from package.json
|
|
8
|
-
|
|
9
|
-
- @module-federation/
|
|
16
|
+
- Updated dependencies [047857b]
|
|
17
|
+
- @module-federation/sdk@0.11.2
|
|
18
|
+
- @module-federation/bridge-shared@0.11.2
|
|
10
19
|
|
|
11
20
|
## 0.11.1
|
|
12
21
|
|
|
@@ -3,7 +3,7 @@ const React = require("react");
|
|
|
3
3
|
const BROWSER_LOG_KEY = "FEDERATION_DEBUG";
|
|
4
4
|
const BROWSER_LOG_VALUE = "1";
|
|
5
5
|
function isBrowserEnv() {
|
|
6
|
-
return typeof window !== "undefined";
|
|
6
|
+
return typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
7
7
|
}
|
|
8
8
|
function isBrowserDebug() {
|
|
9
9
|
try {
|
|
@@ -2,7 +2,7 @@ import React__default from "react";
|
|
|
2
2
|
const BROWSER_LOG_KEY = "FEDERATION_DEBUG";
|
|
3
3
|
const BROWSER_LOG_VALUE = "1";
|
|
4
4
|
function isBrowserEnv() {
|
|
5
|
-
return typeof window !== "undefined";
|
|
5
|
+
return typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
6
6
|
}
|
|
7
7
|
function isBrowserDebug() {
|
|
8
8
|
try {
|
package/dist/index.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const React = require("react");
|
|
5
|
-
const context = require("./context-
|
|
5
|
+
const context = require("./context-C79iMWYD.cjs");
|
|
6
6
|
const ReactRouterDOM = require("react-router-dom");
|
|
7
7
|
const plugin = require("./plugin.cjs.js");
|
|
8
8
|
const ReactDOM = require("react-dom");
|
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _a;
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import React__default, { createContext, Component, createElement, forwardRef, useRef, useState, useEffect, useContext } from "react";
|
|
4
|
-
import { L as LoggerInstance, g as getRootDomDefaultClassName, p as pathJoin, R as RouterContext } from "./context-
|
|
4
|
+
import { L as LoggerInstance, g as getRootDomDefaultClassName, p as pathJoin, R as RouterContext } from "./context-Dbqf0szX.js";
|
|
5
5
|
import * as ReactRouterDOM from "react-router-dom";
|
|
6
6
|
import { federationRuntime } from "./plugin.es.js";
|
|
7
7
|
import ReactDOM from "react-dom";
|
package/dist/router-v5.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const ReactRouterDom$1 = require("react-router-dom/index.js");
|
|
5
|
-
const context = require("./context-
|
|
5
|
+
const context = require("./context-C79iMWYD.cjs");
|
|
6
6
|
const ReactRouterDom = require("react-router-dom/index.js");
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
package/dist/router-v5.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useContext } from "react";
|
|
2
2
|
import * as ReactRouterDom$1 from "react-router-dom/index.js";
|
|
3
|
-
import { R as RouterContext, L as LoggerInstance } from "./context-
|
|
3
|
+
import { R as RouterContext, L as LoggerInstance } from "./context-Dbqf0szX.js";
|
|
4
4
|
export * from "react-router-dom/index.js";
|
|
5
5
|
function WraperRouter(props) {
|
|
6
6
|
const { basename, ...propsRes } = props;
|
package/dist/router-v6.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const ReactRouterDom$1 = require("react-router-dom/dist/index.js");
|
|
5
|
-
const context = require("./context-
|
|
5
|
+
const context = require("./context-C79iMWYD.cjs");
|
|
6
6
|
const ReactRouterDom = require("react-router-dom/dist/index.js");
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
package/dist/router-v6.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useContext } from "react";
|
|
2
2
|
import * as ReactRouterDom$1 from "react-router-dom/dist/index.js";
|
|
3
|
-
import { R as RouterContext, L as LoggerInstance } from "./context-
|
|
3
|
+
import { R as RouterContext, L as LoggerInstance } from "./context-Dbqf0szX.js";
|
|
4
4
|
export * from "react-router-dom/dist/index.js";
|
|
5
5
|
function WraperRouter(props) {
|
|
6
6
|
const { basename, ...propsRes } = props;
|
package/dist/router.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const ReactRouterDom = require("react-router-dom/");
|
|
5
|
-
const context = require("./context-
|
|
5
|
+
const context = require("./context-C79iMWYD.cjs");
|
|
6
6
|
function _interopNamespaceDefault(e) {
|
|
7
7
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
8
8
|
if (e) {
|
package/dist/router.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useContext } from "react";
|
|
2
2
|
import * as ReactRouterDom from "react-router-dom/";
|
|
3
3
|
export * from "react-router-dom/";
|
|
4
|
-
import { R as RouterContext, L as LoggerInstance } from "./context-
|
|
4
|
+
import { R as RouterContext, L as LoggerInstance } from "./context-Dbqf0szX.js";
|
|
5
5
|
function WrapperRouter(props) {
|
|
6
6
|
const { basename, ...propsRes } = props;
|
|
7
7
|
const routerContextProps = useContext(RouterContext) || {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/bridge-react",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20250325025859",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"react-error-boundary": "^4.1.2",
|
|
48
|
-
"@module-federation/bridge-shared": "0.0.0-next-
|
|
49
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
48
|
+
"@module-federation/bridge-shared": "0.0.0-next-20250325025859",
|
|
49
|
+
"@module-federation/sdk": "0.0.0-next-20250325025859"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=16.9.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"typescript": "^5.2.2",
|
|
68
68
|
"vite": "^5.4.12",
|
|
69
69
|
"vite-plugin-dts": "^4.3.0",
|
|
70
|
-
"@module-federation/runtime": "0.0.0-next-
|
|
70
|
+
"@module-federation/runtime": "0.0.0-next-20250325025859"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"dev": "vite",
|