Update client dependencies

This commit is contained in:
Ken-Håvard Lieng 2016-04-18 01:11:25 +02:00
parent 8b6236446f
commit 493f49a508
4 changed files with 49 additions and 42 deletions

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,8 @@
"no-console": 0,
"no-param-reassign": 0,
"react/prop-types": 0,
"react/prefer-stateless-function": 0
"react/prefer-stateless-function": 0,
"react/require-render-return": 0
},
"globals": {
"__DEV__": true

View File

@ -4,8 +4,8 @@
"description": "",
"main": "index.js",
"devDependencies": {
"babel-core": "^6.7.2",
"babel-eslint": "^6.0.0-beta.6",
"babel-core": "^6.7.6",
"babel-eslint": "^6.0.2",
"babel-loader": "^6.2.4",
"babel-plugin-react-transform": "^2.0.2",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
@ -15,10 +15,11 @@
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"css-loader": "^0.23.1",
"eslint": "^2.4.0",
"eslint-config-airbnb": "^6.1.0",
"eslint": "^2.8.0",
"eslint-config-airbnb": "^7.0.0",
"eslint-loader": "^1.3.0",
"eslint-plugin-react": "^4.2.1",
"eslint-plugin-jsx-a11y": "^0.6.2",
"eslint-plugin-react": "^5.0.0",
"express": "^4.13.4",
"express-http-proxy": "^0.6.0",
"gulp": "^3.9.1",
@ -31,10 +32,10 @@
"ify-loader": "^1.0.3",
"react-transform-catch-errors": "^1.0.2",
"react-transform-hmr": "^1.0.4",
"redbox-react": "^1.2.2",
"style-loader": "^0.13.0",
"webpack": "^1.12.14",
"webpack-dev-middleware": "^1.5.1",
"redbox-react": "^1.2.3",
"style-loader": "^0.13.1",
"webpack": "^1.13.0",
"webpack-dev-middleware": "^1.6.1",
"webpack-hot-middleware": "^2.10.0"
},
"dependencies": {
@ -42,18 +43,18 @@
"backo": "^1.1.0",
"base64-arraybuffer": "^0.1.5",
"eventemitter2": "^1.0.0",
"history": "^2.0.1",
"immutable": "^3.7.6",
"lodash": "^4.6.1",
"pure-render-decorator": "^0.2.0",
"react": "^15.0.0-rc.1",
"react-dom": "^15.0.0-rc.1",
"react-redux": "^4.4.1",
"react-router": "^2.0.1",
"react-router-redux": "^4.0.0",
"history": "^2.0.2",
"immutable": "^3.8.0",
"lodash": "^4.11.1",
"pure-render-decorator": "^1.1.0",
"react": "^15.0.1",
"react-dom": "^15.0.1",
"react-redux": "^4.4.5",
"react-router": "^2.2.4",
"react-router-redux": "^4.0.2",
"react-virtualized": "^4.10.0",
"redux": "^3.3.1",
"redux": "^3.4.0",
"redux-thunk": "^2.0.1",
"reselect": "^2.1.0"
"reselect": "^2.4.0"
}
}

View File

@ -126,8 +126,13 @@ const serverSelector = state => state.servers;
const channelSelector = state => state.channels;
const searchSelector = state => state.search;
const showUserListSelector = state => state.ui.showUserList;
const historySelector = state =>
state.input.index === -1 ? null : state.input.history.get(state.input.index);
const historySelector = state => {
if (state.input.index === -1) {
return null;
}
return state.input.history.get(state.input.index);
};
const selectedMessagesSelector = createSelector(
tabSelector,