Socket
Socket
Sign inDemoInstall

react-router-navigation-prompt

Package Overview
Dependencies
18
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.8 to 1.8.9

es/index.js.flow

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Changelog

## [1.8.9] - 2019-10-03
### Changed
- Made Flow easier to consume
## [1.8.8] - 2019-09-28

@@ -9,0 +13,0 @@ ### Changed

3

package.json
{
"name": "react-router-navigation-prompt",
"version": "1.8.8",
"version": "1.8.9",
"description": "A replacement component for the react-router `<Prompt/>`. Allows for more flexible dialogs.",

@@ -54,2 +54,3 @@ "scripts": {

"concurrently": "^3.5.1",
"copy-webpack-plugin": "^4.6.0",
"eslint": "^4.19.1",

@@ -56,0 +57,0 @@ "eslint-config-google": "^0.9.1",

const path = require('path');
const CopyPlugin = require('copy-webpack-plugin');

@@ -10,2 +11,13 @@ module.exports = {

},
plugins: [
new CopyPlugin([
// copy the main source file to the `es/index.js.flow` to add
// a way to consume flow types for the end users
{
from: 'src/index.js',
to: 'index.js.flow',
toType: 'file'
}
]),
],
module: {

@@ -12,0 +24,0 @@ rules: [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc