@module-federation/inject-external-runtime-core-plugin 0.18.0 → 0.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,10 +18,10 @@ var runtimeCore__namespace = /*#__PURE__*/_interopNamespaceDefault(runtimeCore);
18
18
  function injectExternalRuntimeCorePlugin() {
19
19
  return {
20
20
  name: 'inject-external-runtime-core-plugin',
21
- version: "0.18.0",
21
+ version: "0.18.2",
22
22
  beforeInit (args) {
23
23
  const name = args.options.name;
24
- const version = "0.18.0";
24
+ const version = "0.18.2";
25
25
  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)) {
26
26
  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!`);
27
27
  return args;
package/dist/index.esm.js CHANGED
@@ -3,10 +3,10 @@ import * as runtimeCore from '@module-federation/runtime-tools/runtime-core';
3
3
  function injectExternalRuntimeCorePlugin() {
4
4
  return {
5
5
  name: 'inject-external-runtime-core-plugin',
6
- version: "0.18.0",
6
+ version: "0.18.2",
7
7
  beforeInit (args) {
8
8
  const name = args.options.name;
9
- const version = "0.18.0";
9
+ const version = "0.18.2";
10
10
  if (runtimeCore.Global._FEDERATION_RUNTIME_CORE && runtimeCore.Global._FEDERATION_RUNTIME_CORE_FROM && (runtimeCore.Global._FEDERATION_RUNTIME_CORE_FROM.name !== name || runtimeCore.Global._FEDERATION_RUNTIME_CORE_FROM.version !== version)) {
11
11
  console.warn(`Detect multiple module federation runtime! Injected runtime from ${runtimeCore.Global._FEDERATION_RUNTIME_CORE_FROM.name}@${runtimeCore.Global._FEDERATION_RUNTIME_CORE_FROM.version} and current is ${name}@${version}, pleasure ensure there is only one consumer to provider runtime!`);
12
12
  return args;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/inject-external-runtime-core-plugin",
3
- "version": "0.18.0",
3
+ "version": "0.18.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "A sdk for support module federation",
@@ -35,9 +35,9 @@
35
35
  }
36
36
  },
37
37
  "peerDependencies": {
38
- "@module-federation/runtime-tools": "0.18.0"
38
+ "@module-federation/runtime-tools": "0.18.2"
39
39
  },
40
40
  "devDependencies": {
41
- "@module-federation/runtime-tools": "0.18.0"
41
+ "@module-federation/runtime-tools": "0.18.2"
42
42
  }
43
43
  }