@module-federation/sdk 0.17.0 → 0.17.1

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.
@@ -39,19 +39,19 @@ const MFPrefetchCommon = {
39
39
  };
40
40
 
41
41
  var ContainerPlugin = /*#__PURE__*/Object.freeze({
42
- __proto__: null
42
+ __proto__: null
43
43
  });
44
44
 
45
45
  var ContainerReferencePlugin = /*#__PURE__*/Object.freeze({
46
- __proto__: null
46
+ __proto__: null
47
47
  });
48
48
 
49
49
  var ModuleFederationPlugin = /*#__PURE__*/Object.freeze({
50
- __proto__: null
50
+ __proto__: null
51
51
  });
52
52
 
53
53
  var SharePlugin = /*#__PURE__*/Object.freeze({
54
- __proto__: null
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
- __proto__: null
40
+ __proto__: null
41
41
  });
42
42
 
43
43
  var ContainerReferencePlugin = /*#__PURE__*/Object.freeze({
44
- __proto__: null
44
+ __proto__: null
45
45
  });
46
46
 
47
47
  var ModuleFederationPlugin = /*#__PURE__*/Object.freeze({
48
- __proto__: null
48
+ __proto__: null
49
49
  });
50
50
 
51
51
  var SharePlugin = /*#__PURE__*/Object.freeze({
52
- __proto__: null
52
+ __proto__: null
53
53
  });
54
54
 
55
55
  function isBrowserEnv() {
@@ -7,7 +7,9 @@ export declare const NameTransformSymbol: {
7
7
  SLASH: string;
8
8
  };
9
9
  export declare const NameTransformMap: {
10
- [x: string]: string;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/sdk",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
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.cjs.d.ts",
28
+ "types": "./dist/index.d.ts",
29
29
  "exports": {
30
30
  ".": {
31
31
  "import": {
32
- "types": "./dist/index.esm.d.ts",
32
+ "types": "./dist/index.d.ts",
33
33
  "default": "./dist/index.esm.js"
34
34
  },
35
35
  "require": {
36
- "types": "./dist/index.cjs.d.ts",
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.esm.d.ts",
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.cjs.d.ts",
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.cjs.d.ts"
54
+ "./dist/index.d.ts"
55
55
  ],
56
56
  "normalize-webpack-path": [
57
- "./dist/normalize-webpack-path.cjs.d.ts"
57
+ "./dist/normalize-webpack-path.d.ts"
58
58
  ]
59
59
  }
60
60
  }
File without changes