@module-federation/utilities 2.0.6 → 2.0.7
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/CHANGELOG.md +54 -0
- package/package.json +1 -1
- package/src/index.d.ts +7 -5
- package/src/index.js +15 -6
- package/src/index.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,60 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [2.0.7](https://github.com/module-federation/nextjs-mf/compare/utils-2.0.6...utils-2.0.7) (2023-08-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* no barrel exports ([5bc775d](https://github.com/module-federation/nextjs-mf/commit/5bc775d9ce685161fc3ea2e1bd179d11526d365a))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [2.0.6](https://github.com/module-federation/nextjs-mf/compare/utils-2.0.5...utils-2.0.6) (2023-08-14)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* workaround to self ref module error in prod ([#1205](https://github.com/module-federation/nextjs-mf/issues/1205)) ([1d88beb](https://github.com/module-federation/nextjs-mf/commit/1d88beb0da629f036e132573fee9f05494b1f540))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## [2.0.6](https://github.com/module-federation/nextjs-mf/compare/utils-2.0.5...utils-2.0.6) (2023-08-14)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* workaround to self ref module error in prod ([#1205](https://github.com/module-federation/nextjs-mf/issues/1205)) ([1d88beb](https://github.com/module-federation/nextjs-mf/commit/1d88beb0da629f036e132573fee9f05494b1f540))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## [2.0.6](https://github.com/module-federation/nextjs-mf/compare/utils-2.0.5...utils-2.0.6) (2023-08-14)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Bug Fixes
|
|
36
|
+
|
|
37
|
+
* workaround to self ref module error in prod ([#1205](https://github.com/module-federation/nextjs-mf/issues/1205)) ([1d88beb](https://github.com/module-federation/nextjs-mf/commit/1d88beb0da629f036e132573fee9f05494b1f540))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## [2.0.6](https://github.com/module-federation/nextjs-mf/compare/utils-2.0.5...utils-2.0.6) (2023-08-14)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Bug Fixes
|
|
45
|
+
|
|
46
|
+
* workaround to self ref module error in prod ([#1205](https://github.com/module-federation/nextjs-mf/issues/1205)) ([1d88beb](https://github.com/module-federation/nextjs-mf/commit/1d88beb0da629f036e132573fee9f05494b1f540))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
## [2.0.6](https://github.com/module-federation/nextjs-mf/compare/utils-2.0.5...utils-2.0.6) (2023-08-14)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### Bug Fixes
|
|
54
|
+
|
|
55
|
+
* workaround to self ref module error in prod ([#1205](https://github.com/module-federation/nextjs-mf/issues/1205)) ([1d88beb](https://github.com/module-federation/nextjs-mf/commit/1d88beb0da629f036e132573fee9f05494b1f540))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
5
59
|
## [2.0.6](https://github.com/module-federation/nextjs-mf/compare/utils-2.0.5...utils-2.0.6) (2023-08-14)
|
|
6
60
|
|
|
7
61
|
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from './types';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
2
|
+
export type { ImportRemoteOptions } from './utils/importRemote';
|
|
3
|
+
export type { LoggerInstance } from './Logger';
|
|
4
|
+
export { createDelegatedModule, createRuntimeVariables, getContainer, injectScript, getModule } from './utils/common';
|
|
5
|
+
export { isObjectEmpty } from './utils/isEmpty';
|
|
6
|
+
export { importRemote } from './utils/importRemote';
|
|
7
|
+
export { correctImportPath } from './utils/correctImportPath';
|
|
8
|
+
export { Logger } from './Logger';
|
|
7
9
|
export { getRuntimeRemotes } from './utils/getRuntimeRemotes';
|
|
8
10
|
export { importDelegatedModule } from './utils/importDelegatedModule';
|
package/src/index.js
CHANGED
|
@@ -14,13 +14,22 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.importDelegatedModule = exports.getRuntimeRemotes = void 0;
|
|
17
|
+
exports.importDelegatedModule = exports.getRuntimeRemotes = exports.Logger = exports.correctImportPath = exports.importRemote = exports.isObjectEmpty = exports.getModule = exports.injectScript = exports.getContainer = exports.createRuntimeVariables = exports.createDelegatedModule = void 0;
|
|
18
18
|
__exportStar(require("./types"), exports);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
var common_1 = require("./utils/common");
|
|
20
|
+
Object.defineProperty(exports, "createDelegatedModule", { enumerable: true, get: function () { return common_1.createDelegatedModule; } });
|
|
21
|
+
Object.defineProperty(exports, "createRuntimeVariables", { enumerable: true, get: function () { return common_1.createRuntimeVariables; } });
|
|
22
|
+
Object.defineProperty(exports, "getContainer", { enumerable: true, get: function () { return common_1.getContainer; } });
|
|
23
|
+
Object.defineProperty(exports, "injectScript", { enumerable: true, get: function () { return common_1.injectScript; } });
|
|
24
|
+
Object.defineProperty(exports, "getModule", { enumerable: true, get: function () { return common_1.getModule; } });
|
|
25
|
+
var isEmpty_1 = require("./utils/isEmpty");
|
|
26
|
+
Object.defineProperty(exports, "isObjectEmpty", { enumerable: true, get: function () { return isEmpty_1.isObjectEmpty; } });
|
|
27
|
+
var importRemote_1 = require("./utils/importRemote");
|
|
28
|
+
Object.defineProperty(exports, "importRemote", { enumerable: true, get: function () { return importRemote_1.importRemote; } });
|
|
29
|
+
var correctImportPath_1 = require("./utils/correctImportPath");
|
|
30
|
+
Object.defineProperty(exports, "correctImportPath", { enumerable: true, get: function () { return correctImportPath_1.correctImportPath; } });
|
|
31
|
+
var Logger_1 = require("./Logger");
|
|
32
|
+
Object.defineProperty(exports, "Logger", { enumerable: true, get: function () { return Logger_1.Logger; } });
|
|
24
33
|
var getRuntimeRemotes_1 = require("./utils/getRuntimeRemotes");
|
|
25
34
|
Object.defineProperty(exports, "getRuntimeRemotes", { enumerable: true, get: function () { return getRuntimeRemotes_1.getRuntimeRemotes; } });
|
|
26
35
|
var importDelegatedModule_1 = require("./utils/importDelegatedModule");
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/utilities/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0CAAwB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/utilities/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0CAAwB;AAIxB,yCAAgH;AAAxG,+GAAA,qBAAqB,OAAA;AAAC,gHAAA,sBAAsB,OAAA;AAAC,sGAAA,YAAY,OAAA;AAAC,sGAAA,YAAY,OAAA;AAAC,mGAAA,SAAS,OAAA;AACxF,2CAA8C;AAAtC,wGAAA,aAAa,OAAA;AACrB,qDAAkD;AAA1C,4GAAA,YAAY,OAAA;AACpB,+DAA4D;AAApD,sHAAA,iBAAiB,OAAA;AACzB,mCAAgC;AAAxB,gGAAA,MAAM,OAAA;AACd,+DAA8D;AAArD,sHAAA,iBAAiB,OAAA;AAC1B,uEAAsE;AAA7D,8HAAA,qBAAqB,OAAA"}
|