react-router 0.0.0-experimental-e7eb25a7b → 0.0.0-experimental-c1f0daeff
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-SHQJZRZ7.mjs → chunk-QXUAVHMA.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/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/development/rsc-export.js +2 -2
- package/dist/development/rsc-export.mjs +2 -2
- package/dist/production/{chunk-VMGK4BUZ.mjs → chunk-BA2GDMEQ.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/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/production/rsc-export.js +2 -2
- package/dist/production/rsc-export.mjs +2 -2
- 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-c1f0daeff
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -8794,7 +8794,7 @@ function mergeRefs(...refs) {
|
|
|
8794
8794
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
8795
8795
|
try {
|
|
8796
8796
|
if (isBrowser) {
|
|
8797
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
8797
|
+
window.__reactRouterVersion = "0.0.0-experimental-c1f0daeff";
|
|
8798
8798
|
}
|
|
8799
8799
|
} catch (e) {
|
|
8800
8800
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-c1f0daeff
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
invariant,
|
|
27
27
|
mapRouteProperties,
|
|
28
28
|
useFogOFWarDiscovery
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QXUAVHMA.mjs";
|
|
30
30
|
|
|
31
31
|
// lib/dom-export/dom-router-provider.tsx
|
|
32
32
|
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-c1f0daeff
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -8953,7 +8953,7 @@ function mergeRefs(...refs) {
|
|
|
8953
8953
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
8954
8954
|
try {
|
|
8955
8955
|
if (isBrowser) {
|
|
8956
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
8956
|
+
window.__reactRouterVersion = "0.0.0-experimental-c1f0daeff";
|
|
8957
8957
|
}
|
|
8958
8958
|
} catch (e) {
|
|
8959
8959
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-c1f0daeff
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
withComponentProps,
|
|
135
135
|
withErrorBoundaryProps,
|
|
136
136
|
withHydrateFallbackProps
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-QXUAVHMA.mjs";
|
|
138
138
|
export {
|
|
139
139
|
Await,
|
|
140
140
|
BrowserRouter,
|
|
@@ -25,7 +25,7 @@ function _interopNamespace(e) {
|
|
|
25
25
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* react-router v0.0.0-experimental-
|
|
28
|
+
* react-router v0.0.0-experimental-c1f0daeff
|
|
29
29
|
*
|
|
30
30
|
* Copyright (c) Remix Software Inc.
|
|
31
31
|
*
|
|
@@ -2535,7 +2535,7 @@ async function processServerAction(request, decodeCallServer, decodeFormAction,
|
|
|
2535
2535
|
}
|
|
2536
2536
|
if (request.method === "POST") {
|
|
2537
2537
|
const formData = await request.formData();
|
|
2538
|
-
if (Array.from(formData.keys()).some((k) => k.startsWith("$
|
|
2538
|
+
if (Array.from(formData.keys()).some((k) => k.startsWith("$ACTION_"))) {
|
|
2539
2539
|
if (!decodeFormAction) {
|
|
2540
2540
|
throw new Error(
|
|
2541
2541
|
"Cannot handle form actions without a decodeFormAction function"
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { splitCookiesString } from 'set-cookie-parser';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* react-router v0.0.0-experimental-
|
|
6
|
+
* react-router v0.0.0-experimental-c1f0daeff
|
|
7
7
|
*
|
|
8
8
|
* Copyright (c) Remix Software Inc.
|
|
9
9
|
*
|
|
@@ -2513,7 +2513,7 @@ async function processServerAction(request, decodeCallServer, decodeFormAction,
|
|
|
2513
2513
|
}
|
|
2514
2514
|
if (request.method === "POST") {
|
|
2515
2515
|
const formData = await request.formData();
|
|
2516
|
-
if (Array.from(formData.keys()).some((k) => k.startsWith("$
|
|
2516
|
+
if (Array.from(formData.keys()).some((k) => k.startsWith("$ACTION_"))) {
|
|
2517
2517
|
if (!decodeFormAction) {
|
|
2518
2518
|
throw new Error(
|
|
2519
2519
|
"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-c1f0daeff
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -8794,7 +8794,7 @@ function mergeRefs(...refs) {
|
|
|
8794
8794
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
8795
8795
|
try {
|
|
8796
8796
|
if (isBrowser) {
|
|
8797
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
8797
|
+
window.__reactRouterVersion = "0.0.0-experimental-c1f0daeff";
|
|
8798
8798
|
}
|
|
8799
8799
|
} catch (e) {
|
|
8800
8800
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-c1f0daeff
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
invariant,
|
|
27
27
|
mapRouteProperties,
|
|
28
28
|
useFogOFWarDiscovery
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BA2GDMEQ.mjs";
|
|
30
30
|
|
|
31
31
|
// lib/dom-export/dom-router-provider.tsx
|
|
32
32
|
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-c1f0daeff
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -8953,7 +8953,7 @@ function mergeRefs(...refs) {
|
|
|
8953
8953
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
8954
8954
|
try {
|
|
8955
8955
|
if (isBrowser) {
|
|
8956
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
8956
|
+
window.__reactRouterVersion = "0.0.0-experimental-c1f0daeff";
|
|
8957
8957
|
}
|
|
8958
8958
|
} catch (e) {
|
|
8959
8959
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-c1f0daeff
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
withComponentProps,
|
|
135
135
|
withErrorBoundaryProps,
|
|
136
136
|
withHydrateFallbackProps
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-BA2GDMEQ.mjs";
|
|
138
138
|
export {
|
|
139
139
|
Await,
|
|
140
140
|
BrowserRouter,
|
|
@@ -25,7 +25,7 @@ function _interopNamespace(e) {
|
|
|
25
25
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* react-router v0.0.0-experimental-
|
|
28
|
+
* react-router v0.0.0-experimental-c1f0daeff
|
|
29
29
|
*
|
|
30
30
|
* Copyright (c) Remix Software Inc.
|
|
31
31
|
*
|
|
@@ -2535,7 +2535,7 @@ async function processServerAction(request, decodeCallServer, decodeFormAction,
|
|
|
2535
2535
|
}
|
|
2536
2536
|
if (request.method === "POST") {
|
|
2537
2537
|
const formData = await request.formData();
|
|
2538
|
-
if (Array.from(formData.keys()).some((k) => k.startsWith("$
|
|
2538
|
+
if (Array.from(formData.keys()).some((k) => k.startsWith("$ACTION_"))) {
|
|
2539
2539
|
if (!decodeFormAction) {
|
|
2540
2540
|
throw new Error(
|
|
2541
2541
|
"Cannot handle form actions without a decodeFormAction function"
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { splitCookiesString } from 'set-cookie-parser';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* react-router v0.0.0-experimental-
|
|
6
|
+
* react-router v0.0.0-experimental-c1f0daeff
|
|
7
7
|
*
|
|
8
8
|
* Copyright (c) Remix Software Inc.
|
|
9
9
|
*
|
|
@@ -2513,7 +2513,7 @@ async function processServerAction(request, decodeCallServer, decodeFormAction,
|
|
|
2513
2513
|
}
|
|
2514
2514
|
if (request.method === "POST") {
|
|
2515
2515
|
const formData = await request.formData();
|
|
2516
|
-
if (Array.from(formData.keys()).some((k) => k.startsWith("$
|
|
2516
|
+
if (Array.from(formData.keys()).some((k) => k.startsWith("$ACTION_"))) {
|
|
2517
2517
|
if (!decodeFormAction) {
|
|
2518
2518
|
throw new Error(
|
|
2519
2519
|
"Cannot handle form actions without a decodeFormAction function"
|