New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

redux-router5

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-router5 - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="1.1.2"></a>
## [1.1.2](https://github.com/router5/redux-router5/compare/v1.1.1...v1.1.2) (2016-01-07)
### Bug Fixes
* fix passing of navigate options to router ([a586942](https://github.com/router5/redux-router5/commit/a586942))
<a name="1.1.1"></a>

@@ -2,0 +12,0 @@ ## [1.1.1](https://github.com/router5/redux-router5/compare/v1.1.0...v1.1.1) (2015-12-17)

2

dist/commonjs/router5Middleware.js

@@ -47,3 +47,3 @@ 'use strict';

if (action.type === _actionTypes2['default'].NAVIGATE_TO) {
router.navigate(action.name, action.params, action.options);
router.navigate(action.name, action.params, action.opts);
} else if (action.type === _actionTypes2['default'].CANCEL_TRANSITION) {

@@ -50,0 +50,0 @@ router.cancel();

@@ -49,3 +49,3 @@ (function (global, factory) {

if (action.type === _actionTypes2['default'].NAVIGATE_TO) {
router.navigate(action.name, action.params, action.options);
router.navigate(action.name, action.params, action.opts);
} else if (action.type === _actionTypes2['default'].CANCEL_TRANSITION) {

@@ -52,0 +52,0 @@ router.cancel();

@@ -30,3 +30,3 @@ import actionTypes from './actionTypes';

if (action.type === actionTypes.NAVIGATE_TO) {
router.navigate(action.name, action.params, action.options);
router.navigate(action.name, action.params, action.opts);
} else if (action.type === actionTypes.CANCEL_TRANSITION) {

@@ -33,0 +33,0 @@ router.cancel();

{
"name": "redux-router5",
"version": "1.1.1",
"version": "1.1.2",
"description": "Router5 integration with redux",

@@ -5,0 +5,0 @@ "main": "dist/commonjs",

@@ -21,2 +21,6 @@ # redux-router5

### How it works
![With redux](https://github.com/router5/router5.github.io/blob/master/img/router-redux.png)
### With React

@@ -50,5 +54,3 @@

Note: `RouterProvider` comes from `react-router5`. It simply adds your router instance in your application context
which might be needed if you want to use `router.isActive()` or other instance specific methods. Instead
of using `RouterProvider`, you can use `withContext()` from [recompose](https://github.com/rackt/recompose).
Note: `RouterProvider` comes from `react-router5`. It simply adds your router instance in your application context, which is required. Alternatively`, you can use `withContext()` from [recompose](https://github.com/acdlite/recompose).

@@ -55,0 +57,0 @@

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