@module-federation/managers
Advanced tools
Comparing version 0.0.0-next-20240223093319 to 0.0.0-next-20240225063559
@@ -1107,3 +1107,3 @@ 'use strict'; | ||
_this = _super.apply(this, arguments); | ||
_define_property(_assert_this_initialized(_this), "_normalizedOptions", {}); | ||
_define_property(_assert_this_initialized(_this), "normalizedOptions", {}); | ||
return _this; | ||
@@ -1121,3 +1121,3 @@ } | ||
get: function get() { | ||
var normalizedShared = this._normalizedOptions; | ||
var normalizedShared = this.normalizedOptions; | ||
var shared = Object.keys(normalizedShared).reduce(function(sum, cur) { | ||
@@ -1141,8 +1141,2 @@ var _normalizedShared_cur = normalizedShared[cur], singleton = _normalizedShared_cur.singleton, requiredVersion = _normalizedShared_cur.requiredVersion, version = _normalizedShared_cur.version, eager = _normalizedShared_cur.eager, shareScope = _normalizedShared_cur.shareScope; | ||
{ | ||
key: "normalizedOptions", | ||
get: function get() { | ||
return this._normalizedOptions; | ||
} | ||
}, | ||
{ | ||
key: "findPkg", | ||
@@ -1223,3 +1217,3 @@ value: function findPkg1(name, shareConfig) { | ||
}); | ||
this._normalizedOptions = normalizedShared; | ||
this.normalizedOptions = normalizedShared; | ||
} | ||
@@ -1226,0 +1220,0 @@ }, |
@@ -1096,3 +1096,3 @@ import path from 'path'; | ||
_this = _super.apply(this, arguments); | ||
_define_property(_assert_this_initialized(_this), "_normalizedOptions", {}); | ||
_define_property(_assert_this_initialized(_this), "normalizedOptions", {}); | ||
return _this; | ||
@@ -1110,3 +1110,3 @@ } | ||
get: function get() { | ||
var normalizedShared = this._normalizedOptions; | ||
var normalizedShared = this.normalizedOptions; | ||
var shared = Object.keys(normalizedShared).reduce(function(sum, cur) { | ||
@@ -1130,8 +1130,2 @@ var _normalizedShared_cur = normalizedShared[cur], singleton = _normalizedShared_cur.singleton, requiredVersion = _normalizedShared_cur.requiredVersion, version = _normalizedShared_cur.version, eager = _normalizedShared_cur.eager, shareScope = _normalizedShared_cur.shareScope; | ||
{ | ||
key: "normalizedOptions", | ||
get: function get() { | ||
return this._normalizedOptions; | ||
} | ||
}, | ||
{ | ||
key: "findPkg", | ||
@@ -1212,3 +1206,3 @@ value: function findPkg1(name, shareConfig) { | ||
}); | ||
this._normalizedOptions = normalizedShared; | ||
this.normalizedOptions = normalizedShared; | ||
} | ||
@@ -1215,0 +1209,0 @@ }, |
@@ -7,6 +7,5 @@ import { sharing } from 'webpack'; | ||
declare class SharedManager extends BasicPluginOptionsManager<moduleFederationPlugin.ModuleFederationPluginOptions> { | ||
private _normalizedOptions; | ||
normalizedOptions: NormalizedSharedOptions; | ||
get enable(): boolean; | ||
get sharedPluginOptions(): SharePluginOptions; | ||
get normalizedOptions(): NormalizedSharedOptions; | ||
findPkg(name: string, shareConfig: sharePlugin.SharedConfig): { | ||
@@ -13,0 +12,0 @@ pkg: Record<string, any>; |
{ | ||
"name": "@module-federation/managers", | ||
"version": "0.0.0-next-20240223093319", | ||
"version": "0.0.0-next-20240225063559", | ||
"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-20240223093319" | ||
"@module-federation/sdk": "0.0.0-next-20240225063559" | ||
}, | ||
@@ -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
102450
2537
+ Added@module-federation/sdk@0.0.0-next-20240225063559(transitive)
- Removed@module-federation/sdk@0.0.0-next-20240223093319(transitive)