connected-react-router
Advanced tools
Comparing version 6.3.1 to 6.3.2
@@ -138,4 +138,4 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
return { | ||
onLocationChanged: function onLocationChanged(location, action) { | ||
return dispatch(_onLocationChanged(location, action)); | ||
onLocationChanged: function onLocationChanged(location, action, isFirstRendering) { | ||
return dispatch(_onLocationChanged(location, action, isFirstRendering)); | ||
} | ||
@@ -142,0 +142,0 @@ }; |
@@ -154,4 +154,4 @@ "use strict"; | ||
return { | ||
onLocationChanged: function onLocationChanged(location, action) { | ||
return dispatch((0, _actions.onLocationChanged)(location, action)); | ||
onLocationChanged: function onLocationChanged(location, action, isFirstRendering) { | ||
return dispatch((0, _actions.onLocationChanged)(location, action, isFirstRendering)); | ||
} | ||
@@ -158,0 +158,0 @@ }; |
{ | ||
"name": "connected-react-router", | ||
"version": "6.3.1", | ||
"version": "6.3.2", | ||
"description": "A Redux binding for React Router v4", | ||
@@ -36,2 +36,3 @@ "main": "lib/index.js", | ||
"history": "^4.7.2", | ||
"prop-types": "^15.0.0 || ^16.0.0", | ||
"react": "^16.4.0", | ||
@@ -77,3 +78,4 @@ "react-redux": "^6.0.0", | ||
"rewire": "^2.5.2", | ||
"webpack": "^2.2.1" | ||
"webpack": "^4.29.6", | ||
"webpack-cli": "^3.2.3" | ||
}, | ||
@@ -80,0 +82,0 @@ "repository": { |
@@ -1,5 +0,4 @@ | ||
var webpack = require('webpack') | ||
var config = { | ||
entry: './src/index', | ||
mode: 'production', | ||
module: { | ||
@@ -17,8 +16,7 @@ rules: [ | ||
if (process.env.NODE_ENV === 'production') { | ||
config.plugins = [ | ||
new webpack.optimize.UglifyJsPlugin({ sourceMap: true }), | ||
new webpack.LoaderOptionsPlugin({ minimize: true }) | ||
] | ||
config.optimization = { | ||
minimize: true | ||
} | ||
} | ||
module.exports = config |
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 1 instance in 1 package
466149
0
8
36
8797