@module-federation/enhanced
Advanced tools
Comparing version 0.0.0-next-20240115040830 to 0.0.0-next-20240115042410
@@ -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
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
967261
92
+ Added@module-federation/runtime@0.0.0-next-20240115042410(transitive)
+ Added@module-federation/runtime-tools@0.0.0-next-20240115042410(transitive)
+ Added@module-federation/sdk@0.0.0-next-20240115042410(transitive)
+ Added@module-federation/webpack-bundler-runtime@0.0.0-next-20240115042410(transitive)
- Removed@module-federation/runtime@0.0.0-next-20240115040830(transitive)
- Removed@module-federation/runtime-tools@0.0.0-next-20240115040830(transitive)
- Removed@module-federation/sdk@0.0.0-next-20240115040830(transitive)
- Removed@module-federation/webpack-bundler-runtime@0.0.0-next-20240115040830(transitive)
Updated@module-federation/runtime-tools@0.0.0-next-20240115042410