react-router-dom-v5-compat 6.20.0 → 6.20.1
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/CHANGELOG.md +8 -0
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/umd/react-router-dom-v5-compat.development.js +5 -3
- package/dist/umd/react-router-dom-v5-compat.development.js.map +1 -1
- package/dist/umd/react-router-dom-v5-compat.production.min.js +1 -1
- package/dist/umd/react-router-dom-v5-compat.production.min.js.map +1 -1
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* React Router DOM v5 Compat v6.20.
|
|
2
|
+
* React Router DOM v5 Compat v6.20.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -1154,8 +1154,10 @@
|
|
|
1154
1154
|
relative
|
|
1155
1155
|
}));
|
|
1156
1156
|
|
|
1157
|
-
//
|
|
1158
|
-
//
|
|
1157
|
+
// Previously we set the default action to ".". The problem with this is that
|
|
1158
|
+
// `useResolvedPath(".")` excludes search params of the resolved URL. This is
|
|
1159
|
+
// the intended behavior of when "." is specifically provided as
|
|
1160
|
+
// the form action, but inconsistent w/ browsers when the action is omitted.
|
|
1159
1161
|
// https://github.com/remix-run/remix/issues/927
|
|
1160
1162
|
let location = reactRouter.useLocation();
|
|
1161
1163
|
if (action == null) {
|