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
670
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-20240119073703 to 0.0.0-next-20240119085716

7

dist/index.cjs.js

@@ -493,7 +493,6 @@ 'use strict';

};
if ((_manifest_metaData = manifest.metaData) === null || _manifest_metaData === void 0 ? void 0 : _manifest_metaData.prefetchEntry) {
var _manifest_metaData_prefetchEntry = manifest.metaData.prefetchEntry, path = _manifest_metaData_prefetchEntry.path, name = _manifest_metaData_prefetchEntry.name, type = _manifest_metaData_prefetchEntry.type;
if ((_manifest_metaData = manifest.metaData) === null || _manifest_metaData === void 0 ? void 0 : _manifest_metaData.prefetchInterface) {
var prefetchInterface = manifest.metaData.prefetchInterface;
basicRemoteSnapshot = _object_spread_props(_object_spread({}, basicRemoteSnapshot), {
prefetchEntry: simpleJoinRemoteEntry(path, name),
prefetchEntryType: type
prefetchInterface: prefetchInterface
});

@@ -500,0 +499,0 @@ }

@@ -489,7 +489,6 @@ function _define_property$2(obj, key, value) {

};
if ((_manifest_metaData = manifest.metaData) === null || _manifest_metaData === void 0 ? void 0 : _manifest_metaData.prefetchEntry) {
var _manifest_metaData_prefetchEntry = manifest.metaData.prefetchEntry, path = _manifest_metaData_prefetchEntry.path, name = _manifest_metaData_prefetchEntry.name, type = _manifest_metaData_prefetchEntry.type;
if ((_manifest_metaData = manifest.metaData) === null || _manifest_metaData === void 0 ? void 0 : _manifest_metaData.prefetchInterface) {
var prefetchInterface = manifest.metaData.prefetchInterface;
basicRemoteSnapshot = _object_spread_props(_object_spread({}, basicRemoteSnapshot), {
prefetchEntry: simpleJoinRemoteEntry(path, name),
prefetchEntryType: type
prefetchInterface: prefetchInterface
});

@@ -496,0 +495,0 @@ }

{
"name": "@module-federation/sdk",
"version": "0.0.8",
"version": "0.0.9",
"license": "MIT",

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

@@ -30,4 +30,3 @@ import { RemoteEntryType, StatsAssets } from './stats';

}>;
prefetchEntry?: string;
prefetchEntryType?: RemoteEntryType;
prefetchInterface?: boolean;
}

@@ -34,0 +33,0 @@ interface BasicProviderModuleInfoWithPublicPath extends BasicProviderModuleInfo {

@@ -17,3 +17,3 @@ import type { RemoteWithEntry, RemoteWithVersion } from './common';

remoteEntry: ResourceInfo;
prefetchEntry: ResourceInfo;
prefetchInterface: boolean;
types: Omit<ResourceInfo, 'type'>;

@@ -20,0 +20,0 @@ }

{
"name": "@module-federation/sdk",
"version": "0.0.0-next-20240119073703",
"version": "0.0.0-next-20240119085716",
"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