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

connected-react-router

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connected-react-router - npm Package Compare versions

Comparing version 6.3.1 to 6.3.2

4

esm/ConnectedRouter.js

@@ -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

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