react-router-dom-v5-compat 6.24.0 → 6.24.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 +9 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/react-router-dom/index.d.ts +1 -1
- package/dist/umd/react-router-dom-v5-compat.development.js +2 -2
- 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 +3 -3
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* React Router DOM v5 Compat v6.24.
|
|
2
|
+
* React Router DOM v5 Compat v6.24.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -1019,7 +1019,7 @@ function useLinkClickHandler(to, _temp) {
|
|
|
1019
1019
|
* URLSearchParams interface.
|
|
1020
1020
|
*/
|
|
1021
1021
|
function useSearchParams(defaultInit) {
|
|
1022
|
-
process.env.NODE_ENV !== "production" ? UNSAFE_warning(typeof URLSearchParams !== "undefined", "You cannot use the `useSearchParams` hook in a browser that does not " + "support the URLSearchParams API. If you need to support Internet " + "Explorer 11, we recommend you load a polyfill such as " + "https://github.com/ungap/url-search-params
|
|
1022
|
+
process.env.NODE_ENV !== "production" ? UNSAFE_warning(typeof URLSearchParams !== "undefined", "You cannot use the `useSearchParams` hook in a browser that does not " + "support the URLSearchParams API. If you need to support Internet " + "Explorer 11, we recommend you load a polyfill such as " + "https://github.com/ungap/url-search-params.") : void 0;
|
|
1023
1023
|
let defaultSearchParamsRef = React.useRef(createSearchParams(defaultInit));
|
|
1024
1024
|
let hasSetSearchParamsRef = React.useRef(false);
|
|
1025
1025
|
let location = useLocation();
|