@module-federation/node 0.0.0-next-20240418224727 → 0.0.0-next-20240419054235
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/README.md +1 -0
- package/dist/src/runtimePlugin.d.ts +1 -0
- package/dist/src/runtimePlugin.js +255 -246
- package/dist/src/runtimePlugin.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,265 +1,274 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
//@ts-nocheck
|
|
3
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
for (const instance of federationInstances) {
|
|
33
|
-
const moduleContainer = instance.moduleCache.get(remoteName);
|
|
34
|
-
if (moduleContainer && moduleContainer.remoteInfo) {
|
|
35
|
-
entryUrl = moduleContainer.remoteInfo.entry; // Assign the found entry URL
|
|
36
|
-
break; // Exit the loop as soon as a matching entry is found
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return entryUrl; // Return the found entry URL or null if not found
|
|
40
|
-
}
|
|
41
|
-
function returnFromGlobalInstances(remoteName) {
|
|
42
|
-
const globalThisVal = new Function('return globalThis')();
|
|
43
|
-
const federationInstances = globalThisVal['__FEDERATION__']['__INSTANCES__'];
|
|
44
|
-
let entryUrl = null; // Declare a variable to store the entry URL when found
|
|
45
|
-
// Iterate over federation instances
|
|
46
|
-
for (const instance of federationInstances) {
|
|
47
|
-
// Manually iterate over the remotes for each instance
|
|
48
|
-
for (const remote of instance.options.remotes) {
|
|
49
|
-
if (remote.name === remoteName || remote.alias === remoteName) {
|
|
50
|
-
console.log('Backup remote entry found:', remote.entry);
|
|
51
|
-
entryUrl = remote.entry; // Set the entry URL
|
|
52
|
-
break; // Break from the inner loop
|
|
3
|
+
//@ts-nocheck
|
|
4
|
+
function default_1() {
|
|
5
|
+
return {
|
|
6
|
+
name: 'node-internal-plugin',
|
|
7
|
+
beforeInit: function (args) {
|
|
8
|
+
(() => {
|
|
9
|
+
function resolveFile(rootOutputDir, chunkId) {
|
|
10
|
+
var path = __non_webpack_require__('path');
|
|
11
|
+
var filename = path.join(__dirname, rootOutputDir + __webpack_require__.u(chunkId));
|
|
12
|
+
return filename;
|
|
13
|
+
}
|
|
14
|
+
function resolveUrl(remoteName, chunkName) {
|
|
15
|
+
var path = __non_webpack_require__('path');
|
|
16
|
+
try {
|
|
17
|
+
return new URL(chunkName, __webpack_require__.p);
|
|
18
|
+
}
|
|
19
|
+
catch (error) {
|
|
20
|
+
console.error('module-federation: failed to construct absolute chunk path of', remoteName, 'for', chunkName, 'for public path', __webpack_require__.p);
|
|
21
|
+
const entryUrl = returnFromCache(remoteName) ||
|
|
22
|
+
returnFromGlobalInstances(remoteName);
|
|
23
|
+
if (!entryUrl) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
const url = new URL(entryUrl);
|
|
27
|
+
const fileToReplace = path.basename(url.pathname);
|
|
28
|
+
url.pathname = url.pathname.replace(fileToReplace, chunkName);
|
|
29
|
+
return url;
|
|
30
|
+
}
|
|
53
31
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
if (err) {
|
|
68
|
-
callback(err, null);
|
|
69
|
-
return;
|
|
32
|
+
function returnFromCache(remoteName) {
|
|
33
|
+
const globalThisVal = new Function('return globalThis')();
|
|
34
|
+
const federationInstances = globalThisVal['__FEDERATION__']['__INSTANCES__'];
|
|
35
|
+
let entryUrl = null; // Initialize entryUrl to null
|
|
36
|
+
// Using for...of for better readability and direct control
|
|
37
|
+
for (const instance of federationInstances) {
|
|
38
|
+
const moduleContainer = instance.moduleCache.get(remoteName);
|
|
39
|
+
if (moduleContainer && moduleContainer.remoteInfo) {
|
|
40
|
+
entryUrl = moduleContainer.remoteInfo.entry; // Assign the found entry URL
|
|
41
|
+
break; // Exit the loop as soon as a matching entry is found
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return entryUrl; // Return the found entry URL or null if not found
|
|
70
45
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
46
|
+
function returnFromGlobalInstances(remoteName) {
|
|
47
|
+
const globalThisVal = new Function('return globalThis')();
|
|
48
|
+
const federationInstances = globalThisVal['__FEDERATION__']['__INSTANCES__'];
|
|
49
|
+
let entryUrl = null; // Declare a variable to store the entry URL when found
|
|
50
|
+
// Iterate over federation instances
|
|
51
|
+
for (const instance of federationInstances) {
|
|
52
|
+
// Manually iterate over the remotes for each instance
|
|
53
|
+
for (const remote of instance.options.remotes) {
|
|
54
|
+
if (remote.name === remoteName || remote.alias === remoteName) {
|
|
55
|
+
console.log('Backup remote entry found:', remote.entry);
|
|
56
|
+
entryUrl = remote.entry; // Set the entry URL
|
|
57
|
+
break; // Break from the inner loop
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
if (entryUrl)
|
|
61
|
+
break; // Break from the outer loop if the entry URL has been set
|
|
62
|
+
}
|
|
63
|
+
return entryUrl; // Return the found entry URL or null if not found
|
|
77
64
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
65
|
+
function fileSystemRunInContextStrategy(chunkId, rootOutputDir, callback) {
|
|
66
|
+
var fs = __non_webpack_require__('fs');
|
|
67
|
+
var path = __non_webpack_require__('path');
|
|
68
|
+
var vm = __non_webpack_require__('vm');
|
|
69
|
+
var filename = resolveFile(rootOutputDir, chunkId);
|
|
70
|
+
if (fs.existsSync(filename)) {
|
|
71
|
+
fs.readFile(filename, 'utf-8', function (err, content) {
|
|
72
|
+
if (err) {
|
|
73
|
+
callback(err, null);
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
var chunk = {};
|
|
77
|
+
try {
|
|
78
|
+
vm.runInThisContext('(function(exports, require, __dirname, __filename) {' +
|
|
79
|
+
content +
|
|
80
|
+
'\n})', filename)(chunk, __non_webpack_require__, path.dirname(filename), filename);
|
|
81
|
+
callback(null, chunk);
|
|
82
|
+
}
|
|
83
|
+
catch (e) {
|
|
84
|
+
console.log("'runInThisContext threw'", e);
|
|
85
|
+
callback(e, null);
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
var err = new Error('File ' + filename + ' does not exist');
|
|
91
|
+
callback(err, null);
|
|
92
|
+
}
|
|
81
93
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
'\n})')(chunk, __non_webpack_require__, urlDirname, chunkName);
|
|
110
|
-
callback(null, chunk);
|
|
111
|
-
}
|
|
112
|
-
catch (e) {
|
|
113
|
-
callback(e, null);
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
function httpVmStrategy(chunkName, remoteName, callback) {
|
|
118
|
-
var http = __non_webpack_require__('http');
|
|
119
|
-
var https = __non_webpack_require__('https');
|
|
120
|
-
var vm = __non_webpack_require__('vm');
|
|
121
|
-
var url = resolveUrl(remoteName, chunkName);
|
|
122
|
-
if (!url) {
|
|
123
|
-
var emptyChunk = {
|
|
124
|
-
modules: {}, // No modules
|
|
125
|
-
ids: [], // No chunk IDs
|
|
126
|
-
runtime: null, // No runtime function
|
|
127
|
-
};
|
|
128
|
-
return callback(null, emptyChunk);
|
|
129
|
-
}
|
|
130
|
-
var protocol = url.protocol === 'https:' ? https : http;
|
|
131
|
-
protocol.get(url.href, function (res) {
|
|
132
|
-
var data = '';
|
|
133
|
-
res.on('data', function (chunk) {
|
|
134
|
-
data += chunk.toString();
|
|
135
|
-
});
|
|
136
|
-
res.on('end', function () {
|
|
137
|
-
var chunk = {};
|
|
138
|
-
var urlDirname = url.pathname.split('/').slice(0, -1).join('/');
|
|
139
|
-
vm.runInThisContext('(function(exports, require, __dirname, __filename) {' +
|
|
140
|
-
data +
|
|
141
|
-
'\n})', chunkName)(chunk, __non_webpack_require__, urlDirname, chunkName);
|
|
142
|
-
callback(null, chunk);
|
|
143
|
-
});
|
|
144
|
-
res.on('error', function (err) {
|
|
145
|
-
callback(err, null);
|
|
146
|
-
});
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
function loadChunkStrategy(strategyType, chunkId, rootOutputDir, remotes, callback) {
|
|
150
|
-
switch (strategyType) {
|
|
151
|
-
case 'filesystem':
|
|
152
|
-
return fileSystemRunInContextStrategy(chunkId, rootOutputDir, callback);
|
|
153
|
-
case 'http-eval':
|
|
154
|
-
return httpEvalStrategy(chunkId, rootOutputDir, callback);
|
|
155
|
-
case 'http-vm':
|
|
156
|
-
return httpVmStrategy(chunkId, rootOutputDir, callback);
|
|
157
|
-
default:
|
|
158
|
-
throw new Error('Invalid strategy type');
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
// no baseURI
|
|
162
|
-
// object to store loaded chunks
|
|
163
|
-
// "0" means "already loaded", Promise means loading
|
|
164
|
-
var installedChunks = {};
|
|
165
|
-
var installChunk = __webpack_require__.C
|
|
166
|
-
? __webpack_require__.C
|
|
167
|
-
: (chunk) => {
|
|
168
|
-
var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;
|
|
169
|
-
for (var moduleId in moreModules) {
|
|
170
|
-
if (__webpack_require__.o(moreModules, moduleId)) {
|
|
171
|
-
__webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
94
|
+
function httpEvalStrategy(chunkName, remoteName, callback) {
|
|
95
|
+
var url = resolveUrl(remoteName, chunkName);
|
|
96
|
+
if (!url) {
|
|
97
|
+
var emptyChunk = {
|
|
98
|
+
modules: {}, // No modules
|
|
99
|
+
ids: [], // No chunk IDs
|
|
100
|
+
runtime: null, // No runtime function
|
|
101
|
+
};
|
|
102
|
+
return callback(null, emptyChunk);
|
|
103
|
+
}
|
|
104
|
+
fetch(url)
|
|
105
|
+
.then(function (res) {
|
|
106
|
+
return res.text();
|
|
107
|
+
})
|
|
108
|
+
.then(function (data) {
|
|
109
|
+
var chunk = {};
|
|
110
|
+
try {
|
|
111
|
+
var urlDirname = url.pathname.split('/').slice(0, -1).join('/');
|
|
112
|
+
eval('(function(exports, require, __dirname, __filename) {' +
|
|
113
|
+
data +
|
|
114
|
+
'\n})')(chunk, __non_webpack_require__, urlDirname, chunkName);
|
|
115
|
+
callback(null, chunk);
|
|
116
|
+
}
|
|
117
|
+
catch (e) {
|
|
118
|
+
callback(e, null);
|
|
119
|
+
}
|
|
120
|
+
});
|
|
172
121
|
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
122
|
+
function httpVmStrategy(chunkName, remoteName, callback) {
|
|
123
|
+
var http = __non_webpack_require__('http');
|
|
124
|
+
var https = __non_webpack_require__('https');
|
|
125
|
+
var vm = __non_webpack_require__('vm');
|
|
126
|
+
var url = resolveUrl(remoteName, chunkName);
|
|
127
|
+
if (!url) {
|
|
128
|
+
var emptyChunk = {
|
|
129
|
+
modules: {}, // No modules
|
|
130
|
+
ids: [], // No chunk IDs
|
|
131
|
+
runtime: null, // No runtime function
|
|
132
|
+
};
|
|
133
|
+
return callback(null, emptyChunk);
|
|
134
|
+
}
|
|
135
|
+
var protocol = url.protocol === 'https:' ? https : http;
|
|
136
|
+
protocol.get(url.href, function (res) {
|
|
137
|
+
var data = '';
|
|
138
|
+
res.on('data', function (chunk) {
|
|
139
|
+
data += chunk.toString();
|
|
140
|
+
});
|
|
141
|
+
res.on('end', function () {
|
|
142
|
+
var chunk = {};
|
|
143
|
+
var urlDirname = url.pathname.split('/').slice(0, -1).join('/');
|
|
144
|
+
vm.runInThisContext('(function(exports, require, __dirname, __filename) {' +
|
|
145
|
+
data +
|
|
146
|
+
'\n})', chunkName)(chunk, __non_webpack_require__, urlDirname, chunkName);
|
|
147
|
+
callback(null, chunk);
|
|
148
|
+
});
|
|
149
|
+
res.on('error', function (err) {
|
|
150
|
+
callback(err, null);
|
|
151
|
+
});
|
|
152
|
+
});
|
|
179
153
|
}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
var federation = __webpack_require__.federation;
|
|
192
|
-
var enhancedRemote = federation.instance.initRawContainer(chunkId, url, res);
|
|
193
|
-
// use normal global assignment
|
|
194
|
-
if (!usesInternalRef && !globalThis[chunkId]) {
|
|
195
|
-
globalThis[chunkId] = enhancedRemote;
|
|
196
|
-
}
|
|
197
|
-
console.log('adding remote', chunkId);
|
|
198
|
-
callback(enhancedRemote);
|
|
199
|
-
})
|
|
200
|
-
.catch(function (error) {
|
|
201
|
-
callback(error);
|
|
202
|
-
});
|
|
203
|
-
};
|
|
204
|
-
// Dynamic filesystem chunk loading for javascript
|
|
205
|
-
if (__webpack_require__.f) {
|
|
206
|
-
const handle = function (chunkId, promises) {
|
|
207
|
-
var installedChunkData = installedChunks[chunkId];
|
|
208
|
-
if (installedChunkData !== 0) {
|
|
209
|
-
// 0 means "already installed".
|
|
210
|
-
if (installedChunkData) {
|
|
211
|
-
promises.push(installedChunkData[2]);
|
|
154
|
+
function loadChunkStrategy(strategyType, chunkId, rootOutputDir, remotes, callback) {
|
|
155
|
+
switch (strategyType) {
|
|
156
|
+
case 'filesystem':
|
|
157
|
+
return fileSystemRunInContextStrategy(chunkId, rootOutputDir, callback);
|
|
158
|
+
case 'http-eval':
|
|
159
|
+
return httpEvalStrategy(chunkId, rootOutputDir, callback);
|
|
160
|
+
case 'http-vm':
|
|
161
|
+
return httpVmStrategy(chunkId, rootOutputDir, callback);
|
|
162
|
+
default:
|
|
163
|
+
throw new Error('Invalid strategy type');
|
|
164
|
+
}
|
|
212
165
|
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
166
|
+
// no baseURI
|
|
167
|
+
// object to store loaded chunks
|
|
168
|
+
// "0" means "already loaded", Promise means loading
|
|
169
|
+
var installedChunks = {};
|
|
170
|
+
var installChunk = __webpack_require__.C
|
|
171
|
+
? __webpack_require__.C
|
|
172
|
+
: (chunk) => {
|
|
173
|
+
var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;
|
|
174
|
+
for (var moduleId in moreModules) {
|
|
175
|
+
if (__webpack_require__.o(moreModules, moduleId)) {
|
|
176
|
+
__webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
if (runtime)
|
|
180
|
+
runtime(__webpack_require__);
|
|
181
|
+
for (var i = 0; i < chunkIds.length; i++) {
|
|
182
|
+
if (installedChunks[chunkIds[i]]) {
|
|
183
|
+
installedChunks[chunkIds[i]][0]();
|
|
227
184
|
}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
185
|
+
installedChunks[chunkIds[i]] = 0;
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
// load script equivalent for server side
|
|
189
|
+
__webpack_require__.l = function (url, callback, chunkId) {
|
|
190
|
+
if (!chunkId) {
|
|
191
|
+
throw new Error('__webpack_require__.l name is required for ' + url);
|
|
192
|
+
}
|
|
193
|
+
__webpack_require__.federation.runtime
|
|
194
|
+
.loadScriptNode(url, { attrs: {} })
|
|
195
|
+
.then(function (res) {
|
|
196
|
+
var federation = __webpack_require__.federation;
|
|
197
|
+
var enhancedRemote = federation.instance.initRawContainer(chunkId, url, res);
|
|
198
|
+
// use normal global assignment
|
|
199
|
+
if (!usesInternalRef && !globalThis[chunkId]) {
|
|
200
|
+
globalThis[chunkId] = enhancedRemote;
|
|
201
|
+
}
|
|
202
|
+
console.log('adding remote', chunkId);
|
|
203
|
+
callback(enhancedRemote);
|
|
204
|
+
})
|
|
205
|
+
.catch(function (error) {
|
|
206
|
+
callback(error);
|
|
207
|
+
});
|
|
208
|
+
};
|
|
209
|
+
// Dynamic filesystem chunk loading for javascript
|
|
210
|
+
if (__webpack_require__.f) {
|
|
211
|
+
const handle = function (chunkId, promises) {
|
|
212
|
+
var installedChunkData = installedChunks[chunkId];
|
|
213
|
+
if (installedChunkData !== 0) {
|
|
214
|
+
// 0 means "already installed".
|
|
215
|
+
if (installedChunkData) {
|
|
216
|
+
promises.push(installedChunkData[2]);
|
|
236
217
|
}
|
|
237
218
|
else {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
219
|
+
const matcher = __webpack_require__.federation.chunkMatcher
|
|
220
|
+
? __webpack_require__.federation.chunkMatcher(chunkId)
|
|
221
|
+
: true;
|
|
222
|
+
if (matcher) {
|
|
223
|
+
// check if real chunk for handler
|
|
224
|
+
var promise = new Promise(function (resolve, reject) {
|
|
225
|
+
installedChunkData = installedChunks[chunkId] = [
|
|
226
|
+
resolve,
|
|
227
|
+
reject,
|
|
228
|
+
];
|
|
229
|
+
function installChunkCallback(error, chunk) {
|
|
230
|
+
if (error)
|
|
231
|
+
return reject(error);
|
|
232
|
+
if (chunk)
|
|
233
|
+
installChunk(chunk);
|
|
234
|
+
resolve(chunk);
|
|
235
|
+
}
|
|
236
|
+
var fs = typeof process !== 'undefined'
|
|
237
|
+
? __non_webpack_require__('fs')
|
|
238
|
+
: false;
|
|
239
|
+
var filename = typeof process !== 'undefined'
|
|
240
|
+
? resolveFile(__webpack_require__.federation.rootOutputDir || '', chunkId)
|
|
241
|
+
: false;
|
|
242
|
+
if (fs && fs.existsSync(filename)) {
|
|
243
|
+
loadChunkStrategy('filesystem', chunkId, __webpack_require__.federation.rootOutputDir || '', undefined, installChunkCallback);
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
var chunkName = __webpack_require__.u(chunkId);
|
|
247
|
+
const loadingStrategy = typeof process === 'undefined'
|
|
248
|
+
? 'http-vm'
|
|
249
|
+
: 'http-eval';
|
|
250
|
+
loadChunkStrategy(loadingStrategy, chunkName, __webpack_require__.federation.initOptions.name, __webpack_require__.federation.initOptions.remotes, installChunkCallback);
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
promises.push((installedChunkData[2] = promise));
|
|
254
|
+
}
|
|
255
|
+
else {
|
|
256
|
+
installedChunks[chunkId] = 0;
|
|
257
|
+
}
|
|
241
258
|
}
|
|
242
|
-
}
|
|
243
|
-
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
if (__webpack_require__.f.require) {
|
|
262
|
+
console.warn('\x1b[33m%s\x1b[0m', 'CAUTION: build target is not set to "async-node", attempting to patch additional chunk handlers. This may not work');
|
|
263
|
+
__webpack_require__.f.require = handle;
|
|
244
264
|
}
|
|
245
|
-
|
|
246
|
-
|
|
265
|
+
if (__webpack_require__.f.readFileVm) {
|
|
266
|
+
__webpack_require__.f.readFileVm = handle;
|
|
247
267
|
}
|
|
248
268
|
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
console.warn('\x1b[33m%s\x1b[0m', 'CAUTION: build target is not set to "async-node", attempting to patch additional chunk handlers. This may not work');
|
|
253
|
-
__webpack_require__.f.require = handle;
|
|
254
|
-
}
|
|
255
|
-
if (__webpack_require__.f.readFileVm) {
|
|
256
|
-
__webpack_require__.f.readFileVm = handle;
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
})();
|
|
260
|
-
function default_1() {
|
|
261
|
-
return {
|
|
262
|
-
name: 'node-internal-plugin',
|
|
269
|
+
})();
|
|
270
|
+
return args;
|
|
271
|
+
},
|
|
263
272
|
};
|
|
264
273
|
}
|
|
265
274
|
exports.default = default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimePlugin.js","sourceRoot":"","sources":["../../src/runtimePlugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"runtimePlugin.js","sourceRoot":"","sources":["../../src/runtimePlugin.ts"],"names":[],"mappings":";;AAAA,aAAa;AACb;IACE,OAAO;QACL,IAAI,EAAE,sBAAsB;QAC5B,UAAU,EAAE,UAAU,IAAI;YACxB,CAAC,GAAG,EAAE;gBACJ,SAAS,WAAW,CAAC,aAAa,EAAE,OAAO;oBACzC,IAAI,IAAI,GAAG,uBAAuB,CAAC,MAAM,CAAC,CAAC;oBAE3C,IAAI,QAAQ,GAAG,IAAI,CAAC,IAAI,CACtB,SAAS,EACT,aAAa,GAAG,mBAAmB,CAAC,CAAC,CAAC,OAAO,CAAC,CAC/C,CAAC;oBAEF,OAAO,QAAQ,CAAC;gBAClB,CAAC;gBAED,SAAS,UAAU,CAAC,UAAU,EAAE,SAAS;oBACvC,IAAI,IAAI,GAAG,uBAAuB,CAAC,MAAM,CAAC,CAAC;oBAE3C,IAAI,CAAC;wBACH,OA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AAC,CAAC,SAAS;gDACX,CAAC,CAAC,WAAW,CAAC;4CAClB,iBAAiB,CACf,eAAe,EACf,SAAS,EACT,mBAAmB,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,EAC/C,mBAAmB,CAAC,UAAU,CAAC,WAAW,CAAC,OAAO,EAClD,oBAAoB,CACrB,CAAC;wCACJ,CAAC;oCACH,CAAC,CAAC,CAAC;oCACH,QAAQ,CAAC,IAAI,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;gCACnD,CAAC;qCAAM,CAAC;oCACN,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;gCAC/B,CAAC;4BACH,CAAC;wBACH,CAAC;oBACH,CAAC,CAAC;oBACF,IAAI,mBAAmB,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;wBAClC,OAAO,CAAC,IAAI,CACV,mBAAmB,EACnB,oHAAoH,CACrH,CAAC;wBACF,mBAAmB,CAAC,CAAC,CAAC,OAAO,GAAG,MAAM,CAAC;oBACzC,CAAC;oBACD,IAAI,mBAAmB,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;wBACrC,mBAAmB,CAAC,CAAC,CAAC,UAAU,GAAG,MAAM,CAAC;oBAC5C,CAAC;gBACH,CAAC;YACH,CAAC,CAAC,EAAE,CAAC;YACL,OAAO,IAAI,CAAC;QACd,CAAC;KACF,CAAC;AACJ,CAAC;AArWD,4BAqWC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"public": true,
|
|
3
3
|
"name": "@module-federation/node",
|
|
4
|
-
"version": "0.0.0-next-
|
|
4
|
+
"version": "0.0.0-next-20240419054235",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./dist/src/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"encoding": "^0.1.13",
|
|
44
44
|
"node-fetch": "2.7.0",
|
|
45
|
-
"@module-federation/enhanced": "0.0.0-next-
|
|
46
|
-
"@module-federation/sdk": "0.0.0-next-
|
|
47
|
-
"@module-federation/utilities": "0.0.0-next-
|
|
48
|
-
"@module-federation/runtime": "0.0.0-next-
|
|
45
|
+
"@module-federation/enhanced": "0.0.0-next-20240419054235",
|
|
46
|
+
"@module-federation/sdk": "0.0.0-next-20240419054235",
|
|
47
|
+
"@module-federation/utilities": "0.0.0-next-20240419054235",
|
|
48
|
+
"@module-federation/runtime": "0.0.0-next-20240419054235"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": "^16||^17||^18",
|