You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@module-federation/managers

Package Overview
Dependencies
Maintainers
0
Versions
862
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

to
0.17.1

dist/index.d.ts

24

dist/index.cjs.js

@@ -105,7 +105,7 @@ 'use strict';

}
function getBuildVersion() {
function getBuildVersion(root) {
if (process.env['MF_BUILD_VERSION']) {
return process.env['MF_BUILD_VERSION'];
}
const pkg = new PKGJsonManager().readPKGJson();
const pkg = new PKGJsonManager().readPKGJson(root);
if ((pkg == null ? void 0 : pkg['version']) && typeof pkg['version'] === 'string') {

@@ -121,6 +121,6 @@ return pkg['version'];

var utils = /*#__PURE__*/Object.freeze({
__proto__: null,
getBuildName: getBuildName,
getBuildVersion: getBuildVersion,
parseOptions: parseOptions
__proto__: null,
getBuildName: getBuildName,
getBuildVersion: getBuildVersion,
parseOptions: parseOptions
});

@@ -374,4 +374,5 @@

}
constructor(...args){
super(...args), this.normalizedOptions = {};
constructor(){
super(...arguments);
this.normalizedOptions = {};
}

@@ -475,4 +476,5 @@ };

}
constructor(...args){
super(...args), this.normalizedOptions = {};
constructor(){
super(...arguments);
this.normalizedOptions = {};
}

@@ -482,3 +484,3 @@ };

var types = /*#__PURE__*/Object.freeze({
__proto__: null
__proto__: null
});

@@ -485,0 +487,0 @@

@@ -103,7 +103,7 @@ import path from 'path';

}
function getBuildVersion() {
function getBuildVersion(root) {
if (process.env['MF_BUILD_VERSION']) {
return process.env['MF_BUILD_VERSION'];
}
const pkg = new PKGJsonManager().readPKGJson();
const pkg = new PKGJsonManager().readPKGJson(root);
if ((pkg == null ? void 0 : pkg['version']) && typeof pkg['version'] === 'string') {

@@ -119,6 +119,6 @@ return pkg['version'];

var utils = /*#__PURE__*/Object.freeze({
__proto__: null,
getBuildName: getBuildName,
getBuildVersion: getBuildVersion,
parseOptions: parseOptions
__proto__: null,
getBuildName: getBuildName,
getBuildVersion: getBuildVersion,
parseOptions: parseOptions
});

@@ -372,4 +372,5 @@

}
constructor(...args){
super(...args), this.normalizedOptions = {};
constructor(){
super(...arguments);
this.normalizedOptions = {};
}

@@ -473,4 +474,5 @@ };

}
constructor(...args){
super(...args), this.normalizedOptions = {};
constructor(){
super(...arguments);
this.normalizedOptions = {};
}

@@ -480,5 +482,5 @@ };

var types = /*#__PURE__*/Object.freeze({
__proto__: null
__proto__: null
});
export { BasicPluginOptionsManager, ContainerManager, PKGJsonManager, RemoteManager, SharedManager, types, utils };
import { ContainerOptionsFormat, NormalizeSimple, NormalizeOptions, ParsedContainerOptions } from './types';
export declare function parseOptions<T, R>(options: ContainerOptionsFormat<T>, normalizeSimple: NormalizeSimple<R>, normalizeOptions: NormalizeOptions<T, R>): ParsedContainerOptions<R>;
export declare function getBuildVersion(): string;
export declare function getBuildVersion(root?: string): string;
export declare function getBuildName(): string | undefined;
{
"name": "@module-federation/managers",
"version": "0.17.0",
"version": "0.17.1",
"license": "MIT",

@@ -25,7 +25,7 @@ "description": "Provide managers for helping handle mf data .",

"module": "./dist/index.esm.js",
"types": "./dist/index.cjs.d.ts",
"types": "./dist/index.d.ts",
"dependencies": {
"find-pkg": "2.0.0",
"fs-extra": "9.1.0",
"@module-federation/sdk": "0.17.0"
"@module-federation/sdk": "0.17.1"
},

@@ -37,3 +37,3 @@ "devDependencies": {

".": {
"types": "./dist/index.cjs.d.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",

@@ -46,3 +46,3 @@ "require": "./dist/index.cjs.js"

".": [
"./dist/index.cjs.d.ts"
"./dist/index.d.ts"
]

@@ -49,0 +49,0 @@ }