@module-federation/bridge-react 0.6.14 → 0.6.16

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,21 @@
1
1
  # @module-federation/bridge-react
2
2
 
3
+ ## 0.6.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [f779188]
8
+ - Updated dependencies [024df60]
9
+ - @module-federation/sdk@0.6.16
10
+ - @module-federation/bridge-shared@0.6.16
11
+
12
+ ## 0.6.15
13
+
14
+ ### Patch Changes
15
+
16
+ - @module-federation/sdk@0.6.15
17
+ - @module-federation/bridge-shared@0.6.15
18
+
3
19
  ## 0.6.14
4
20
 
5
21
  ### Patch Changes
@@ -40,9 +40,9 @@ var ansiToCss = {
40
40
  "bold": "font-weight: bold;",
41
41
  "red": "color: red;",
42
42
  "green": "color: green;",
43
- "yellow": "color: yellow;",
43
+ "orange": "color: orange;",
44
+ "dodgerblue": "color: dodgerblue;",
44
45
  "magenta": "color: magenta;",
45
- "cyan": "color: cyan;",
46
46
  "gray": "color: gray;"
47
47
  };
48
48
  var formatter = (key) => supportColor() ? (input) => {
@@ -55,9 +55,9 @@ var formatter = (key) => supportColor() ? (input) => {
55
55
  var bold = formatter("bold");
56
56
  var red = formatter("red");
57
57
  var green = formatter("green");
58
- var yellow = formatter("yellow");
58
+ var orange = formatter("orange");
59
+ var dodgerblue = formatter("dodgerblue");
59
60
  var magenta = formatter("magenta");
60
- var cyan = formatter("cyan");
61
61
  formatter("gray");
62
62
  function getLabel(type, logType, labels) {
63
63
  let label = [""];
@@ -186,18 +186,18 @@ var LOG_TYPES = {
186
186
  warn: {
187
187
  label: "warn",
188
188
  level: "warn",
189
- color: yellow
189
+ color: orange
190
190
  },
191
191
  // Level info
192
192
  info: {
193
193
  label: "info",
194
194
  level: "info",
195
- color: cyan
195
+ color: dodgerblue
196
196
  },
197
197
  start: {
198
198
  label: "start",
199
199
  level: "info",
200
- color: cyan
200
+ color: dodgerblue
201
201
  },
202
202
  ready: {
203
203
  label: "ready",
@@ -39,9 +39,9 @@ var ansiToCss = {
39
39
  "bold": "font-weight: bold;",
40
40
  "red": "color: red;",
41
41
  "green": "color: green;",
42
- "yellow": "color: yellow;",
42
+ "orange": "color: orange;",
43
+ "dodgerblue": "color: dodgerblue;",
43
44
  "magenta": "color: magenta;",
44
- "cyan": "color: cyan;",
45
45
  "gray": "color: gray;"
46
46
  };
47
47
  var formatter = (key) => supportColor() ? (input) => {
@@ -54,9 +54,9 @@ var formatter = (key) => supportColor() ? (input) => {
54
54
  var bold = formatter("bold");
55
55
  var red = formatter("red");
56
56
  var green = formatter("green");
57
- var yellow = formatter("yellow");
57
+ var orange = formatter("orange");
58
+ var dodgerblue = formatter("dodgerblue");
58
59
  var magenta = formatter("magenta");
59
- var cyan = formatter("cyan");
60
60
  formatter("gray");
61
61
  function getLabel(type, logType, labels) {
62
62
  let label = [""];
@@ -185,18 +185,18 @@ var LOG_TYPES = {
185
185
  warn: {
186
186
  label: "warn",
187
187
  level: "warn",
188
- color: yellow
188
+ color: orange
189
189
  },
190
190
  // Level info
191
191
  info: {
192
192
  label: "info",
193
193
  level: "info",
194
- color: cyan
194
+ color: dodgerblue
195
195
  },
196
196
  start: {
197
197
  label: "start",
198
198
  level: "info",
199
- color: cyan
199
+ color: dodgerblue
200
200
  },
201
201
  ready: {
202
202
  label: "ready",
package/dist/index.cjs.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const React = require("react");
4
- const context = require("./context-BVnJi3LE.cjs");
4
+ const context = require("./context-CefGbh9w.cjs");
5
5
  const ReactRouterDOM = require("react-router-dom");
6
6
  const ReactDOM = require("react-dom");
7
7
  function _interopNamespaceDefault(e2) {
@@ -181,7 +181,7 @@ const RemoteAppWrapper = React.forwardRef(function(props, ref) {
181
181
  }
182
182
  );
183
183
  };
184
- RemoteApp2["__APP_VERSION__"] = "0.6.14";
184
+ RemoteApp2["__APP_VERSION__"] = "0.6.16";
185
185
  return /* @__PURE__ */ React.createElement(RemoteApp2, null);
186
186
  });
187
187
  function withRouterData(WrappedComponent) {
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import React__default, { createContext, Component, createElement, isValidElement, forwardRef, useRef, useEffect, useContext, useState } from "react";
3
- import { L as LoggerInstance, p as pathJoin, a as atLeastReact18, R as RouterContext } from "./context-9t7opEwi.js";
3
+ import { L as LoggerInstance, p as pathJoin, a as atLeastReact18, R as RouterContext } from "./context-DnCWjvho.js";
4
4
  import * as ReactRouterDOM from "react-router-dom";
5
5
  import ReactDOM from "react-dom";
6
6
  const ErrorBoundaryContext = createContext(null);
@@ -162,7 +162,7 @@ const RemoteAppWrapper = forwardRef(function(props, ref) {
162
162
  }
163
163
  );
164
164
  };
165
- RemoteApp2["__APP_VERSION__"] = "0.6.14";
165
+ RemoteApp2["__APP_VERSION__"] = "0.6.16";
166
166
  return /* @__PURE__ */ React__default.createElement(RemoteApp2, null);
167
167
  });
168
168
  function withRouterData(WrappedComponent) {
@@ -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-BVnJi3LE.cjs");
5
+ const context = require("./context-CefGbh9w.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" } });
@@ -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-9t7opEwi.js";
3
+ import { R as RouterContext, L as LoggerInstance } from "./context-DnCWjvho.js";
4
4
  export * from "react-router-dom/index.js";
5
5
  function WraperRouter(props) {
6
6
  const { basename, ...propsRes } = props;
@@ -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/dist/index.js");
5
- const context = require("./context-BVnJi3LE.cjs");
5
+ const context = require("./context-CefGbh9w.cjs");
6
6
  function _interopNamespaceDefault(e) {
7
7
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
8
8
  if (e) {
@@ -1,7 +1,7 @@
1
1
  import React__default, { useContext } from "react";
2
2
  import * as ReactRouterDom from "react-router-dom/dist/index.js";
3
3
  export * from "react-router-dom/dist/index.js";
4
- import { R as RouterContext, L as LoggerInstance } from "./context-9t7opEwi.js";
4
+ import { R as RouterContext, L as LoggerInstance } from "./context-DnCWjvho.js";
5
5
  function WraperRouter(props) {
6
6
  const { basename, ...propsRes } = props;
7
7
  const routerContextProps = useContext(RouterContext) || {};
@@ -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-BVnJi3LE.cjs");
5
+ const context = require("./context-CefGbh9w.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-9t7opEwi.js";
4
+ import { R as RouterContext, L as LoggerInstance } from "./context-DnCWjvho.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.6.14",
3
+ "version": "0.6.16",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,8 +35,8 @@
35
35
  "dependencies": {
36
36
  "@loadable/component": "^5.16.4",
37
37
  "react-error-boundary": "^4.0.13",
38
- "@module-federation/bridge-shared": "0.6.14",
39
- "@module-federation/sdk": "0.6.14"
38
+ "@module-federation/bridge-shared": "0.6.16",
39
+ "@module-federation/sdk": "0.6.16"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=16.9.0",