@module-federation/sdk
Advanced tools
Comparing version 0.0.0-next-20231225041300 to 0.0.0-next-20231225064454
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77925