Socket
Socket
Sign inDemoInstall

@module-federation/managers

Package Overview
Dependencies
Maintainers
8
Versions
397
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-20240301034824 to 0.0.0-next-20240301081856

2

dist/index.cjs.js

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

var pkg = this.readPKGJson(ctx);
return (pkg === null || pkg === void 0 ? void 0 : (_pkg_mf = pkg["mf"]) === null || _pkg_mf === void 0 ? void 0 : _pkg_mf.type) === sdk.ModuleType.NPM ? sdk.ModuleType.NPM : sdk.ModuleType.APP;
return (pkg === null || pkg === void 0 ? void 0 : (_pkg_mf = pkg["mf"]) === null || _pkg_mf === void 0 ? void 0 : _pkg_mf.type) === sdk.MFModuleType.NPM ? sdk.MFModuleType.NPM : sdk.MFModuleType.APP;
}

@@ -654,0 +654,0 @@ }

import path from 'path';
import { generateExposeFilename, ModuleType, composeKeyWithSeparator, parseEntry } from '@module-federation/sdk';
import { generateExposeFilename, MFModuleType, composeKeyWithSeparator, parseEntry } from '@module-federation/sdk';
import finder from 'find-pkg';

@@ -640,3 +640,3 @@ import fs from 'fs';

var pkg = this.readPKGJson(ctx);
return (pkg === null || pkg === void 0 ? void 0 : (_pkg_mf = pkg["mf"]) === null || _pkg_mf === void 0 ? void 0 : _pkg_mf.type) === ModuleType.NPM ? ModuleType.NPM : ModuleType.APP;
return (pkg === null || pkg === void 0 ? void 0 : (_pkg_mf = pkg["mf"]) === null || _pkg_mf === void 0 ? void 0 : _pkg_mf.type) === MFModuleType.NPM ? MFModuleType.NPM : MFModuleType.APP;
}

@@ -643,0 +643,0 @@ }

@@ -1,2 +0,1 @@

import { ModuleType } from '@module-federation/sdk';
export declare class PKGJsonManager {

@@ -6,3 +5,3 @@ private _pkg?;

readPKGJson(ctx?: string): Record<string, any>;
getExposeGarfishModuleType(ctx?: string): ModuleType;
getExposeGarfishModuleType(ctx?: string): string;
}
{
"name": "@module-federation/managers",
"version": "0.0.0-next-20240301034824",
"version": "0.0.0-next-20240301081856",
"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-20240301034824"
"@module-federation/sdk": "0.0.0-next-20240301081856"
},

@@ -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