Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@module-federation/bridge-react

Package Overview
Dependencies
Maintainers
0
Versions
301
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/bridge-react - npm Package Compare versions

Comparing version 0.6.13 to 0.6.14

dist/context-9t7opEwi.js

9

CHANGELOG.md
# @module-federation/bridge-react
## 0.6.14
### Patch Changes
- ad605d2: chore: unified logger
- Updated dependencies [ad605d2]
- @module-federation/bridge-shared@0.6.14
- @module-federation/sdk@0.6.14
## 0.6.13

@@ -4,0 +13,0 @@

22

dist/index.cjs.js
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const React = require("react");
const context = require("./context--mtFt3tp.cjs");
const context = require("./context-BVnJi3LE.cjs");
const ReactRouterDOM = require("react-router-dom");
const ReactDOM = require("react-dom");
function _interopNamespaceDefault(e) {
function _interopNamespaceDefault(e2) {
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
if (e) {
for (const k in e) {
if (e2) {
for (const k in e2) {
if (k !== "default") {
const d = Object.getOwnPropertyDescriptor(e, k);
const d = Object.getOwnPropertyDescriptor(e2, k);
Object.defineProperty(n, k, d.get ? d : {
enumerable: true,
get: () => e[k]
get: () => e2[k]
});

@@ -20,3 +20,3 @@ }

}
n.default = e;
n.default = e2;
return Object.freeze(n);

@@ -121,2 +121,6 @@ }

}
function e() {
const t = new PopStateEvent("popstate", { state: window.history.state });
window.dispatchEvent(t);
}
const RemoteAppWrapper = React.forwardRef(function(props, ref) {

@@ -182,3 +186,3 @@ const RemoteApp2 = () => {

};
RemoteApp2["__APP_VERSION__"] = "0.6.13";
RemoteApp2["__APP_VERSION__"] = "0.6.14";
return /* @__PURE__ */ React.createElement(RemoteApp2, null);

@@ -240,3 +244,3 @@ });

});
context.f();
e();
}

@@ -243,0 +247,0 @@ setPathname(location.pathname);

import * as React from "react";
import React__default, { createContext, Component, createElement, isValidElement, forwardRef, useRef, useEffect, useContext, useState } from "react";
import { L as LoggerInstance, p as pathJoin, f, a as atLeastReact18, R as RouterContext } from "./context-Bw2PEwa6.js";
import { L as LoggerInstance, p as pathJoin, a as atLeastReact18, R as RouterContext } from "./context-9t7opEwi.js";
import * as ReactRouterDOM from "react-router-dom";

@@ -101,2 +101,6 @@ import ReactDOM from "react-dom";

}
function e() {
const t = new PopStateEvent("popstate", { state: window.history.state });
window.dispatchEvent(t);
}
const RemoteAppWrapper = forwardRef(function(props, ref) {

@@ -162,3 +166,3 @@ const RemoteApp2 = () => {

};
RemoteApp2["__APP_VERSION__"] = "0.6.13";
RemoteApp2["__APP_VERSION__"] = "0.6.14";
return /* @__PURE__ */ React__default.createElement(RemoteApp2, null);

@@ -220,3 +224,3 @@ });

});
f();
e();
}

@@ -223,0 +227,0 @@ setPathname(location.pathname);

@@ -5,3 +5,3 @@ "use strict";

const ReactRouterDom$1 = require("react-router-dom/index.js");
const context = require("./context--mtFt3tp.cjs");
const context = require("./context-BVnJi3LE.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-Bw2PEwa6.js";
import { R as RouterContext, L as LoggerInstance } from "./context-9t7opEwi.js";
export * from "react-router-dom/index.js";

@@ -5,0 +5,0 @@ function WraperRouter(props) {

@@ -5,3 +5,3 @@ "use strict";

const ReactRouterDom = require("react-router-dom/dist/index.js");
const context = require("./context--mtFt3tp.cjs");
const context = require("./context-BVnJi3LE.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/dist/index.js";
export * from "react-router-dom/dist/index.js";
import { R as RouterContext, L as LoggerInstance } from "./context-Bw2PEwa6.js";
import { R as RouterContext, L as LoggerInstance } from "./context-9t7opEwi.js";
function WraperRouter(props) {

@@ -6,0 +6,0 @@ const { basename, ...propsRes } = props;

@@ -5,3 +5,3 @@ "use strict";

const ReactRouterDom = require("react-router-dom/");
const context = require("./context--mtFt3tp.cjs");
const context = require("./context-BVnJi3LE.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-Bw2PEwa6.js";
import { R as RouterContext, L as LoggerInstance } from "./context-9t7opEwi.js";
function WrapperRouter(props) {

@@ -6,0 +6,0 @@ const { basename, ...propsRes } = props;

{
"name": "@module-federation/bridge-react",
"version": "0.6.13",
"version": "0.6.14",
"publishConfig": {

@@ -38,3 +38,4 @@ "access": "public"

"react-error-boundary": "^4.0.13",
"@module-federation/bridge-shared": "0.6.13"
"@module-federation/bridge-shared": "0.6.14",
"@module-federation/sdk": "0.6.14"
},

@@ -41,0 +42,0 @@ "peerDependencies": {

import React from 'react';
import { Logger } from '@module-federation/bridge-shared';
import { createLogger } from '@module-federation/sdk';
export const LoggerInstance = new Logger('bridge-react');
export const LoggerInstance = createLogger(
'[ Module Federation Bridge React ]',
);

@@ -6,0 +8,0 @@ type typeReact = typeof React;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc