@module-federation/runtime 0.1.3 → 0.1.4
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.
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/package.json +7 -7
- package/dist/share.cjs.js +1 -1
- package/dist/share.esm.js +1 -1
- package/package.json +8 -8
package/dist/index.cjs.js
CHANGED
|
@@ -1658,7 +1658,7 @@ class FederationHost {
|
|
|
1658
1658
|
// not used yet
|
|
1659
1659
|
afterPreloadRemote: new AsyncHook()
|
|
1660
1660
|
});
|
|
1661
|
-
this.version = "0.1.
|
|
1661
|
+
this.version = "0.1.4";
|
|
1662
1662
|
this.moduleCache = new Map();
|
|
1663
1663
|
this.loaderHook = new PluginSystem({
|
|
1664
1664
|
// FIXME: may not be suitable , not open to the public yet
|
package/dist/index.esm.js
CHANGED
|
@@ -1656,7 +1656,7 @@ class FederationHost {
|
|
|
1656
1656
|
// not used yet
|
|
1657
1657
|
afterPreloadRemote: new AsyncHook()
|
|
1658
1658
|
});
|
|
1659
|
-
this.version = "0.1.
|
|
1659
|
+
this.version = "0.1.4";
|
|
1660
1660
|
this.moduleCache = new Map();
|
|
1661
1661
|
this.loaderHook = new PluginSystem({
|
|
1662
1662
|
// FIXME: may not be suitable , not open to the public yet
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/runtime",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"author": "zhouxiao <codingzx@gmail.com>",
|
|
5
5
|
"main": "./index.cjs.js",
|
|
6
6
|
"module": "./index.esm.js",
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
],
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
18
|
+
"types": "./dist/index.cjs.d.ts",
|
|
18
19
|
"import": "./dist/index.esm.js",
|
|
19
|
-
"require": "./dist/index.cjs.js"
|
|
20
|
-
"types": "./dist/index.cjs.d.ts"
|
|
20
|
+
"require": "./dist/index.cjs.js"
|
|
21
21
|
},
|
|
22
22
|
"./helpers": {
|
|
23
|
+
"types": "./dist/helpers.cjs.d.ts",
|
|
23
24
|
"import": "./dist/helpers.esm.js",
|
|
24
|
-
"require": "./dist/helpers.cjs.js"
|
|
25
|
-
"types": "./dist/helpers.cjs.d.ts"
|
|
25
|
+
"require": "./dist/helpers.cjs.js"
|
|
26
26
|
},
|
|
27
27
|
"./types": {
|
|
28
|
+
"types": "./dist/types.cjs.d.ts",
|
|
28
29
|
"import": "./dist/types.esm.js",
|
|
29
|
-
"require": "./dist/types.cjs.js"
|
|
30
|
-
"types": "./dist/types.cjs.d.ts"
|
|
30
|
+
"require": "./dist/types.cjs.js"
|
|
31
31
|
},
|
|
32
32
|
"./*": "./*"
|
|
33
33
|
},
|
package/dist/share.cjs.js
CHANGED
|
@@ -185,7 +185,7 @@ function getGlobalFederationConstructor() {
|
|
|
185
185
|
function setGlobalFederationConstructor(FederationConstructor, isDebug = isDebugMode()) {
|
|
186
186
|
if (isDebug) {
|
|
187
187
|
globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
|
|
188
|
-
globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.1.
|
|
188
|
+
globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.1.4";
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
package/dist/share.esm.js
CHANGED
|
@@ -183,7 +183,7 @@ function getGlobalFederationConstructor() {
|
|
|
183
183
|
function setGlobalFederationConstructor(FederationConstructor, isDebug = isDebugMode()) {
|
|
184
184
|
if (isDebug) {
|
|
185
185
|
globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
|
|
186
|
-
globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.1.
|
|
186
|
+
globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "0.1.4";
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/runtime",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"author": "zhouxiao <codingzx@gmail.com>",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
],
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
18
|
+
"types": "./dist/index.cjs.d.ts",
|
|
18
19
|
"import": "./dist/index.esm.js",
|
|
19
|
-
"require": "./dist/index.cjs.js"
|
|
20
|
-
"types": "./dist/index.cjs.d.ts"
|
|
20
|
+
"require": "./dist/index.cjs.js"
|
|
21
21
|
},
|
|
22
22
|
"./helpers": {
|
|
23
|
+
"types": "./dist/helpers.cjs.d.ts",
|
|
23
24
|
"import": "./dist/helpers.esm.js",
|
|
24
|
-
"require": "./dist/helpers.cjs.js"
|
|
25
|
-
"types": "./dist/helpers.cjs.d.ts"
|
|
25
|
+
"require": "./dist/helpers.cjs.js"
|
|
26
26
|
},
|
|
27
27
|
"./types": {
|
|
28
|
+
"types": "./dist/types.cjs.d.ts",
|
|
28
29
|
"import": "./dist/types.esm.js",
|
|
29
|
-
"require": "./dist/types.cjs.js"
|
|
30
|
-
"types": "./dist/types.cjs.d.ts"
|
|
30
|
+
"require": "./dist/types.cjs.js"
|
|
31
31
|
},
|
|
32
32
|
"./*": "./*"
|
|
33
33
|
},
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@module-federation/sdk": "0.1.
|
|
48
|
+
"@module-federation/sdk": "0.1.4"
|
|
49
49
|
}
|
|
50
50
|
}
|