react-router-prompt
Advanced tools
Comparing version 0.5.4 to 0.5.5-beta-1
import Oe, { useEffect as ur, useCallback as H } from "react"; | ||
import { unstable_useBlocker as sr, useBeforeUnload as fr } from "react-router-dom"; | ||
import { useBlocker as sr, useBeforeUnload as fr } from "react-router-dom"; | ||
var X = {}, lr = { | ||
@@ -4,0 +4,0 @@ get exports() { |
{ | ||
"name": "react-router-prompt", | ||
"version": "0.5.4", | ||
"version": "0.5.5-beta-1", | ||
"description": "React Router Navigation Prompt for v6", | ||
@@ -62,3 +62,3 @@ "type": "module", | ||
"react-dom": "^18.2.0", | ||
"react-router-dom": "^6.8.1", | ||
"react-router-dom": "^6.19.0", | ||
"size-limit": "^8.1.2", | ||
@@ -75,3 +75,3 @@ "tslib": "^2.5.0", | ||
"react-dom": ">=16.8", | ||
"react-router-dom": ">=6.7" | ||
"react-router-dom": ">=6.19" | ||
}, | ||
@@ -78,0 +78,0 @@ "size-limit": [ |
@@ -20,3 +20,3 @@ | ||
**React-router-dom >= 6.7** and can be used only with [**data routers**](https://reactrouter.com/en/6.8.1/routers/picking-a-router#using-v64-data-apis) | ||
**React-router-dom >= 6.19** and can be used only with [**data routers**](https://reactrouter.com/en/6.8.1/routers/picking-a-router#using-v64-data-apis) | ||
@@ -73,3 +73,3 @@ ```bash | ||
This version works with react-router-dom >=v6.7 | ||
This version works with react-router-dom >=v6.19 | ||
Should be used within [data routers](https://reactrouter.com/en/6.8.1/routers/picking-a-router#using-v64-data-apis) | ||
@@ -79,2 +79,4 @@ | ||
For react-router support `(v6.3.x - v6.18.x)` please install v0.5.4 | ||
_Skipped support in middle due to breaking changes on react-router apis_ | ||
@@ -81,0 +83,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
62128
110