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.4 to 0.0.5

5

dist/index.cjs.js

@@ -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;

6

dist/index.esm.js

@@ -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",

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