react-router 0.0.0-experimental-4cf800728 → 0.0.0-experimental-573acd4d4
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-Y7DN5ZOM.mjs → chunk-6DVU7PCU.mjs} +2 -2
- package/dist/development/dom-export.js +1 -1
- package/dist/development/dom-export.mjs +2 -2
- package/dist/development/index.js +2 -2
- package/dist/development/index.mjs +2 -2
- package/dist/development/lib/types/route-module.js +1 -1
- package/dist/development/lib/types/route-module.mjs +1 -1
- package/dist/development/server.d.mts +1 -1
- package/dist/development/server.d.ts +1 -1
- package/dist/development/server.js +2 -4
- package/dist/development/server.mjs +2 -4
- package/dist/production/{chunk-Y4D2QFAE.mjs → chunk-ZHQUHC3T.mjs} +2 -2
- package/dist/production/dom-export.js +1 -1
- package/dist/production/dom-export.mjs +2 -2
- package/dist/production/index.js +2 -2
- package/dist/production/index.mjs +2 -2
- package/dist/production/lib/types/route-module.js +1 -1
- package/dist/production/lib/types/route-module.mjs +1 -1
- package/dist/production/server.d.mts +1 -1
- package/dist/production/server.d.ts +1 -1
- package/dist/production/server.js +2 -4
- package/dist/production/server.mjs +2 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-573acd4d4
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -7982,7 +7982,7 @@ function mergeRefs(...refs) {
|
|
|
7982
7982
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
7983
7983
|
try {
|
|
7984
7984
|
if (isBrowser) {
|
|
7985
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
7985
|
+
window.__reactRouterVersion = "0.0.0-experimental-573acd4d4";
|
|
7986
7986
|
}
|
|
7987
7987
|
} catch (e) {
|
|
7988
7988
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-573acd4d4
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
invariant,
|
|
26
26
|
mapRouteProperties,
|
|
27
27
|
useFogOFWarDiscovery
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6DVU7PCU.mjs";
|
|
29
29
|
|
|
30
30
|
// lib/dom-export/dom-router-provider.tsx
|
|
31
31
|
import * as React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-573acd4d4
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -8139,7 +8139,7 @@ function mergeRefs(...refs) {
|
|
|
8139
8139
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
8140
8140
|
try {
|
|
8141
8141
|
if (isBrowser) {
|
|
8142
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
8142
|
+
window.__reactRouterVersion = "0.0.0-experimental-573acd4d4";
|
|
8143
8143
|
}
|
|
8144
8144
|
} catch (e) {
|
|
8145
8145
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-573acd4d4
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
useSearchParams,
|
|
133
133
|
useSubmit,
|
|
134
134
|
useViewTransitionState
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-6DVU7PCU.mjs";
|
|
136
136
|
export {
|
|
137
137
|
Await,
|
|
138
138
|
BrowserRouter,
|
|
@@ -1536,4 +1536,4 @@ declare function matchServerRequest({ decodeCallServer, decodeFormAction, onErro
|
|
|
1536
1536
|
}): Promise<ServerMatch>;
|
|
1537
1537
|
declare function isReactServerRequest(url: URL): boolean;
|
|
1538
1538
|
|
|
1539
|
-
export { type DecodeCallServerFunction, type ServerManifestPayload, type ServerMatch, type ServerPayload, type ServerRenderPayload, type RenderedRoute as ServerRouteManifest, type ServerRouteMatch, type ServerRouteObject, createStaticHandler, data, isReactServerRequest, matchRoutes, matchServerRequest, redirect, redirectDocument, replace };
|
|
1539
|
+
export { type DecodeCallServerFunction, type DecodeFormActionFunction, type ServerManifestPayload, type ServerMatch, type ServerPayload, type ServerRenderPayload, type RenderedRoute as ServerRouteManifest, type ServerRouteMatch, type ServerRouteObject, createStaticHandler, data, isReactServerRequest, matchRoutes, matchServerRequest, redirect, redirectDocument, replace };
|
|
@@ -1536,4 +1536,4 @@ declare function matchServerRequest({ decodeCallServer, decodeFormAction, onErro
|
|
|
1536
1536
|
}): Promise<ServerMatch>;
|
|
1537
1537
|
declare function isReactServerRequest(url: URL): boolean;
|
|
1538
1538
|
|
|
1539
|
-
export { type DecodeCallServerFunction, type ServerManifestPayload, type ServerMatch, type ServerPayload, type ServerRenderPayload, type RenderedRoute as ServerRouteManifest, type ServerRouteMatch, type ServerRouteObject, createStaticHandler, data, isReactServerRequest, matchRoutes, matchServerRequest, redirect, redirectDocument, replace };
|
|
1539
|
+
export { type DecodeCallServerFunction, type DecodeFormActionFunction, type ServerManifestPayload, type ServerMatch, type ServerPayload, type ServerRenderPayload, type RenderedRoute as ServerRouteManifest, type ServerRouteMatch, type ServerRouteObject, createStaticHandler, data, isReactServerRequest, matchRoutes, matchServerRequest, redirect, redirectDocument, replace };
|
|
@@ -23,7 +23,7 @@ function _interopNamespace(e) {
|
|
|
23
23
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
|
-
* react-router v0.0.0-experimental-
|
|
26
|
+
* react-router v0.0.0-experimental-573acd4d4
|
|
27
27
|
*
|
|
28
28
|
* Copyright (c) Remix Software Inc.
|
|
29
29
|
*
|
|
@@ -2056,9 +2056,7 @@ async function matchServerRequest({
|
|
|
2056
2056
|
}
|
|
2057
2057
|
if (request.method === "POST") {
|
|
2058
2058
|
const formData = await request.formData();
|
|
2059
|
-
if (Array.from(formData.
|
|
2060
|
-
(value) => typeof value === "string" && value.startsWith("$ACTION_ID_")
|
|
2061
|
-
)) {
|
|
2059
|
+
if (Array.from(formData.keys()).some((key) => key.startsWith("$ACTION_ID_"))) {
|
|
2062
2060
|
if (!decodeFormAction) {
|
|
2063
2061
|
throw new Error(
|
|
2064
2062
|
"Cannot handle form actions without a decodeFormAction function"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* react-router v0.0.0-experimental-
|
|
4
|
+
* react-router v0.0.0-experimental-573acd4d4
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) Remix Software Inc.
|
|
7
7
|
*
|
|
@@ -2034,9 +2034,7 @@ async function matchServerRequest({
|
|
|
2034
2034
|
}
|
|
2035
2035
|
if (request.method === "POST") {
|
|
2036
2036
|
const formData = await request.formData();
|
|
2037
|
-
if (Array.from(formData.
|
|
2038
|
-
(value) => typeof value === "string" && value.startsWith("$ACTION_ID_")
|
|
2039
|
-
)) {
|
|
2037
|
+
if (Array.from(formData.keys()).some((key) => key.startsWith("$ACTION_ID_"))) {
|
|
2040
2038
|
if (!decodeFormAction) {
|
|
2041
2039
|
throw new Error(
|
|
2042
2040
|
"Cannot handle form actions without a decodeFormAction function"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-573acd4d4
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -7982,7 +7982,7 @@ function mergeRefs(...refs) {
|
|
|
7982
7982
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
7983
7983
|
try {
|
|
7984
7984
|
if (isBrowser) {
|
|
7985
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
7985
|
+
window.__reactRouterVersion = "0.0.0-experimental-573acd4d4";
|
|
7986
7986
|
}
|
|
7987
7987
|
} catch (e) {
|
|
7988
7988
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-573acd4d4
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
invariant,
|
|
26
26
|
mapRouteProperties,
|
|
27
27
|
useFogOFWarDiscovery
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZHQUHC3T.mjs";
|
|
29
29
|
|
|
30
30
|
// lib/dom-export/dom-router-provider.tsx
|
|
31
31
|
import * as React from "react";
|
package/dist/production/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-573acd4d4
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -8139,7 +8139,7 @@ function mergeRefs(...refs) {
|
|
|
8139
8139
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
8140
8140
|
try {
|
|
8141
8141
|
if (isBrowser) {
|
|
8142
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
8142
|
+
window.__reactRouterVersion = "0.0.0-experimental-573acd4d4";
|
|
8143
8143
|
}
|
|
8144
8144
|
} catch (e) {
|
|
8145
8145
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-573acd4d4
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
useSearchParams,
|
|
133
133
|
useSubmit,
|
|
134
134
|
useViewTransitionState
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-ZHQUHC3T.mjs";
|
|
136
136
|
export {
|
|
137
137
|
Await,
|
|
138
138
|
BrowserRouter,
|
|
@@ -1536,4 +1536,4 @@ declare function matchServerRequest({ decodeCallServer, decodeFormAction, onErro
|
|
|
1536
1536
|
}): Promise<ServerMatch>;
|
|
1537
1537
|
declare function isReactServerRequest(url: URL): boolean;
|
|
1538
1538
|
|
|
1539
|
-
export { type DecodeCallServerFunction, type ServerManifestPayload, type ServerMatch, type ServerPayload, type ServerRenderPayload, type RenderedRoute as ServerRouteManifest, type ServerRouteMatch, type ServerRouteObject, createStaticHandler, data, isReactServerRequest, matchRoutes, matchServerRequest, redirect, redirectDocument, replace };
|
|
1539
|
+
export { type DecodeCallServerFunction, type DecodeFormActionFunction, type ServerManifestPayload, type ServerMatch, type ServerPayload, type ServerRenderPayload, type RenderedRoute as ServerRouteManifest, type ServerRouteMatch, type ServerRouteObject, createStaticHandler, data, isReactServerRequest, matchRoutes, matchServerRequest, redirect, redirectDocument, replace };
|
|
@@ -1536,4 +1536,4 @@ declare function matchServerRequest({ decodeCallServer, decodeFormAction, onErro
|
|
|
1536
1536
|
}): Promise<ServerMatch>;
|
|
1537
1537
|
declare function isReactServerRequest(url: URL): boolean;
|
|
1538
1538
|
|
|
1539
|
-
export { type DecodeCallServerFunction, type ServerManifestPayload, type ServerMatch, type ServerPayload, type ServerRenderPayload, type RenderedRoute as ServerRouteManifest, type ServerRouteMatch, type ServerRouteObject, createStaticHandler, data, isReactServerRequest, matchRoutes, matchServerRequest, redirect, redirectDocument, replace };
|
|
1539
|
+
export { type DecodeCallServerFunction, type DecodeFormActionFunction, type ServerManifestPayload, type ServerMatch, type ServerPayload, type ServerRenderPayload, type RenderedRoute as ServerRouteManifest, type ServerRouteMatch, type ServerRouteObject, createStaticHandler, data, isReactServerRequest, matchRoutes, matchServerRequest, redirect, redirectDocument, replace };
|
|
@@ -23,7 +23,7 @@ function _interopNamespace(e) {
|
|
|
23
23
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
|
-
* react-router v0.0.0-experimental-
|
|
26
|
+
* react-router v0.0.0-experimental-573acd4d4
|
|
27
27
|
*
|
|
28
28
|
* Copyright (c) Remix Software Inc.
|
|
29
29
|
*
|
|
@@ -2056,9 +2056,7 @@ async function matchServerRequest({
|
|
|
2056
2056
|
}
|
|
2057
2057
|
if (request.method === "POST") {
|
|
2058
2058
|
const formData = await request.formData();
|
|
2059
|
-
if (Array.from(formData.
|
|
2060
|
-
(value) => typeof value === "string" && value.startsWith("$ACTION_ID_")
|
|
2061
|
-
)) {
|
|
2059
|
+
if (Array.from(formData.keys()).some((key) => key.startsWith("$ACTION_ID_"))) {
|
|
2062
2060
|
if (!decodeFormAction) {
|
|
2063
2061
|
throw new Error(
|
|
2064
2062
|
"Cannot handle form actions without a decodeFormAction function"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* react-router v0.0.0-experimental-
|
|
4
|
+
* react-router v0.0.0-experimental-573acd4d4
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) Remix Software Inc.
|
|
7
7
|
*
|
|
@@ -2034,9 +2034,7 @@ async function matchServerRequest({
|
|
|
2034
2034
|
}
|
|
2035
2035
|
if (request.method === "POST") {
|
|
2036
2036
|
const formData = await request.formData();
|
|
2037
|
-
if (Array.from(formData.
|
|
2038
|
-
(value) => typeof value === "string" && value.startsWith("$ACTION_ID_")
|
|
2039
|
-
)) {
|
|
2037
|
+
if (Array.from(formData.keys()).some((key) => key.startsWith("$ACTION_ID_"))) {
|
|
2040
2038
|
if (!decodeFormAction) {
|
|
2041
2039
|
throw new Error(
|
|
2042
2040
|
"Cannot handle form actions without a decodeFormAction function"
|