@module-federation/bridge-react 0.0.0-fix-capture-timeout-20260324112210 → 0.0.0-fix-filter-function-20260327073336
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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +12 -4
- package/dist/base.cjs.js +2 -2
- package/dist/base.es.js +2 -2
- package/dist/data-fetch-utils.cjs.js +1 -1
- package/dist/data-fetch-utils.es.js +2 -2
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{lazy-load-component-plugin-BPc7MCM0.mjs → lazy-load-component-plugin-CqxENGBE.mjs} +1 -1
- package/dist/{lazy-load-component-plugin-CbkUlx8x.js → lazy-load-component-plugin-ZC6dhtcT.js} +1 -1
- package/dist/lazy-load-component-plugin.cjs.js +2 -2
- package/dist/lazy-load-component-plugin.es.js +2 -2
- package/dist/{prefetch-B7nv4qbv.js → prefetch-8e8pqiSo.js} +3 -1
- package/dist/{prefetch-HO3b1ofi.mjs → prefetch-CFKA0dZg.mjs} +3 -1
- package/package.json +5 -5
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @module-federation/bridge-react@0.0.0-fix-
|
|
2
|
+
> @module-federation/bridge-react@0.0.0-fix-filter-function-20260327073336 build /home/runner/work/core/core/packages/bridge/bridge-react
|
|
3
3
|
> vite build
|
|
4
4
|
|
|
5
5
|
[33mThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.[39m
|
|
@@ -30,8 +30,8 @@ computing gzip size...
|
|
|
30
30
|
[2mdist/[22m[36mdata-fetch-server-middleware.cjs.js [39m[1m[2m 5.79 kB[22m[1m[22m[2m │ gzip: 1.73 kB[22m
|
|
31
31
|
[2mdist/[22m[36mcreateHelpers-9B0ttrN_.js [39m[1m[2m 7.32 kB[22m[1m[22m[2m │ gzip: 1.95 kB[22m
|
|
32
32
|
[2mdist/[22m[36mbridge-base-IlvdqYIj.js [39m[1m[2m 7.70 kB[22m[1m[22m[2m │ gzip: 2.11 kB[22m
|
|
33
|
-
[2mdist/[22m[36mlazy-load-component-plugin-
|
|
34
|
-
[2mdist/[22m[36mprefetch-
|
|
33
|
+
[2mdist/[22m[36mlazy-load-component-plugin-ZC6dhtcT.js [39m[1m[2m17.65 kB[22m[1m[22m[2m │ gzip: 4.21 kB[22m
|
|
34
|
+
[2mdist/[22m[36mprefetch-8e8pqiSo.js [39m[1m[2m31.90 kB[22m[1m[22m[2m │ gzip: 7.84 kB[22m
|
|
35
35
|
[2mdist/[22m[36mutils-CFTy4LVE.js [39m[1m[2m72.53 kB[22m[1m[22m[2m │ gzip: 15.19 kB[22m
|
|
36
36
|
[32m[36m[vite:dts][32m Start rollup declaration files...[39m
|
|
37
37
|
Analysis will use the bundled TypeScript version 5.8.2
|
|
@@ -60,7 +60,7 @@ Analysis will use the bundled TypeScript version 5.8.2
|
|
|
60
60
|
*** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
|
|
61
61
|
Analysis will use the bundled TypeScript version 5.8.2
|
|
62
62
|
*** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
|
|
63
|
-
[32m[36m[vite:dts][32m Declaration files built in
|
|
63
|
+
[32m[36m[vite:dts][32m Declaration files built in 49963ms.
|
|
64
64
|
[39m
|
|
65
65
|
[2mdist/[22m[36mlazy-load-component-plugin.es.js [39m[1m[2m 0.17 kB[22m[1m[22m[2m │ gzip: 0.15 kB[22m
|
|
66
66
|
[2mdist/[22m[36mplugin.es.js [39m[1m[2m 0.29 kB[22m[1m[22m[2m │ gzip: 0.18 kB[22m
|
|
@@ -79,7 +79,7 @@ Analysis will use the bundled TypeScript version 5.8.2
|
|
|
79
79
|
[2mdist/[22m[36mdata-fetch-server-middleware.es.js [39m[1m[2m 5.73 kB[22m[1m[22m[2m │ gzip: 1.76 kB[22m
|
|
80
80
|
[2mdist/[22m[36mbridge-base-EnVXD4Hr.mjs [39m[1m[2m 7.11 kB[22m[1m[22m[2m │ gzip: 1.92 kB[22m
|
|
81
81
|
[2mdist/[22m[36mcreateHelpers-D77sECmY.mjs [39m[1m[2m 7.27 kB[22m[1m[22m[2m │ gzip: 1.96 kB[22m
|
|
82
|
-
[2mdist/[22m[36mlazy-load-component-plugin-
|
|
83
|
-
[2mdist/[22m[36mprefetch-
|
|
82
|
+
[2mdist/[22m[36mlazy-load-component-plugin-CqxENGBE.mjs [39m[1m[2m17.79 kB[22m[1m[22m[2m │ gzip: 4.33 kB[22m
|
|
83
|
+
[2mdist/[22m[36mprefetch-CFKA0dZg.mjs [39m[1m[2m31.92 kB[22m[1m[22m[2m │ gzip: 7.90 kB[22m
|
|
84
84
|
[2mdist/[22m[36mutils-D4k5eixv.mjs [39m[1m[2m71.78 kB[22m[1m[22m[2m │ gzip: 15.18 kB[22m
|
|
85
|
-
[32m✓ built in 52.
|
|
85
|
+
[32m✓ built in 52.96s[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
# @module-federation/bridge-react
|
|
2
2
|
|
|
3
|
-
## 0.0.0-fix-
|
|
3
|
+
## 0.0.0-fix-filter-function-20260327073336
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
- @module-federation/sdk@0.0.0-fix-filter-function-20260327073336
|
|
8
|
+
- @module-federation/bridge-shared@0.0.0-fix-filter-function-20260327073336
|
|
9
|
+
|
|
10
|
+
## 2.3.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [eb26065]
|
|
15
|
+
- Updated dependencies [8f2ec9b]
|
|
16
|
+
- @module-federation/sdk@2.3.0
|
|
17
|
+
- @module-federation/bridge-shared@2.3.0
|
|
10
18
|
|
|
11
19
|
## 2.2.3
|
|
12
20
|
|
package/dist/base.cjs.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const createHelpers = require("./createHelpers-9B0ttrN_.js");
|
|
4
|
-
const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-
|
|
4
|
+
const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-ZC6dhtcT.js");
|
|
5
5
|
const lazyUtils = require("./utils-CFTy4LVE.js");
|
|
6
6
|
const dataFetchUtils = require("./data-fetch-utils.cjs.js");
|
|
7
|
-
const prefetch = require("./prefetch-
|
|
7
|
+
const prefetch = require("./prefetch-8e8pqiSo.js");
|
|
8
8
|
const createRemoteAppComponent = createHelpers.createRemoteAppComponentFactory(createHelpers.RemoteAppWrapper);
|
|
9
9
|
const createRemoteComponent = createHelpers.createDeprecatedRemoteComponentFactory(
|
|
10
10
|
createRemoteAppComponent
|
package/dist/base.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as createRemoteAppComponentFactory, a as createDeprecatedRemoteComponentFactory, R as RemoteAppWrapper } from "./createHelpers-D77sECmY.mjs";
|
|
2
2
|
import { b } from "./createHelpers-D77sECmY.mjs";
|
|
3
|
-
import { a, c, b as b2, l } from "./lazy-load-component-plugin-
|
|
3
|
+
import { a, c, b as b2, l } from "./lazy-load-component-plugin-CqxENGBE.mjs";
|
|
4
4
|
import { C, a as a2, E, c as c2, b as b3, d, g, r, s } from "./utils-D4k5eixv.mjs";
|
|
5
5
|
import { callDataFetch } from "./data-fetch-utils.es.js";
|
|
6
|
-
import { p } from "./prefetch-
|
|
6
|
+
import { p } from "./prefetch-CFKA0dZg.mjs";
|
|
7
7
|
const createRemoteAppComponent = createRemoteAppComponentFactory(RemoteAppWrapper);
|
|
8
8
|
const createRemoteComponent = createDeprecatedRemoteComponentFactory(
|
|
9
9
|
createRemoteAppComponent
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const lazyUtils = require("./utils-CFTy4LVE.js");
|
|
4
|
-
const prefetch = require("./prefetch-
|
|
4
|
+
const prefetch = require("./prefetch-8e8pqiSo.js");
|
|
5
5
|
async function callDataFetch() {
|
|
6
6
|
const dataFetch = globalThis[lazyUtils.DATA_FETCH_FUNCTION];
|
|
7
7
|
if (dataFetch) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { x as DATA_FETCH_FUNCTION } from "./utils-D4k5eixv.mjs";
|
|
2
2
|
import { C, a, c, b, d, g, r } from "./utils-D4k5eixv.mjs";
|
|
3
|
-
import { d as dataFetchFunction } from "./prefetch-
|
|
4
|
-
import { i, p } from "./prefetch-
|
|
3
|
+
import { d as dataFetchFunction } from "./prefetch-CFKA0dZg.mjs";
|
|
4
|
+
import { i, p } from "./prefetch-CFKA0dZg.mjs";
|
|
5
5
|
async function callDataFetch() {
|
|
6
6
|
const dataFetch = globalThis[DATA_FETCH_FUNCTION];
|
|
7
7
|
if (dataFetch) {
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const createHelpers = require("./createHelpers-9B0ttrN_.js");
|
|
4
|
-
const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-
|
|
4
|
+
const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-ZC6dhtcT.js");
|
|
5
5
|
const lazyUtils = require("./utils-CFTy4LVE.js");
|
|
6
6
|
const dataFetchUtils = require("./data-fetch-utils.cjs.js");
|
|
7
7
|
const React = require("react");
|
|
8
8
|
const ReactRouterDOM = require("react-router-dom");
|
|
9
9
|
const index = require("./index-DbjGCKOr.js");
|
|
10
|
-
const prefetch = require("./prefetch-
|
|
10
|
+
const prefetch = require("./prefetch-8e8pqiSo.js");
|
|
11
11
|
function _interopNamespaceDefault(e2) {
|
|
12
12
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
13
13
|
if (e2) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { R as RemoteAppWrapper, c as createRemoteAppComponentFactory, a as createDeprecatedRemoteComponentFactory } from "./createHelpers-D77sECmY.mjs";
|
|
2
2
|
import { b } from "./createHelpers-D77sECmY.mjs";
|
|
3
|
-
import { a, c, b as b2, l } from "./lazy-load-component-plugin-
|
|
3
|
+
import { a, c, b as b2, l } from "./lazy-load-component-plugin-CqxENGBE.mjs";
|
|
4
4
|
import { C, a as a2, E, c as c2, b as b3, d, g, r, s } from "./utils-D4k5eixv.mjs";
|
|
5
5
|
import { callDataFetch } from "./data-fetch-utils.es.js";
|
|
6
6
|
import React__default, { forwardRef, useContext, useState, useEffect } from "react";
|
|
7
7
|
import * as ReactRouterDOM from "react-router-dom";
|
|
8
8
|
import { p as pathJoin, L as LoggerInstance } from "./index-Bs2NxD2z.mjs";
|
|
9
|
-
import { p } from "./prefetch-
|
|
9
|
+
import { p } from "./prefetch-CFKA0dZg.mjs";
|
|
10
10
|
function e() {
|
|
11
11
|
const t = new PopStateEvent("popstate", { state: window.history.state });
|
|
12
12
|
window.dispatchEvent(t);
|
package/dist/{lazy-load-component-plugin-BPc7MCM0.mjs → lazy-load-component-plugin-CqxENGBE.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as injectDataFetch, p as prefetch } from "./prefetch-
|
|
1
|
+
import { i as injectDataFetch, p as prefetch } from "./prefetch-CFKA0dZg.mjs";
|
|
2
2
|
import { i as initDataFetchMap, j as isDataLoaderExpose, k as getDataFetchInfo, m as getDataFetchMapKey, l as logger, n as getDataFetchItem, o as DATA_FETCH_CLIENT_SUFFIX, p as MF_DATA_FETCH_TYPE, q as isCSROnly, M as MF_DATA_FETCH_STATUS, h as loadDataFetchModule, e as getDataFetchMap, t as isServerEnv, u as getDataFetchIdWithErrorMsgs, v as DATA_FETCH_ERROR_PREFIX, E as ERROR_TYPE, w as wrapDataFetchId, L as LOAD_REMOTE_ERROR_PREFIX, x as DATA_FETCH_FUNCTION, y as getLoadedRemoteInfos, f as fetchData$1, z as setDataFetchItemLoadedStatus, F as FS_HREF } from "./utils-D4k5eixv.mjs";
|
|
3
3
|
import React__default, { useRef, useState, Suspense, useEffect } from "react";
|
|
4
4
|
const autoFetchData = () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-
|
|
4
|
-
require("./prefetch-
|
|
3
|
+
const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-ZC6dhtcT.js");
|
|
4
|
+
require("./prefetch-8e8pqiSo.js");
|
|
5
5
|
exports.default = lazyLoadComponentPlugin.lazyLoadComponentPlugin;
|
|
6
6
|
exports.lazyLoadComponentPlugin = lazyLoadComponentPlugin.lazyLoadComponentPlugin;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l, l as l2 } from "./lazy-load-component-plugin-
|
|
2
|
-
import "./prefetch-
|
|
1
|
+
import { l, l as l2 } from "./lazy-load-component-plugin-CqxENGBE.mjs";
|
|
2
|
+
import "./prefetch-CFKA0dZg.mjs";
|
|
3
3
|
export {
|
|
4
4
|
l as default,
|
|
5
5
|
l2 as lazyLoadComponentPlugin
|
|
@@ -493,6 +493,7 @@ const RUNTIME_008 = "RUNTIME-008";
|
|
|
493
493
|
const RUNTIME_009 = "RUNTIME-009";
|
|
494
494
|
const RUNTIME_010 = "RUNTIME-010";
|
|
495
495
|
const RUNTIME_011 = "RUNTIME-011";
|
|
496
|
+
const RUNTIME_012 = "RUNTIME-012";
|
|
496
497
|
const runtimeDescMap = {
|
|
497
498
|
[RUNTIME_001]: "Failed to get remoteEntry exports.",
|
|
498
499
|
[RUNTIME_002]: 'The remote entry interface does not contain "init"',
|
|
@@ -504,7 +505,8 @@ const runtimeDescMap = {
|
|
|
504
505
|
[RUNTIME_008]: "Failed to load script resources.",
|
|
505
506
|
[RUNTIME_009]: "Please call createInstance first.",
|
|
506
507
|
[RUNTIME_010]: 'The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use "createInstance" api.',
|
|
507
|
-
[RUNTIME_011]: "The remoteEntry URL is missing from the remote snapshot."
|
|
508
|
+
[RUNTIME_011]: "The remoteEntry URL is missing from the remote snapshot.",
|
|
509
|
+
[RUNTIME_012]: 'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'
|
|
508
510
|
};
|
|
509
511
|
({
|
|
510
512
|
...runtimeDescMap
|
|
@@ -492,6 +492,7 @@ const RUNTIME_008 = "RUNTIME-008";
|
|
|
492
492
|
const RUNTIME_009 = "RUNTIME-009";
|
|
493
493
|
const RUNTIME_010 = "RUNTIME-010";
|
|
494
494
|
const RUNTIME_011 = "RUNTIME-011";
|
|
495
|
+
const RUNTIME_012 = "RUNTIME-012";
|
|
495
496
|
const runtimeDescMap = {
|
|
496
497
|
[RUNTIME_001]: "Failed to get remoteEntry exports.",
|
|
497
498
|
[RUNTIME_002]: 'The remote entry interface does not contain "init"',
|
|
@@ -503,7 +504,8 @@ const runtimeDescMap = {
|
|
|
503
504
|
[RUNTIME_008]: "Failed to load script resources.",
|
|
504
505
|
[RUNTIME_009]: "Please call createInstance first.",
|
|
505
506
|
[RUNTIME_010]: 'The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use "createInstance" api.',
|
|
506
|
-
[RUNTIME_011]: "The remoteEntry URL is missing from the remote snapshot."
|
|
507
|
+
[RUNTIME_011]: "The remoteEntry URL is missing from the remote snapshot.",
|
|
508
|
+
[RUNTIME_012]: 'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'
|
|
507
509
|
};
|
|
508
510
|
({
|
|
509
511
|
...runtimeDescMap
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/bridge-react",
|
|
3
|
-
"version": "0.0.0-fix-
|
|
3
|
+
"version": "0.0.0-fix-filter-function-20260327073336",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -129,8 +129,8 @@
|
|
|
129
129
|
"dependencies": {
|
|
130
130
|
"react-error-boundary": "^4.1.2",
|
|
131
131
|
"lru-cache": "^10.4.3",
|
|
132
|
-
"@module-federation/bridge-shared": "0.0.0-fix-
|
|
133
|
-
"@module-federation/sdk": "0.0.0-fix-
|
|
132
|
+
"@module-federation/bridge-shared": "0.0.0-fix-filter-function-20260327073336",
|
|
133
|
+
"@module-federation/sdk": "0.0.0-fix-filter-function-20260327073336"
|
|
134
134
|
},
|
|
135
135
|
"peerDependencies": {
|
|
136
136
|
"react": ">=16.9.0",
|
|
@@ -167,8 +167,8 @@
|
|
|
167
167
|
"vite-plugin-dts": "^4.3.0",
|
|
168
168
|
"hono": "4.12.7",
|
|
169
169
|
"vitest": "1.6.0",
|
|
170
|
-
"@module-federation/runtime": "0.0.0-fix-
|
|
171
|
-
"@module-federation/runtime-core": "0.0.0-fix-
|
|
170
|
+
"@module-federation/runtime": "0.0.0-fix-filter-function-20260327073336",
|
|
171
|
+
"@module-federation/runtime-core": "0.0.0-fix-filter-function-20260327073336"
|
|
172
172
|
},
|
|
173
173
|
"scripts": {
|
|
174
174
|
"dev": "vite",
|