@module-federation/sdk
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -220,3 +220,3 @@ 'use strict'; | ||
var isEntry = function(s) { | ||
return s.startsWith("http") || s.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 && moduleInfo.remoteEntry.endsWith(MANIFEST_EXT)) { | ||
if ("remoteEntry" in moduleInfo && moduleInfo.remoteEntry.includes(MANIFEST_EXT)) { | ||
return true; | ||
@@ -795,2 +795,3 @@ } else { | ||
exports.safeWrapper = safeWrapper; | ||
exports.simpleJoinRemoteEntry = simpleJoinRemoteEntry; | ||
exports.warn = warn; |
@@ -216,3 +216,3 @@ function _define_property$2(obj, key, value) { | ||
var isEntry = function(s) { | ||
return s.startsWith("http") || s.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 && moduleInfo.remoteEntry.endsWith(MANIFEST_EXT)) { | ||
if ("remoteEntry" in moduleInfo && moduleInfo.remoteEntry.includes(MANIFEST_EXT)) { | ||
return true; | ||
@@ -763,2 +763,2 @@ } else { | ||
export { BROWSER_LOG_KEY, BROWSER_LOG_VALUE, EncodedNameTransformMap, FederationModuleManifest, Logger, MANIFEST_EXT, NameTransformMap, NameTransformSymbol, SEPARATOR, assert, composeKeyWithSeparator, createScript, decodeName, encodeName, error, generateExposeFilename, generateShareFilename, generateSnapshotFromManifest, getProcessEnv, getResourceUrl, isBrowserEnv, isDebugMode, isManifestProvider, isStaticResourcesEqual, loadScript, logger, parseEntry, safeWrapper, warn }; | ||
export { BROWSER_LOG_KEY, BROWSER_LOG_VALUE, EncodedNameTransformMap, FederationModuleManifest, Logger, MANIFEST_EXT, NameTransformMap, NameTransformSymbol, SEPARATOR, assert, composeKeyWithSeparator, createScript, decodeName, encodeName, error, generateExposeFilename, generateShareFilename, generateSnapshotFromManifest, getProcessEnv, getResourceUrl, isBrowserEnv, isDebugMode, isManifestProvider, isStaticResourcesEqual, loadScript, logger, parseEntry, safeWrapper, simpleJoinRemoteEntry, warn }; |
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A sdk for support module federation", |
export * from './constant'; | ||
export * from './types'; | ||
export * from './utils'; | ||
export { generateSnapshotFromManifest, isManifestProvider, } from './generateSnapshotFromManifest'; | ||
export { generateSnapshotFromManifest, isManifestProvider, simpleJoinRemoteEntry, } from './generateSnapshotFromManifest'; | ||
export * from './logger'; | ||
export * from './env'; | ||
export * from './dom'; |
{ | ||
"name": "@module-federation/sdk", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"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
78006
1878