react-router 0.0.0-experimental-e89ad3012 → 0.0.0-experimental-48de8bb91
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/development/{chunk-JJHCVRDZ.js → chunk-7ULAAIFE.js} +5 -4
- package/dist/{production/chunk-X3M2F3OK.js → development/chunk-JLJMSTGA.js} +130 -130
- package/dist/development/{chunk-3O4L5GVQ.mjs → chunk-N2RLIAVL.mjs} +6 -5
- package/dist/{production/chunk-J6PLTU3O.mjs → development/chunk-RK47KLY3.mjs} +2 -2
- package/dist/development/dom-export.js +3 -3
- package/dist/development/dom-export.mjs +3 -3
- package/dist/development/index-react-server-client.js +4 -4
- package/dist/development/index-react-server-client.mjs +2 -2
- package/dist/development/index-react-server.js +1 -1
- package/dist/development/index-react-server.mjs +1 -1
- package/dist/development/index.js +97 -97
- package/dist/development/index.mjs +3 -3
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/production/{chunk-NFNPXIQE.js → chunk-3LGQIXRU.js} +5 -4
- package/dist/{development/chunk-ROJMZUUV.js → production/chunk-4Y2E7I3Z.js} +130 -130
- package/dist/{development/chunk-XKV32KFX.mjs → production/chunk-EDQPXCTL.mjs} +2 -2
- package/dist/production/{chunk-QI3NR5VQ.mjs → chunk-UYFCS7RD.mjs} +6 -5
- package/dist/production/dom-export.js +3 -3
- package/dist/production/dom-export.mjs +3 -3
- package/dist/production/index-react-server-client.js +4 -4
- package/dist/production/index-react-server-client.mjs +2 -2
- package/dist/production/index-react-server.js +1 -1
- package/dist/production/index-react-server.mjs +1 -1
- package/dist/production/index.js +97 -97
- package/dist/production/index.mjs +3 -3
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-48de8bb91
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -4494,11 +4494,12 @@ function processLoaderData(state, matches, results, pendingActionResult, revalid
|
|
|
4494
4494
|
);
|
|
4495
4495
|
revalidatingFetchers.filter((f) => !f.matches || f.matches.some((m) => m.shouldLoad)).forEach((rf) => {
|
|
4496
4496
|
let { key, match, controller } = rf;
|
|
4497
|
-
let result = fetcherResults[key];
|
|
4498
|
-
invariant(result, "Did not find corresponding fetcher result");
|
|
4499
4497
|
if (controller && controller.signal.aborted) {
|
|
4500
4498
|
return;
|
|
4501
|
-
}
|
|
4499
|
+
}
|
|
4500
|
+
let result = fetcherResults[key];
|
|
4501
|
+
invariant(result, "Did not find corresponding fetcher result");
|
|
4502
|
+
if (isErrorResult(result)) {
|
|
4502
4503
|
let boundaryMatch = findNearestBoundary(state.matches, _optionalChain([match, 'optionalAccess', _59 => _59.route, 'access', _60 => _60.id]));
|
|
4503
4504
|
if (!(errors && errors[boundaryMatch.route.id])) {
|
|
4504
4505
|
errors = {
|