@module-federation/bridge-react 0.22.0 → 0.22.1

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @module-federation/bridge-react
2
2
 
3
+ ## 0.22.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @module-federation/sdk@0.22.1
8
+ - @module-federation/bridge-shared@0.22.1
9
+
3
10
  ## 0.22.0
4
11
 
5
12
  ### Patch Changes
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-B_L612IN.js");
4
- const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-Bt990iJq.js");
4
+ const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-DdItJ9MU.js");
5
5
  const lazyUtils = require("./utils-tM9yE73c.js");
6
6
  const dataFetchUtils = require("./data-fetch-utils.cjs.js");
7
- const prefetch = require("./prefetch-D-d4LlJ3.js");
7
+ const prefetch = require("./prefetch-DFW9CxrU.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 createDeprecatedRemoteComponentFactory, a as createRemoteAppComponentFactory, R as RemoteAppWrapper } from "./createHelpers-Ui5pt7je.mjs";
2
2
  import { b } from "./createHelpers-Ui5pt7je.mjs";
3
- import { b as b2, a, c, l } from "./lazy-load-component-plugin-BkcO9pUC.mjs";
3
+ import { b as b2, a, c, l } from "./lazy-load-component-plugin-kX5VrCdH.mjs";
4
4
  import { C, a as a2, E, b as b3, d, c as c2, g, r, s } from "./utils-dUgb9Jkm.mjs";
5
5
  import { callDataFetch } from "./data-fetch-utils.es.js";
6
- import { p } from "./prefetch-DAwiqbcO.mjs";
6
+ import { p } from "./prefetch-C7xNsjTa.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-tM9yE73c.js");
4
- const prefetch = require("./prefetch-D-d4LlJ3.js");
4
+ const prefetch = require("./prefetch-DFW9CxrU.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-dUgb9Jkm.mjs";
2
2
  import { C, a, b, d, c, g, r } from "./utils-dUgb9Jkm.mjs";
3
- import { d as dataFetchFunction } from "./prefetch-DAwiqbcO.mjs";
4
- import { i, p } from "./prefetch-DAwiqbcO.mjs";
3
+ import { d as dataFetchFunction } from "./prefetch-C7xNsjTa.mjs";
4
+ import { i, p } from "./prefetch-C7xNsjTa.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-B_L612IN.js");
4
- const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-Bt990iJq.js");
4
+ const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-DdItJ9MU.js");
5
5
  const React = require("react");
6
6
  const ReactRouterDOM = require("react-router-dom");
7
7
  const index = require("./index-DRSBaSu3.js");
8
8
  const lazyUtils = require("./utils-tM9yE73c.js");
9
9
  const dataFetchUtils = require("./data-fetch-utils.cjs.js");
10
- const prefetch = require("./prefetch-D-d4LlJ3.js");
10
+ const prefetch = require("./prefetch-DFW9CxrU.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 createDeprecatedRemoteComponentFactory, a as createRemoteAppComponentFactory } from "./createHelpers-Ui5pt7je.mjs";
2
2
  import { b } from "./createHelpers-Ui5pt7je.mjs";
3
- import { b as b2, a, c, l } from "./lazy-load-component-plugin-BkcO9pUC.mjs";
3
+ import { b as b2, a, c, l } from "./lazy-load-component-plugin-kX5VrCdH.mjs";
4
4
  import React__default, { forwardRef, useContext, useState, useEffect } from "react";
5
5
  import * as ReactRouterDOM from "react-router-dom";
6
6
  import { p as pathJoin, L as LoggerInstance } from "./index-DyQNwY2M.mjs";
7
7
  import { C, a as a2, E, b as b3, d, c as c2, g, r, s } from "./utils-dUgb9Jkm.mjs";
8
8
  import { callDataFetch } from "./data-fetch-utils.es.js";
9
- import { p } from "./prefetch-DAwiqbcO.mjs";
9
+ import { p } from "./prefetch-C7xNsjTa.mjs";
10
10
  function e() {
11
11
  const t = new PopStateEvent("popstate", { state: window.history.state });
12
12
  window.dispatchEvent(t);
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const prefetch = require("./prefetch-D-d4LlJ3.js");
2
+ const prefetch = require("./prefetch-DFW9CxrU.js");
3
3
  const lazyUtils = require("./utils-tM9yE73c.js");
4
4
  const React = require("react");
5
5
  const autoFetchData = () => {
@@ -1,4 +1,4 @@
1
- import { i as injectDataFetch, p as prefetch } from "./prefetch-DAwiqbcO.mjs";
1
+ import { i as injectDataFetch, p as prefetch } from "./prefetch-C7xNsjTa.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, h as loadDataFetchModule, M as MF_DATA_FETCH_STATUS, 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-dUgb9Jkm.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-Bt990iJq.js");
4
- require("./prefetch-D-d4LlJ3.js");
3
+ const lazyLoadComponentPlugin = require("./lazy-load-component-plugin-DdItJ9MU.js");
4
+ require("./prefetch-DFW9CxrU.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-BkcO9pUC.mjs";
2
- import "./prefetch-DAwiqbcO.mjs";
1
+ import { l, l as l2 } from "./lazy-load-component-plugin-kX5VrCdH.mjs";
2
+ import "./prefetch-C7xNsjTa.mjs";
3
3
  export {
4
4
  l as default,
5
5
  l2 as lazyLoadComponentPlugin
@@ -210,7 +210,7 @@ function getGlobalFederationConstructor() {
210
210
  function setGlobalFederationConstructor(FederationConstructor, isDebug = isDebugMode()) {
211
211
  if (isDebug) {
212
212
  CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
213
- CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.22.0";
213
+ CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.22.1";
214
214
  }
215
215
  }
216
216
  function getInfoWithoutType(target, key) {
@@ -211,7 +211,7 @@ function getGlobalFederationConstructor() {
211
211
  function setGlobalFederationConstructor(FederationConstructor, isDebug = index_esm.isDebugMode()) {
212
212
  if (isDebug) {
213
213
  CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
214
- CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.22.0";
214
+ CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.22.1";
215
215
  }
216
216
  }
217
217
  function getInfoWithoutType(target, key) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/bridge-react",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
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.22.0",
133
- "@module-federation/sdk": "0.22.0"
132
+ "@module-federation/bridge-shared": "0.22.1",
133
+ "@module-federation/sdk": "0.22.1"
134
134
  },
135
135
  "peerDependencies": {
136
136
  "react": ">=16.9.0",
@@ -162,8 +162,8 @@
162
162
  "vite": "^5.4.21",
163
163
  "vite-plugin-dts": "^4.3.0",
164
164
  "hono": "4.10.3",
165
- "@module-federation/runtime": "0.22.0",
166
- "@module-federation/runtime-core": "0.22.0"
165
+ "@module-federation/runtime": "0.22.1",
166
+ "@module-federation/runtime-core": "0.22.1"
167
167
  },
168
168
  "scripts": {
169
169
  "dev": "vite",