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

@module-federation/enhanced

Package Overview
Dependencies
Maintainers
8
Versions
664
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/enhanced - npm Package Compare versions

Comparing version 0.0.0-next-20240115040830 to 0.0.0-next-20240115042410

4

dist/src/lib/container/ModuleFederationPlugin.js

@@ -11,3 +11,2 @@ /*

const normalize_webpack_path_1 = require("@module-federation/sdk/normalize-webpack-path");
const ExternalsType_check_js_1 = __importDefault(require("webpack/schemas/plugins/container/ExternalsType.check.js"));
const SharePlugin_1 = __importDefault(require("../sharing/SharePlugin"));

@@ -19,2 +18,3 @@ const ContainerPlugin_1 = __importDefault(require("./ContainerPlugin"));

const FederationRuntimePlugin_1 = __importDefault(require("./runtime/FederationRuntimePlugin"));
const isValidExternalsType = require((0, normalize_webpack_path_1.normalizeWebpackPath)('webpack/schemas/plugins/container/ExternalsType.check.js'));
const createSchemaValidation = require((0, normalize_webpack_path_1.normalizeWebpackPath)('webpack/lib/util/create-schema-validation'));

@@ -46,3 +46,3 @@ const validate = createSchemaValidation(

const remoteType = options.remoteType ||
(options.library && (0, ExternalsType_check_js_1.default)(options.library.type)
(options.library && isValidExternalsType(options.library.type)
? options.library.type

@@ -49,0 +49,0 @@ : 'script');

@@ -28,3 +28,3 @@ /*

//eslint-disable-next-line
require('webpack/schemas/plugins/sharing/ConsumeSharedPlugin.check.js'), () => require('webpack/schemas/plugins/sharing/ConsumeSharedPlugin.json'), {
require((0, normalize_webpack_path_1.normalizeWebpackPath)('webpack/schemas/plugins/sharing/ConsumeSharedPlugin.check.js')), () => require((0, normalize_webpack_path_1.normalizeWebpackPath)('webpack/schemas/plugins/sharing/ConsumeSharedPlugin.json')), {
name: 'Consume Shared Plugin',

@@ -31,0 +31,0 @@ baseDataPath: 'options',

{
"name": "@module-federation/enhanced",
"version": "0.0.0-next-20240115040830",
"version": "0.0.0-next-20240115042410",
"main": "./dist/src/index.js",

@@ -31,8 +31,8 @@ "types": "./dist/src/index.d.ts",

"devDependencies": {
"@module-federation/webpack-bundler-runtime": "0.0.0-next-20240115040830"
"@module-federation/webpack-bundler-runtime": "0.0.0-next-20240115042410"
},
"dependencies": {
"@module-federation/sdk": "0.0.0-next-20240115040830",
"@module-federation/runtime-tools": "0.0.0-next-20240115040830"
"@module-federation/sdk": "0.0.0-next-20240115042410",
"@module-federation/runtime-tools": "0.0.0-next-20240115042410"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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