@module-federation/inject-external-runtime-core-plugin
Advanced tools
+2
-2
@@ -9,3 +9,3 @@ const require_runtime = require('./_virtual/_rolldown/runtime.cjs'); | ||
| name: "inject-external-runtime-core-plugin", | ||
| version: "2.5.0", | ||
| version: "2.5.1", | ||
| beforeInit(args) { | ||
@@ -15,3 +15,3 @@ const globalRef = _module_federation_runtime_tools_runtime_core.Global; | ||
| const name = args.options.name; | ||
| const version = "2.5.0"; | ||
| const version = "2.5.1"; | ||
| if (globalRef._FEDERATION_RUNTIME_CORE && globalRef._FEDERATION_RUNTIME_CORE_FROM && (globalRef._FEDERATION_RUNTIME_CORE_FROM.name !== name || globalRef._FEDERATION_RUNTIME_CORE_FROM.version !== version)) { | ||
@@ -18,0 +18,0 @@ console.warn(`Detect multiple module federation runtime! Injected runtime from ${globalRef._FEDERATION_RUNTIME_CORE_FROM.name}@${globalRef._FEDERATION_RUNTIME_CORE_FROM.version} and current is ${name}@${version}, pleasure ensure there is only one consumer to provider runtime!`); |
+2
-2
@@ -7,3 +7,3 @@ import * as runtimeCore from "@module-federation/runtime-tools/runtime-core"; | ||
| name: "inject-external-runtime-core-plugin", | ||
| version: "2.5.0", | ||
| version: "2.5.1", | ||
| beforeInit(args) { | ||
@@ -13,3 +13,3 @@ const globalRef = runtimeCore.Global; | ||
| const name = args.options.name; | ||
| const version = "2.5.0"; | ||
| const version = "2.5.1"; | ||
| if (globalRef._FEDERATION_RUNTIME_CORE && globalRef._FEDERATION_RUNTIME_CORE_FROM && (globalRef._FEDERATION_RUNTIME_CORE_FROM.name !== name || globalRef._FEDERATION_RUNTIME_CORE_FROM.version !== version)) { | ||
@@ -16,0 +16,0 @@ console.warn(`Detect multiple module federation runtime! Injected runtime from ${globalRef._FEDERATION_RUNTIME_CORE_FROM.name}@${globalRef._FEDERATION_RUNTIME_CORE_FROM.version} and current is ${name}@${version}, pleasure ensure there is only one consumer to provider runtime!`); |
+3
-3
| { | ||
| "name": "@module-federation/inject-external-runtime-core-plugin", | ||
| "version": "2.5.0", | ||
| "version": "2.5.1", | ||
| "type": "module", | ||
@@ -48,6 +48,6 @@ "license": "MIT", | ||
| "peerDependencies": { | ||
| "@module-federation/runtime-tools": "2.5.0" | ||
| "@module-federation/runtime-tools": "2.5.1" | ||
| }, | ||
| "devDependencies": { | ||
| "@module-federation/runtime-tools": "2.5.0" | ||
| "@module-federation/runtime-tools": "2.5.1" | ||
| }, | ||
@@ -54,0 +54,0 @@ "scripts": { |