Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-router-prompt

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router-prompt - npm Package Compare versions

Comparing version 0.5.4 to 0.5.5-beta-1

2

dist/react-router-prompt.js
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc