@module-federation/inject-external-runtime-core-plugin
Advanced tools
Comparing version 0.0.0-next-20241230030326 to 0.0.0-next-20241231075249
@@ -27,6 +27,6 @@ 'use strict'; | ||
name: 'inject-external-runtime-core-plugin', | ||
version: "0.8.5", | ||
version: "0.8.7", | ||
beforeInit (args) { | ||
const name = args.options.name; | ||
const version = "0.8.5"; | ||
const version = "0.8.7"; | ||
if (runtimeCore__namespace.Global._FEDERATION_RUNTIME_CORE && runtimeCore__namespace.Global._FEDERATION_RUNTIME_CORE_FROM && (runtimeCore__namespace.Global._FEDERATION_RUNTIME_CORE_FROM.name !== name || runtimeCore__namespace.Global._FEDERATION_RUNTIME_CORE_FROM.version !== version)) { | ||
@@ -33,0 +33,0 @@ console.warn(`Detect multiple module federation runtime! Injected runtime from ${runtimeCore__namespace.Global._FEDERATION_RUNTIME_CORE_FROM.name}@${runtimeCore__namespace.Global._FEDERATION_RUNTIME_CORE_FROM.version} and current is ${name}@${version}, pleasure ensure there is only one consumer to provider runtime!`); |
{ | ||
"name": "@module-federation/inject-external-runtime-core-plugin", | ||
"version": "0.0.0-next-20241230030326", | ||
"version": "0.0.0-next-20241231075249", | ||
"license": "MIT", | ||
@@ -37,7 +37,7 @@ "description": "A sdk for support module federation", | ||
"peerDependencies": { | ||
"@module-federation/runtime-tools": "0.0.0-next-20241230030326" | ||
"@module-federation/runtime-tools": "0.0.0-next-20241231075249" | ||
}, | ||
"devDependencies": { | ||
"@module-federation/runtime-tools": "0.0.0-next-20241230030326" | ||
"@module-federation/runtime-tools": "0.0.0-next-20241231075249" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet