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

@module-federation/sdk

Package Overview
Dependencies
Maintainers
8
Versions
612
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/sdk - npm Package Compare versions

Comparing version 0.0.0-next-20231225041300 to 0.0.0-next-20231225064454

4

dist/index.cjs.js

@@ -220,3 +220,3 @@ 'use strict';

var isEntry = function(s) {
return s.startsWith("http") || new URL(s).pathname.endsWith(MANIFEST_EXT);
return s.startsWith("http") || s.includes(MANIFEST_EXT);
};

@@ -510,3 +510,3 @@ // Check if the string starts with a type

function isManifestProvider(moduleInfo) {
if ("remoteEntry" in moduleInfo && new URL(moduleInfo.remoteEntry).pathname.endsWith(MANIFEST_EXT)) {
if ("remoteEntry" in moduleInfo && moduleInfo.remoteEntry.includes(MANIFEST_EXT)) {
return true;

@@ -513,0 +513,0 @@ } else {

@@ -216,3 +216,3 @@ function _define_property$2(obj, key, value) {

var isEntry = function(s) {
return s.startsWith("http") || new URL(s).pathname.endsWith(MANIFEST_EXT);
return s.startsWith("http") || s.includes(MANIFEST_EXT);
};

@@ -506,3 +506,3 @@ // Check if the string starts with a type

function isManifestProvider(moduleInfo) {
if ("remoteEntry" in moduleInfo && new URL(moduleInfo.remoteEntry).pathname.endsWith(MANIFEST_EXT)) {
if ("remoteEntry" in moduleInfo && moduleInfo.remoteEntry.includes(MANIFEST_EXT)) {
return true;

@@ -509,0 +509,0 @@ } else {

{
"name": "@module-federation/sdk",
"version": "0.0.0-next-20231225041300",
"version": "0.0.0-next-20231225064454",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "A sdk for support module federation",

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