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

@module-federation/managers

Package Overview
Dependencies
Maintainers
8
Versions
507
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/managers - npm Package Compare versions

Comparing version 0.0.0-next-20240228073832 to 0.0.0-next-20240301023125

8

dist/index.cjs.js

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

key: "exposeFileNameImportMap",
get: // { '.' : './src/Button.jsx' } => { '__federation_expose_Component' : 'src/Buttton' }
get: // { '.' : './src/Button.jsx' } => { '__federation_expose_Component' : ['src/Buttton'] }
function get() {

@@ -813,3 +813,2 @@ var exposes = this.options.exposes;

_define_property$1(_assert_this_initialized$1(_this), "normalizedOptions", {});
_define_property$1(_assert_this_initialized$1(_this), "_pkgJsonManager", new PKGJsonManager());
return _this;

@@ -879,7 +878,6 @@ }

{
// only support remoteType: script now
// INFO: only support remoteType: script now
key: "normalizeOptions",
value: function normalizeOptions() {
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
this._pkgJsonManager.getExposeGarfishModuleType();
this.normalizedOptions = Object.keys(options).reduce(function(sum, remoteAlias) {

@@ -1138,3 +1136,3 @@ if (Array.isArray(options)) {

shared: shared,
shareScope: "default"
shareScope: this.options.shareScope || "default"
};

@@ -1141,0 +1139,0 @@ }

@@ -438,3 +438,3 @@ import path from 'path';

key: "exposeFileNameImportMap",
get: // { '.' : './src/Button.jsx' } => { '__federation_expose_Component' : 'src/Buttton' }
get: // { '.' : './src/Button.jsx' } => { '__federation_expose_Component' : ['src/Buttton'] }
function get() {

@@ -802,3 +802,2 @@ var exposes = this.options.exposes;

_define_property$1(_assert_this_initialized$1(_this), "normalizedOptions", {});
_define_property$1(_assert_this_initialized$1(_this), "_pkgJsonManager", new PKGJsonManager());
return _this;

@@ -868,7 +867,6 @@ }

{
// only support remoteType: script now
// INFO: only support remoteType: script now
key: "normalizeOptions",
value: function normalizeOptions() {
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
this._pkgJsonManager.getExposeGarfishModuleType();
this.normalizedOptions = Object.keys(options).reduce(function(sum, remoteAlias) {

@@ -1127,3 +1125,3 @@ if (Array.isArray(options)) {

shared: shared,
shareScope: "default"
shareScope: this.options.shareScope || "default"
};

@@ -1130,0 +1128,0 @@ }

@@ -11,3 +11,2 @@ import { RemoteEntryInfo, StatsRemote, containerReferencePlugin, moduleFederationPlugin } from '@module-federation/sdk';

normalizedOptions: NormalizedRemote;
private _pkgJsonManager;
get enable(): boolean;

@@ -14,0 +13,0 @@ get statsRemoteWithEmptyUsedIn(): StatsRemote[];

{
"name": "@module-federation/managers",
"version": "0.0.0-next-20240228073832",
"version": "0.0.0-next-20240301023125",
"license": "MIT",

@@ -24,3 +24,3 @@ "description": "Provide managers for helping handle mf data .",

"fs-extra": "9.1.0",
"@module-federation/sdk": "0.0.0-next-20240228073832"
"@module-federation/sdk": "0.0.0-next-20240301023125"
},

@@ -27,0 +27,0 @@ "devDependencies": {

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