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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # `react-router-dom-v5-compat`
2
2
 
3
+ ## 6.24.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - `react-router-dom@6.24.1`
9
+ - `@remix-run/router@1.17.1`
10
+ - `react-router@6.24.1`
11
+
3
12
  ## 6.24.0
4
13
 
5
14
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v5 Compat v6.24.0
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\n\n" + "If you're unsure how to load polyfills, we recommend you check out " + "https://polyfill.io/v3/ which provides some recommendations about how " + "to load polyfills only for users that need them, instead of for every " + "user.") : void 0;
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();