react-router-navigation-prompt
Advanced tools
Comparing version 1.5.2 to 1.5.3
{ | ||
"name": "react-router-navigation-prompt", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "A replacement component for the react-router `<Prompt/>`. Allows for more flexible dialogs.", | ||
@@ -34,4 +34,4 @@ "scripts": { | ||
"homepage": "https://github.com/ZacharyRSmith/react-router-navigation-prompt#readme", | ||
"dependencies": { | ||
"react": "^16.0.0", | ||
"peerDependencies": { | ||
"react": ">= 15", | ||
"react-router-dom": "^4.2.2" | ||
@@ -38,0 +38,0 @@ }, |
@@ -26,4 +26,5 @@ const path = require('path'); | ||
externals: { | ||
'react': 'commonjs react' // this line is just to use the React dependency of our parent-testing-project instead of using our own React. | ||
'react': 'commonjs react', | ||
'react-router-dom': 'commonjs react-router-dom' | ||
} | ||
}; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
0
203443
5414
+ Addedreact@18.3.1(transitive)
- Removedreact@^16.0.0
- Removedreact-router-dom@^4.2.2
- Removedreact@16.14.0(transitive)