🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@module-federation/inject-external-runtime-core-plugin

Package Overview
Dependencies
Maintainers
4
Versions
515
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/inject-external-runtime-core-plugin - npm Package Compare versions

Comparing version
2.5.0
to
2.5.1
+2
-2
dist/index.cjs

@@ -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!`);

@@ -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!`);

{
"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": {