@bleedingdev/modern-js-server-runtime-extensions 3.9.0-ultramodern.10 → 3.9.0-ultramodern.12
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 +3 -1
- package/dist/cjs/backend-federation-security/index.js +73 -152
- package/dist/cjs/bff-policy/index.js +7 -0
- package/dist/cjs/bff-policy/node.js +20 -4
- package/dist/cjs/bff-policy/operationContracts.js +150 -135
- package/dist/cjs/bff-policy/operationIdentity.js +81 -0
- package/dist/cjs/bff-policy/producer.js +79 -0
- package/dist/cjs/localisedLoaderPlugin.js +22 -1
- package/dist/cjs/module-federation-css/remote.js +2 -1
- package/dist/esm/backend-federation-security/index.mjs +73 -152
- package/dist/esm/bff-policy/index.mjs +1 -0
- package/dist/esm/bff-policy/operationIdentity.mjs +30 -0
- package/dist/esm/bff-policy/producer.mjs +31 -0
- package/dist/esm/localisedLoaderPlugin.mjs +22 -1
- package/dist/esm/module-federation-css/remote.mjs +2 -1
- package/dist/esm-node/backend-federation-security/index.mjs +73 -152
- package/dist/esm-node/bff-policy/index.mjs +1 -0
- package/dist/esm-node/bff-policy/node.mjs +1 -0
- package/dist/esm-node/bff-policy/operationContracts.mjs +5 -27
- package/dist/esm-node/bff-policy/operationIdentity.mjs +31 -0
- package/dist/esm-node/bff-policy/producer.mjs +32 -0
- package/dist/esm-node/localisedLoaderPlugin.mjs +22 -1
- package/dist/esm-node/module-federation-css/remote.mjs +2 -1
- package/dist/types/bff-policy/index.d.ts +1 -0
- package/dist/types/bff-policy/node.d.ts +1 -0
- package/dist/types/bff-policy/operationContracts.d.ts +2 -41
- package/dist/types/bff-policy/operationIdentity.d.ts +34 -0
- package/dist/types/bff-policy/producer.d.ts +10 -0
- package/dist/types/module-federation-css/remote.d.ts +2 -0
- package/dist/types-esm/bff-policy/index.d.mts +1 -0
- package/dist/types-esm/bff-policy/node.d.mts +1 -0
- package/dist/types-esm/bff-policy/operationContracts.d.mts +2 -41
- package/dist/types-esm/bff-policy/operationIdentity.d.mts +34 -0
- package/dist/types-esm/bff-policy/producer.d.mts +10 -0
- package/dist/types-esm/module-federation-css/remote.d.mts +2 -0
- package/package.json +10 -10
- package/src/backend-federation-security/index.ts +151 -318
- package/src/bff-policy/index.ts +1 -0
- package/src/bff-policy/node.ts +1 -0
- package/src/bff-policy/operationContracts.ts +13 -86
- package/src/bff-policy/operationIdentity.ts +90 -0
- package/src/bff-policy/producer.ts +40 -0
- package/src/localisedLoaderPlugin.ts +31 -0
- package/src/module-federation-css/remote.ts +3 -1
- package/tests/backendFederationSecurity.test.ts +63 -0
- package/tests/bff-policy/operationContracts.test.ts +57 -0
- package/tests/localisedLoader.test.ts +36 -1
- package/tests/moduleFederationCss.test.ts +101 -0
package/README.md
CHANGED
|
@@ -14,7 +14,9 @@ stays small:
|
|
|
14
14
|
- **Module federation runtime helpers** — remote CSS collection for SSR
|
|
15
15
|
(`collectDirectRemoteModuleFederationCss`, `injectModuleFederationCssPlugin()`)
|
|
16
16
|
and MF asset cache-header policies (`resolveMfAssetCacheHeaders`,
|
|
17
|
-
`injectMfAssetCacheHeadersPlugin()`).
|
|
17
|
+
`injectMfAssetCacheHeadersPlugin()`). Remote entries configure the canonical
|
|
18
|
+
final manifest URL: the native fetch rejects redirects (`redirect: 'error'`),
|
|
19
|
+
and a trusted injected `fetcher` must honor that same option.
|
|
18
20
|
|
|
19
21
|
## Registration
|
|
20
22
|
|
|
@@ -171,97 +171,85 @@ const sha256Hex = async (bytes, signal)=>{
|
|
|
171
171
|
const digest = new Uint8Array(await readWithAbort(subtle.digest('SHA-256', bytes), signal));
|
|
172
172
|
return Array.from(digest, (byte)=>byte.toString(16).padStart(2, '0')).join('');
|
|
173
173
|
};
|
|
174
|
-
async function
|
|
175
|
-
const
|
|
176
|
-
assertAllowedEntryUrl(requestedUrl, true === options.allowInsecureHttp);
|
|
177
|
-
const maxBytes = options.maxBytes ?? DEFAULT_MAX_RESOURCE_BYTES;
|
|
178
|
-
if (!Number.isSafeInteger(maxBytes) || maxBytes <= 0) throw new BackendFederationRemoteEntryError('invalid_verification', '[Module Federation] Backend federation resource maxBytes must be a positive safe integer.');
|
|
174
|
+
async function acquireBackendFederationResource(requestedUrl, options, policy) {
|
|
175
|
+
const { label, maxBytes, exactByteLength } = policy;
|
|
179
176
|
const timeoutMs = options.timeoutMs ?? DEFAULT_ENTRY_TIMEOUT_MS;
|
|
180
|
-
if (!Number.isSafeInteger(timeoutMs) || timeoutMs < 0) throw new BackendFederationRemoteEntryError('invalid_verification', '[Module Federation]
|
|
177
|
+
if (!Number.isSafeInteger(maxBytes) || maxBytes <= 0 || !Number.isSafeInteger(timeoutMs) || timeoutMs < 0) throw new BackendFederationRemoteEntryError('invalid_verification', '[Module Federation] Resource maxBytes must be a positive safe integer and timeoutMs a non-negative safe integer.');
|
|
178
|
+
if (void 0 !== exactByteLength && exactByteLength > maxBytes) throw new BackendFederationRemoteEntryError('entry_too_large', `[Module Federation] ${label} exceeds the ${maxBytes}-byte policy limit.`);
|
|
181
179
|
const controller = new AbortController();
|
|
182
180
|
let timedOut = false;
|
|
183
|
-
|
|
184
|
-
const onCallerAbort = ()=>{
|
|
185
|
-
callerAborted = true;
|
|
186
|
-
controller.abort(options.signal?.reason);
|
|
187
|
-
};
|
|
181
|
+
const onCallerAbort = ()=>controller.abort(options.signal?.reason);
|
|
188
182
|
if (options.signal?.aborted) onCallerAbort();
|
|
189
183
|
else options.signal?.addEventListener('abort', onCallerAbort, {
|
|
190
184
|
once: true
|
|
191
185
|
});
|
|
192
186
|
const timeout = timeoutMs > 0 ? setTimeout(()=>{
|
|
193
187
|
timedOut = true;
|
|
194
|
-
controller.abort(new Error(
|
|
188
|
+
controller.abort(new Error(`${label} timed out after ${timeoutMs}ms`));
|
|
195
189
|
}, timeoutMs) : void 0;
|
|
196
|
-
const fetchResource = options.fetch ?? globalThis.fetch;
|
|
197
190
|
let reader;
|
|
198
|
-
|
|
199
|
-
const cancellationError = (cause)=>new BackendFederationRemoteEntryError(timedOut ? 'timeout' : 'aborted', timedOut ? `[Module Federation] Backend federation ${resourceKind} timed out after ${timeoutMs}ms.` : `[Module Federation] Backend federation ${resourceKind} loading was aborted.`, {
|
|
200
|
-
cause
|
|
201
|
-
});
|
|
191
|
+
let response;
|
|
202
192
|
try {
|
|
203
|
-
|
|
204
|
-
if (
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
if (!response.ok) throw new BackendFederationRemoteEntryError('fetch_failed', `[Module Federation] Backend federation ${resourceKind} returned HTTP ${response.status}.`);
|
|
219
|
-
if (response.url) {
|
|
220
|
-
const responseUrl = canonicalEntryUrl(response.url);
|
|
221
|
-
if (responseUrl.href !== requestedUrl.href) throw new BackendFederationRemoteEntryError('redirect_mismatch', `[Module Federation] Backend federation ${resourceKind} redirected outside its trusted URL.`, {
|
|
222
|
-
details: {
|
|
223
|
-
expected: redactBackendFederationUrl(requestedUrl.href),
|
|
224
|
-
received: redactBackendFederationUrl(responseUrl.href)
|
|
225
|
-
}
|
|
226
|
-
});
|
|
227
|
-
}
|
|
193
|
+
const fetchResource = options.fetch ?? globalThis.fetch;
|
|
194
|
+
if (controller.signal.aborted) throw controller.signal.reason;
|
|
195
|
+
if ('function' != typeof fetchResource) throw new Error('Loading requires fetch.');
|
|
196
|
+
response = await readWithAbort(fetchResource(requestedUrl.href, {
|
|
197
|
+
cache: 'no-store',
|
|
198
|
+
redirect: 'error',
|
|
199
|
+
signal: controller.signal
|
|
200
|
+
}), controller.signal);
|
|
201
|
+
if (!response.ok) throw new BackendFederationRemoteEntryError('fetch_failed', `[Module Federation] ${label} returned HTTP ${response.status}.`);
|
|
202
|
+
if (response.url && canonicalEntryUrl(response.url).href !== requestedUrl.href) throw new BackendFederationRemoteEntryError('redirect_mismatch', `[Module Federation] ${label} redirected outside its trusted URL.`, {
|
|
203
|
+
details: {
|
|
204
|
+
expected: redactBackendFederationUrl(requestedUrl.href),
|
|
205
|
+
received: redactBackendFederationUrl(response.url)
|
|
206
|
+
}
|
|
207
|
+
});
|
|
228
208
|
const contentLength = parseContentLength(response.headers?.get('content-length') ?? null);
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
throw new BackendFederationRemoteEntryError('entry_too_large', `[Module Federation] Backend federation ${resourceKind} declares ${contentLength} bytes, exceeding its ${maxBytes}-byte policy limit.`);
|
|
233
|
-
}
|
|
209
|
+
const byteLimit = exactByteLength ?? maxBytes;
|
|
210
|
+
if (void 0 !== contentLength && contentLength > maxBytes) throw new BackendFederationRemoteEntryError('entry_too_large', `[Module Federation] ${label} declares ${contentLength} bytes, exceeding its ${maxBytes}-byte policy limit.`);
|
|
211
|
+
const exactBytes = void 0 === exactByteLength ? void 0 : new Uint8Array(exactByteLength);
|
|
234
212
|
const chunks = [];
|
|
235
213
|
let byteLength = 0;
|
|
214
|
+
const append = (chunk)=>{
|
|
215
|
+
if (byteLength + chunk.byteLength > byteLimit) throw new BackendFederationRemoteEntryError('entry_too_large', `[Module Federation] ${label} exceeded its ${byteLimit}-byte limit while streaming.`);
|
|
216
|
+
if (exactBytes) exactBytes.set(chunk, byteLength);
|
|
217
|
+
else chunks.push(chunk);
|
|
218
|
+
byteLength += chunk.byteLength;
|
|
219
|
+
};
|
|
236
220
|
if (response.body) {
|
|
237
221
|
reader = response.body.getReader();
|
|
238
222
|
while(true){
|
|
239
223
|
const result = await readWithAbort(reader.read(), controller.signal);
|
|
240
224
|
if (result.done) break;
|
|
241
|
-
|
|
242
|
-
if (byteLength > maxBytes) throw new BackendFederationRemoteEntryError('entry_too_large', `[Module Federation] Backend federation ${resourceKind} exceeded its ${maxBytes}-byte limit while streaming.`);
|
|
243
|
-
chunks.push(result.value);
|
|
225
|
+
append(result.value);
|
|
244
226
|
}
|
|
245
|
-
} else if (response.text)
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
227
|
+
} else if (void 0 === exactByteLength && response.text) append(new TextEncoder().encode(await readWithAbort(response.text(), controller.signal)));
|
|
228
|
+
if (void 0 !== exactByteLength && byteLength !== exactByteLength) throw new BackendFederationRemoteEntryError('byte_length_mismatch', `[Module Federation] ${label} byte length mismatch.`, {
|
|
229
|
+
details: {
|
|
230
|
+
expected: exactByteLength,
|
|
231
|
+
received: byteLength
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
const bytes = exactBytes ?? new Uint8Array(byteLength);
|
|
252
235
|
let offset = 0;
|
|
253
236
|
for (const chunk of chunks){
|
|
254
237
|
bytes.set(chunk, offset);
|
|
255
238
|
offset += chunk.byteLength;
|
|
256
239
|
}
|
|
257
|
-
if (controller.signal.aborted) throw
|
|
240
|
+
if (controller.signal.aborted) throw controller.signal.reason;
|
|
241
|
+
if (policy.verify) await readWithAbort(policy.verify(bytes, controller.signal), controller.signal);
|
|
258
242
|
return bytes;
|
|
259
243
|
} catch (cause) {
|
|
260
|
-
|
|
261
|
-
|
|
244
|
+
const cancelled = controller.signal.aborted;
|
|
245
|
+
controller.abort(cause);
|
|
246
|
+
if (reader) reader.cancel(cause).catch(()=>void 0);
|
|
247
|
+
else if (response?.body) response.body.cancel(cause).catch(()=>void 0);
|
|
248
|
+
if (cancelled) throw new BackendFederationRemoteEntryError(timedOut ? 'timeout' : 'aborted', timedOut ? `[Module Federation] ${label} timed out after ${timeoutMs}ms.` : `[Module Federation] ${label} loading was aborted.`, {
|
|
249
|
+
cause
|
|
250
|
+
});
|
|
262
251
|
if (cause instanceof BackendFederationRemoteEntryError) throw cause;
|
|
263
|
-
|
|
264
|
-
throw new BackendFederationRemoteEntryError('fetch_failed', `[Module Federation] Backend federation ${resourceKind} loading failed.`, {
|
|
252
|
+
throw new BackendFederationRemoteEntryError('fetch_failed', `[Module Federation] ${label} loading failed.`, {
|
|
265
253
|
cause
|
|
266
254
|
});
|
|
267
255
|
} finally{
|
|
@@ -269,6 +257,14 @@ async function loadBoundedBackendFederationResource(resourceUrl, options = {}) {
|
|
|
269
257
|
options.signal?.removeEventListener('abort', onCallerAbort);
|
|
270
258
|
}
|
|
271
259
|
}
|
|
260
|
+
async function loadBoundedBackendFederationResource(resourceUrl, options = {}) {
|
|
261
|
+
const requestedUrl = canonicalEntryUrl(resourceUrl);
|
|
262
|
+
assertAllowedEntryUrl(requestedUrl, true === options.allowInsecureHttp);
|
|
263
|
+
return acquireBackendFederationResource(requestedUrl, options, {
|
|
264
|
+
label: `Backend federation ${options.kind ?? 'manifest'}`,
|
|
265
|
+
maxBytes: options.maxBytes ?? DEFAULT_MAX_RESOURCE_BYTES
|
|
266
|
+
});
|
|
267
|
+
}
|
|
272
268
|
const evaluateBackendFederationCommonJsEntry = (remote, bytes, evaluator)=>{
|
|
273
269
|
let source;
|
|
274
270
|
try {
|
|
@@ -292,100 +288,25 @@ const evaluateBackendFederationCommonJsEntry = (remote, bytes, evaluator)=>{
|
|
|
292
288
|
async function loadVerifiedBackendFederationEntry(options) {
|
|
293
289
|
const verification = resolveTrustedVerification(options.verification, options.expected ?? {});
|
|
294
290
|
const requestedUrl = assertVerification(options.remote, verification, options.expected ?? {}, true === options.allowInsecureHttp);
|
|
295
|
-
const
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
const onCallerAbort = ()=>{
|
|
304
|
-
callerAborted = true;
|
|
305
|
-
controller.abort(options.signal?.reason);
|
|
306
|
-
};
|
|
307
|
-
if (options.signal?.aborted) onCallerAbort();
|
|
308
|
-
else options.signal?.addEventListener('abort', onCallerAbort, {
|
|
309
|
-
once: true
|
|
310
|
-
});
|
|
311
|
-
const timeout = timeoutMs > 0 ? setTimeout(()=>{
|
|
312
|
-
timedOut = true;
|
|
313
|
-
controller.abort(new Error(`Backend remote entry timed out after ${timeoutMs}ms`));
|
|
314
|
-
}, timeoutMs) : void 0;
|
|
315
|
-
const fetchEntry = options.fetch ?? globalThis.fetch;
|
|
316
|
-
let reader;
|
|
317
|
-
const cancellationError = (cause)=>new BackendFederationRemoteEntryError(timedOut ? 'timeout' : 'aborted', timedOut ? `[Module Federation] Backend remote ${options.remote.name} timed out after ${timeoutMs}ms.` : `[Module Federation] Backend remote ${options.remote.name} loading was aborted.`, {
|
|
318
|
-
cause
|
|
319
|
-
});
|
|
320
|
-
try {
|
|
321
|
-
if (controller.signal.aborted) throw cancellationError(controller.signal.reason);
|
|
322
|
-
if ('function' != typeof fetchEntry) throw new BackendFederationRemoteEntryError('fetch_failed', '[Module Federation] Backend remote entry loading requires fetch.');
|
|
323
|
-
let response;
|
|
324
|
-
try {
|
|
325
|
-
response = await readWithAbort(fetchEntry(requestedUrl.href, {
|
|
326
|
-
cache: 'no-store',
|
|
327
|
-
redirect: 'error',
|
|
328
|
-
signal: controller.signal
|
|
329
|
-
}), controller.signal);
|
|
330
|
-
} catch (cause) {
|
|
331
|
-
if (controller.signal.aborted) throw cancellationError(cause);
|
|
332
|
-
throw new BackendFederationRemoteEntryError('fetch_failed', `[Module Federation] Failed to fetch backend remote ${options.remote.name}.`, {
|
|
333
|
-
cause
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
if (!response.ok) throw new BackendFederationRemoteEntryError('fetch_failed', `[Module Federation] Backend remote ${options.remote.name} returned HTTP ${response.status}.`);
|
|
337
|
-
if (response.url) {
|
|
338
|
-
const responseUrl = canonicalEntryUrl(response.url);
|
|
339
|
-
if (responseUrl.href !== requestedUrl.href) throw new BackendFederationRemoteEntryError('redirect_mismatch', `[Module Federation] Backend remote ${options.remote.name} redirected outside its verified entry URL.`, {
|
|
291
|
+
const bytes = await acquireBackendFederationResource(requestedUrl, options, {
|
|
292
|
+
label: `Backend remote ${options.remote.name}`,
|
|
293
|
+
maxBytes: options.maxBytes ?? DEFAULT_MAX_ENTRY_BYTES,
|
|
294
|
+
exactByteLength: verification.byteLength,
|
|
295
|
+
async verify (bytes, signal) {
|
|
296
|
+
const actualDigest = await sha256Hex(bytes, signal);
|
|
297
|
+
if (signal.aborted) throw signal.reason;
|
|
298
|
+
if (actualDigest !== verification.sha256) throw new BackendFederationRemoteEntryError('integrity_mismatch', `[Module Federation] Backend remote ${options.remote.name} SHA-256 mismatch.`, {
|
|
340
299
|
details: {
|
|
341
|
-
expected:
|
|
342
|
-
received:
|
|
300
|
+
expected: verification.sha256,
|
|
301
|
+
received: actualDigest
|
|
343
302
|
}
|
|
344
303
|
});
|
|
345
304
|
}
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
throw new BackendFederationRemoteEntryError('entry_too_large', `[Module Federation] Backend remote ${options.remote.name} declares ${contentLength} bytes, exceeding its ${maxBytes}-byte policy limit.`);
|
|
352
|
-
}
|
|
353
|
-
reader = response.body?.getReader();
|
|
354
|
-
const bytes = new Uint8Array(verification.byteLength);
|
|
355
|
-
let byteLength = 0;
|
|
356
|
-
if (reader) while(true){
|
|
357
|
-
const result = await readWithAbort(reader.read(), controller.signal);
|
|
358
|
-
if (result.done) break;
|
|
359
|
-
const nextByteLength = byteLength + result.value.byteLength;
|
|
360
|
-
if (nextByteLength > byteLimit) throw new BackendFederationRemoteEntryError('entry_too_large', `[Module Federation] Backend remote ${options.remote.name} exceeded its ${byteLimit}-byte limit while streaming.`);
|
|
361
|
-
bytes.set(result.value, byteLength);
|
|
362
|
-
byteLength = nextByteLength;
|
|
363
|
-
}
|
|
364
|
-
if (byteLength !== verification.byteLength) throw new BackendFederationRemoteEntryError('byte_length_mismatch', `[Module Federation] Backend remote ${options.remote.name} byte length mismatch.`, {
|
|
365
|
-
details: {
|
|
366
|
-
expected: verification.byteLength,
|
|
367
|
-
received: byteLength
|
|
368
|
-
}
|
|
369
|
-
});
|
|
370
|
-
const actualDigest = await sha256Hex(bytes, controller.signal);
|
|
371
|
-
if (controller.signal.aborted) throw cancellationError(controller.signal.reason);
|
|
372
|
-
if (actualDigest !== verification.sha256) throw new BackendFederationRemoteEntryError('integrity_mismatch', `[Module Federation] Backend remote ${options.remote.name} SHA-256 mismatch.`, {
|
|
373
|
-
details: {
|
|
374
|
-
expected: verification.sha256,
|
|
375
|
-
received: actualDigest
|
|
376
|
-
}
|
|
377
|
-
});
|
|
378
|
-
return evaluateBackendFederationCommonJsEntry(options.remote, bytes, options.evaluateCommonJs);
|
|
379
|
-
} catch (cause) {
|
|
380
|
-
if (!controller.signal.aborted) controller.abort(cause);
|
|
381
|
-
await reader?.cancel(cause).catch(()=>void 0);
|
|
382
|
-
if (cause instanceof BackendFederationRemoteEntryError && !('aborted' === cause.code && timedOut)) throw cause;
|
|
383
|
-
if (controller.signal.aborted && (timedOut || callerAborted)) throw cancellationError(cause);
|
|
384
|
-
throw cause;
|
|
385
|
-
} finally{
|
|
386
|
-
if (timeout) clearTimeout(timeout);
|
|
387
|
-
options.signal?.removeEventListener('abort', onCallerAbort);
|
|
388
|
-
}
|
|
305
|
+
});
|
|
306
|
+
if (options.signal?.aborted) throw new BackendFederationRemoteEntryError('aborted', `[Module Federation] Backend remote ${options.remote.name} loading was aborted.`, {
|
|
307
|
+
cause: options.signal.reason
|
|
308
|
+
});
|
|
309
|
+
return evaluateBackendFederationCommonJsEntry(options.remote, bytes, options.evaluateCommonJs);
|
|
389
310
|
}
|
|
390
311
|
__webpack_require__.d(__webpack_exports__, {
|
|
391
312
|
BackendFederationRemoteEntryError: ()=>BackendFederationRemoteEntryError,
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
3
|
"./crossProjectPolicy" (module) {
|
|
4
4
|
module.exports = require("./crossProjectPolicy.js");
|
|
5
|
+
},
|
|
6
|
+
"./operationIdentity" (module) {
|
|
7
|
+
module.exports = require("./operationIdentity.js");
|
|
5
8
|
}
|
|
6
9
|
};
|
|
7
10
|
var __webpack_module_cache__ = {};
|
|
@@ -55,6 +58,10 @@ var __webpack_exports__ = {};
|
|
|
55
58
|
var __rspack_reexport = {};
|
|
56
59
|
for(const __rspack_import_key in _crossProjectPolicy__rspack_import_0)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_crossProjectPolicy__rspack_import_0[__rspack_import_key];
|
|
57
60
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
61
|
+
var _operationIdentity__rspack_import_1 = __webpack_require__("./operationIdentity");
|
|
62
|
+
var __rspack_reexport = {};
|
|
63
|
+
for(const __rspack_import_key in _operationIdentity__rspack_import_1)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_operationIdentity__rspack_import_1[__rspack_import_key];
|
|
64
|
+
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
58
65
|
})();
|
|
59
66
|
for(var __rspack_i in __webpack_exports__)exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
60
67
|
Object.defineProperty(exports, '__esModule', {
|
|
@@ -3,6 +3,9 @@ var __webpack_modules__ = {
|
|
|
3
3
|
"./operationContracts" (module) {
|
|
4
4
|
module.exports = require("./operationContracts.js");
|
|
5
5
|
},
|
|
6
|
+
"./producer" (module) {
|
|
7
|
+
module.exports = require("./producer.js");
|
|
8
|
+
},
|
|
6
9
|
"./resolveCrossProjectPolicy" (module) {
|
|
7
10
|
module.exports = require("./resolveCrossProjectPolicy.js");
|
|
8
11
|
}
|
|
@@ -56,14 +59,27 @@ var __webpack_exports__ = {};
|
|
|
56
59
|
__webpack_require__.r(__webpack_exports__);
|
|
57
60
|
var _operationContracts__rspack_import_0 = __webpack_require__("./operationContracts");
|
|
58
61
|
var __rspack_reexport = {};
|
|
59
|
-
for(const __rspack_import_key in _operationContracts__rspack_import_0)if (
|
|
62
|
+
for(const __rspack_import_key in _operationContracts__rspack_import_0)if ([
|
|
63
|
+
"default",
|
|
64
|
+
"resolveOperationProducer"
|
|
65
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_operationContracts__rspack_import_0[__rspack_import_key];
|
|
60
66
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
61
|
-
var
|
|
67
|
+
var _producer__rspack_import_1 = __webpack_require__("./producer");
|
|
68
|
+
var _resolveCrossProjectPolicy__rspack_import_2 = __webpack_require__("./resolveCrossProjectPolicy");
|
|
62
69
|
var __rspack_reexport = {};
|
|
63
|
-
for(const __rspack_import_key in
|
|
70
|
+
for(const __rspack_import_key in _resolveCrossProjectPolicy__rspack_import_2)if ([
|
|
71
|
+
"default",
|
|
72
|
+
"resolveOperationProducer"
|
|
73
|
+
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_resolveCrossProjectPolicy__rspack_import_2[__rspack_import_key];
|
|
64
74
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
75
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
76
|
+
resolveOperationProducer: ()=>_producer__rspack_import_1.resolveOperationProducer
|
|
77
|
+
});
|
|
65
78
|
})();
|
|
66
|
-
|
|
79
|
+
exports.resolveOperationProducer = __webpack_exports__.resolveOperationProducer;
|
|
80
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
81
|
+
"resolveOperationProducer"
|
|
82
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
67
83
|
Object.defineProperty(exports, '__esModule', {
|
|
68
84
|
value: true
|
|
69
85
|
});
|