@module-federation/sdk 0.17.0 → 0.18.0
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.cjs +4 -4
- package/dist/index.esm.js +4 -4
- package/dist/src/constant.d.ts +3 -1
- package/dist/src/types/plugins/ModuleFederationPlugin.d.ts +2 -0
- package/package.json +8 -8
- /package/dist/{index.esm.d.ts → index.d.ts} +0 -0
- /package/dist/{normalize-webpack-path.esm.d.ts → normalize-webpack-path.d.ts} +0 -0
package/dist/index.cjs.cjs
CHANGED
|
@@ -39,19 +39,19 @@ const MFPrefetchCommon = {
|
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
var ContainerPlugin = /*#__PURE__*/Object.freeze({
|
|
42
|
-
|
|
42
|
+
__proto__: null
|
|
43
43
|
});
|
|
44
44
|
|
|
45
45
|
var ContainerReferencePlugin = /*#__PURE__*/Object.freeze({
|
|
46
|
-
|
|
46
|
+
__proto__: null
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
var ModuleFederationPlugin = /*#__PURE__*/Object.freeze({
|
|
50
|
-
|
|
50
|
+
__proto__: null
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
var SharePlugin = /*#__PURE__*/Object.freeze({
|
|
54
|
-
|
|
54
|
+
__proto__: null
|
|
55
55
|
});
|
|
56
56
|
|
|
57
57
|
function isBrowserEnv() {
|
package/dist/index.esm.js
CHANGED
|
@@ -37,19 +37,19 @@ const MFPrefetchCommon = {
|
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
var ContainerPlugin = /*#__PURE__*/Object.freeze({
|
|
40
|
-
|
|
40
|
+
__proto__: null
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
var ContainerReferencePlugin = /*#__PURE__*/Object.freeze({
|
|
44
|
-
|
|
44
|
+
__proto__: null
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
var ModuleFederationPlugin = /*#__PURE__*/Object.freeze({
|
|
48
|
-
|
|
48
|
+
__proto__: null
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
var SharePlugin = /*#__PURE__*/Object.freeze({
|
|
52
|
-
|
|
52
|
+
__proto__: null
|
|
53
53
|
});
|
|
54
54
|
|
|
55
55
|
function isBrowserEnv() {
|
package/dist/src/constant.d.ts
CHANGED
|
@@ -7,7 +7,9 @@ export declare const NameTransformSymbol: {
|
|
|
7
7
|
SLASH: string;
|
|
8
8
|
};
|
|
9
9
|
export declare const NameTransformMap: {
|
|
10
|
-
[
|
|
10
|
+
[NameTransformSymbol.AT]: string;
|
|
11
|
+
[NameTransformSymbol.HYPHEN]: string;
|
|
12
|
+
[NameTransformSymbol.SLASH]: string;
|
|
11
13
|
};
|
|
12
14
|
export declare const EncodedNameTransformMap: {
|
|
13
15
|
[x: string]: string;
|
|
@@ -106,6 +106,8 @@ export interface DtsHostOptions {
|
|
|
106
106
|
runtimePkgs?: string[];
|
|
107
107
|
remoteTypeUrls?: (() => Promise<RemoteTypeUrls>) | RemoteTypeUrls;
|
|
108
108
|
timeout?: number;
|
|
109
|
+
/** The family of IP, used for network requests */
|
|
110
|
+
family?: 4 | 6;
|
|
109
111
|
typesOnBuild?: boolean;
|
|
110
112
|
}
|
|
111
113
|
export interface DtsRemoteOptions {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "A sdk for support module federation",
|
|
@@ -25,25 +25,25 @@
|
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"main": "./dist/index.cjs.cjs",
|
|
27
27
|
"module": "./dist/index.esm.js",
|
|
28
|
-
"types": "./dist/index.
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
29
|
"exports": {
|
|
30
30
|
".": {
|
|
31
31
|
"import": {
|
|
32
|
-
"types": "./dist/index.
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
33
|
"default": "./dist/index.esm.js"
|
|
34
34
|
},
|
|
35
35
|
"require": {
|
|
36
|
-
"types": "./dist/index.
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
37
|
"default": "./dist/index.cjs.cjs"
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"./normalize-webpack-path": {
|
|
41
41
|
"import": {
|
|
42
|
-
"types": "./dist/normalize-webpack-path.
|
|
42
|
+
"types": "./dist/normalize-webpack-path.d.ts",
|
|
43
43
|
"default": "./dist/normalize-webpack-path.esm.js"
|
|
44
44
|
},
|
|
45
45
|
"require": {
|
|
46
|
-
"types": "./dist/normalize-webpack-path.
|
|
46
|
+
"types": "./dist/normalize-webpack-path.d.ts",
|
|
47
47
|
"default": "./dist/normalize-webpack-path.cjs.cjs"
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"typesVersions": {
|
|
52
52
|
"*": {
|
|
53
53
|
".": [
|
|
54
|
-
"./dist/index.
|
|
54
|
+
"./dist/index.d.ts"
|
|
55
55
|
],
|
|
56
56
|
"normalize-webpack-path": [
|
|
57
|
-
"./dist/normalize-webpack-path.
|
|
57
|
+
"./dist/normalize-webpack-path.d.ts"
|
|
58
58
|
]
|
|
59
59
|
}
|
|
60
60
|
}
|
|
File without changes
|
|
File without changes
|