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 4.0.0 to 4.1.0

dist/es/lib/actions.js

14

CHANGELOG.md

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

<a name="4.1.0"></a>
# [4.1.0](https://github.com/router5/redux-router5/compare/v4.0.0...v4.1.0) (2016-09-13)
### Features
* rework directory structure ([903df0a](https://github.com/router5/redux-router5/commit/903df0a))
<a name="4.0.0"></a>

@@ -14,5 +24,5 @@ # 4.0.0 (2016-09-05)

### feat
### Features
* feat: add canActivate and canDeactivate actions ([670efa5](https://github.com/router5/redux-router5/commit/670efa5))
* add canActivate and canDeactivate actions ([670efa5](https://github.com/router5/redux-router5/commit/670efa5))

@@ -19,0 +29,0 @@

12

dist/es/index.js

@@ -1,8 +0,8 @@

import router5Middleware from './router5Middleware';
import router5Reducer from './router5Reducer';
import routeNodeSelector from './routeNodeSelector';
import * as actions from './actions';
import * as actionTypes from './actionTypes';
import reduxPlugin from './reduxPlugin';
import router5Middleware from './lib/router5Middleware';
import router5Reducer from './lib/router5Reducer';
import routeNodeSelector from './lib/routeNodeSelector';
import * as actions from './lib/actions';
import * as actionTypes from './lib/actionTypes';
import reduxPlugin from './lib/reduxPlugin';
export { router5Middleware, router5Reducer, actions, actionTypes, routeNodeSelector, reduxPlugin };
{
"name": "redux-router5",
"version": "4.0.0",
"version": "4.1.0",
"description": "Router5 integration with redux",
"main": "dist/commonjs/index.js",
"main": "index.js",
"jnext:main": "dist/es/index.js",

@@ -10,7 +10,7 @@ "scripts": {

"build:es": "BABEL_ENV=es babel modules --out-dir dist/es",
"build:cjs": "babel modules --out-dir dist/commonjs",
"build:cjs": "babel modules --out-dir ./",
"build:umd": "rollup -c rollup.config.js -f umd",
"build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:umd",
"test": "mocha --compilers js:babel-core/register --recursive 'test/main.js'",
"clog": "conventional-changelog -i CHANGELOG.md -w",
"clog": "conventional-changelog -i CHANGELOG.md -p angular -w",
"lint": "eslint modules",

@@ -17,0 +17,0 @@ "release": "./scripts/release.js"

@@ -134,2 +134,4 @@ [![npm version](https://badge.fury.io/js/redux-router5.svg)](https://badge.fury.io/js/redux-router5)

__In order to use routeNodeSelector efficiently, you need react-redux >= 4.4.0 to be able to perform per component instance memoization.__
`routeNodeSelector` is a selector designed to be used on a route node and works with `connect` higher-order component from `react-redux`.

@@ -171,3 +173,17 @@

export default connect(routeNodeSelector(''))(Root);
export default connect(state => routeNodeSelector(''))(Root);
```
When using `routeNodeSelector` with other connect properties:
```js
export default connect(state => {
const selector = routeNodeSelector('');
return (state) => ({
a: state.a,
b: state.b,
...selector(state)
})
)(Root);
```
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