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
8
Versions
361
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.0.0-next-20240620034636 to 0.0.0-next-20240620052430

4

CHANGELOG.md
# @module-federation/bridge-react
## 0.0.0-next-20240620034636
## 0.0.0-next-20240620052430
### Patch Changes
- @module-federation/bridge-shared@0.0.0-next-20240620034636
- @module-federation/bridge-shared@0.0.0-next-20240620052430

@@ -99,9 +99,2 @@ "use strict";

}
if (ReactRouterDOM__namespace.UNSAFE_RouteContext && enableDispathPopstate) {
routerContextVal = React.useContext(ReactRouterDOM__namespace.UNSAFE_RouteContext);
if (routerContextVal && routerContextVal.matches && routerContextVal.matches[0] && routerContextVal.matches[0].pathnameBase) {
basename = routerContextVal.matches[0].pathnameBase;
}
enableDispathPopstate = (routerContextVal == null ? void 0 : routerContextVal.matches) && (routerContextVal == null ? void 0 : routerContextVal.matches.length) > 0;
}
const LazyComponent = React.useMemo(() => {

@@ -108,0 +101,0 @@ return React.lazy(async () => {

import * as React from "react";
import React__default, { useContext, useMemo, useRef, useState, useEffect } from "react";
import React__default, { useMemo, useRef, useState, useEffect } from "react";
import * as ReactRouterDOM from "react-router-dom";

@@ -80,9 +80,2 @@ import { L as LoggerInstance, f, a as atLeastReact18, R as RouterContext } from "./context-CPtN38Ur.js";

}
if (ReactRouterDOM.UNSAFE_RouteContext && enableDispathPopstate) {
routerContextVal = useContext(ReactRouterDOM.UNSAFE_RouteContext);
if (routerContextVal && routerContextVal.matches && routerContextVal.matches[0] && routerContextVal.matches[0].pathnameBase) {
basename = routerContextVal.matches[0].pathnameBase;
}
enableDispathPopstate = (routerContextVal == null ? void 0 : routerContextVal.matches) && (routerContextVal == null ? void 0 : routerContextVal.matches.length) > 0;
}
const LazyComponent = useMemo(() => {

@@ -89,0 +82,0 @@ return React__default.lazy(async () => {

{
"name": "@module-federation/bridge-react",
"version": "0.0.0-next-20240620034636",
"version": "0.0.0-next-20240620052430",
"publishConfig": {

@@ -28,3 +28,3 @@ "access": "public"

"react-error-boundary": "^4.0.13",
"@module-federation/bridge-shared": "0.0.0-next-20240620034636"
"@module-federation/bridge-shared": "0.0.0-next-20240620052430"
},

@@ -31,0 +31,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

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