@module-federation/managers
Advanced tools
Comparing version 0.0.0-next-20240228073832 to 0.0.0-next-20240301023125
@@ -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": { |
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
102368
2535
+ Added@module-federation/sdk@0.0.0-next-20240301023125(transitive)
- Removed@module-federation/sdk@0.0.0-next-20240228073832(transitive)