🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

react-router-prompt

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router-prompt - npm Package Compare versions

Comparing version

to
0.8.0-beta-2

{
"version": "0.8.0-beta-1",
"version": "0.8.0-beta-2",
"name": "react-router-prompt",

@@ -62,3 +62,4 @@ "description": "React Router Navigation Prompt for v6",

"react": ">=16.8",
"react-dom": ">=16.8"
"react-dom": ">=16.8",
"react-router": ">=7"
},

@@ -65,0 +66,0 @@ "size-limit": [

# react-router-prompt 🚨
> A component for the react-router 6/7 `Prompt`. Allows to create more flexible dialogs.
> A component for the react-router-dom 6 / react-router 7 `Prompt`. Allows to create more flexible dialogs.

@@ -21,3 +21,3 @@ Please follow [Note section](https://github.com/sshyam-gupta/react-router-prompt#note) for more details on react-router support

**React-router-dom >= 7** or **React-router-dom >= 7** and shall be ideally used with [**data routers**](https://reactrouter.com/6.28.1/routers/picking-a-router#using-v64-data-apis)
**React-router-dom >= 7** and shall be ideally used with [**data routers**](https://reactrouter.com/6.28.1/routers/picking-a-router#using-v64-data-apis)

@@ -76,3 +76,3 @@ ```bash

- For react-router / react-router-dom support `(v7)` please install `v0.8.x`
- For react-router support `(v7)` please install `v0.8.x`

@@ -79,0 +79,0 @@ - For react-router-dom support `(v6.19.x - v6.28.1)` please install `v0.7.x`