Update client dependencies
This commit is contained in:
parent
f20ca4038e
commit
004e7890e5
File diff suppressed because one or more lines are too long
@ -7,13 +7,12 @@ module.exports = {
|
||||
loose: true
|
||||
}
|
||||
],
|
||||
'@babel/preset-react',
|
||||
[
|
||||
'@babel/preset-stage-0',
|
||||
{
|
||||
decoratorsLegacy: true
|
||||
}
|
||||
]
|
||||
'@babel/preset-react'
|
||||
],
|
||||
plugins: [
|
||||
'@babel/plugin-proposal-class-properties',
|
||||
'@babel/plugin-proposal-export-default-from',
|
||||
'@babel/plugin-proposal-export-namespace-from'
|
||||
],
|
||||
env: {
|
||||
development: {
|
||||
|
@ -9,62 +9,64 @@
|
||||
"not op_mini all"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.0.0-beta.49",
|
||||
"@babel/plugin-transform-react-constant-elements": "^7.0.0-beta.49",
|
||||
"@babel/plugin-transform-react-inline-elements": "^7.0.0-beta.49",
|
||||
"@babel/preset-env": "^7.0.0-beta.49",
|
||||
"@babel/preset-react": "^7.0.0-beta.49",
|
||||
"@babel/preset-stage-0": "^7.0.0-beta.49",
|
||||
"autoprefixer": "^8.6.0",
|
||||
"@babel/core": "^7.0.0-rc.1",
|
||||
"@babel/plugin-proposal-class-properties": "^7.0.0-rc.1",
|
||||
"@babel/plugin-proposal-export-default-from": "^7.0.0-rc.1",
|
||||
"@babel/plugin-proposal-export-namespace-from": "^7.0.0-rc.1",
|
||||
"@babel/plugin-transform-react-constant-elements": "^7.0.0-rc.1",
|
||||
"@babel/plugin-transform-react-inline-elements": "^7.0.0-rc.1",
|
||||
"@babel/preset-env": "^7.0.0-rc.1",
|
||||
"@babel/preset-react": "^7.0.0-rc.1",
|
||||
"autoprefixer": "^9.1.0",
|
||||
"babel-core": "^7.0.0-0",
|
||||
"babel-eslint": "^8.2.2",
|
||||
"babel-jest": "^23.0.1",
|
||||
"babel-eslint": "^8.2.6",
|
||||
"babel-jest": "^23.4.2",
|
||||
"babel-loader": "^8.0.0-beta",
|
||||
"brotli": "^1.3.1",
|
||||
"css-loader": "^0.28.0",
|
||||
"cssnano": "^3.10.0",
|
||||
"css-loader": "^1.0.0",
|
||||
"cssnano": "^4.0.5",
|
||||
"del": "^3.0.0",
|
||||
"eslint": "^4.19.1",
|
||||
"eslint": "^5.3.0",
|
||||
"eslint-config-airbnb": "^16.1.0",
|
||||
"eslint-config-prettier": "^2.9.0",
|
||||
"eslint-import-resolver-webpack": "^0.10.0",
|
||||
"eslint-loader": "^2.0.0",
|
||||
"eslint-plugin-import": "^2.12.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.0.3",
|
||||
"eslint-plugin-prettier": "^2.6.0",
|
||||
"eslint-plugin-react": "^7.9.1",
|
||||
"eslint-import-resolver-webpack": "^0.10.1",
|
||||
"eslint-loader": "^2.1.0",
|
||||
"eslint-plugin-import": "^2.13.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.1.1",
|
||||
"eslint-plugin-prettier": "^2.6.2",
|
||||
"eslint-plugin-react": "^7.10.0",
|
||||
"express": "^4.14.1",
|
||||
"express-http-proxy": "^1.2.0",
|
||||
"gulp": "4.0.0",
|
||||
"gulp-util": "^3.0.8",
|
||||
"jest": "^23.1.0",
|
||||
"mini-css-extract-plugin": "^0.4.0",
|
||||
"postcss-flexbugs-fixes": "^3.3.1",
|
||||
"postcss-loader": "^2.1.3",
|
||||
"prettier": "1.13.4",
|
||||
"style-loader": "^0.21.0",
|
||||
"jest": "^23.5.0",
|
||||
"mini-css-extract-plugin": "^0.4.1",
|
||||
"postcss-flexbugs-fixes": "^4.1.0",
|
||||
"postcss-loader": "^3.0.0",
|
||||
"prettier": "1.14.2",
|
||||
"style-loader": "^0.22.1",
|
||||
"through2": "^2.0.3",
|
||||
"webpack": "^4.11.1",
|
||||
"webpack": "^4.16.5",
|
||||
"webpack-dev-middleware": "^3.0.1",
|
||||
"webpack-hot-middleware": "^2.22.2"
|
||||
"webpack-hot-middleware": "^2.22.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"autolinker": "^1.4.3",
|
||||
"autolinker": "^1.7.1",
|
||||
"backo": "^1.1.0",
|
||||
"base64-arraybuffer": "^0.1.5",
|
||||
"classnames": "^2.2.5",
|
||||
"classnames": "^2.2.6",
|
||||
"es6-promise": "^4.2.4",
|
||||
"fontfaceobserver": "^2.0.9",
|
||||
"formik": "1.0.0-beta.1",
|
||||
"formik": "1.0.2",
|
||||
"history": "4.5.1",
|
||||
"immer": "^1.3.1",
|
||||
"immer": "^1.5.0",
|
||||
"js-cookie": "^2.1.4",
|
||||
"lodash": "^4.17.10",
|
||||
"react": "^16.4.0",
|
||||
"react-dom": "^16.4.0",
|
||||
"react-hot-loader": "^4.3.0",
|
||||
"react": "^16.4.2",
|
||||
"react-dom": "^16.4.2",
|
||||
"react-hot-loader": "^4.3.4",
|
||||
"react-redux": "^5.0.2",
|
||||
"react-virtualized": "^9.19.1",
|
||||
"react-virtualized": "^9.20.1",
|
||||
"redux": "^4.0.0",
|
||||
"redux-thunk": "^2.3.0",
|
||||
"reselect": "^3.0.0",
|
||||
|
@ -53,13 +53,13 @@ button:active {
|
||||
background: #6bb758;
|
||||
}
|
||||
|
||||
input[type=checkbox] {
|
||||
input[type='checkbox'] {
|
||||
position: absolute;
|
||||
left: -99999px;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
input[type=checkbox] + span {
|
||||
input[type='checkbox'] + span {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 2px solid #777;
|
||||
@ -67,19 +67,19 @@ input[type=checkbox] + span {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
input[type=checkbox]:checked + span {
|
||||
input[type='checkbox']:checked + span {
|
||||
background: #6bb758;
|
||||
border-color: #6bb758;
|
||||
}
|
||||
|
||||
input[type=checkbox]:checked + span:before {
|
||||
content: "";
|
||||
input[type='checkbox']:checked + span:before {
|
||||
content: '';
|
||||
width: 5px;
|
||||
height: 10px;
|
||||
border-right: 3px solid #FFF;
|
||||
border-bottom: 3px solid #FFF;
|
||||
border-right: 3px solid #fff;
|
||||
border-bottom: 3px solid #fff;
|
||||
position: absolute;
|
||||
color: #FFF;
|
||||
color: #fff;
|
||||
transform: rotate(45deg);
|
||||
left: 4px;
|
||||
}
|
||||
|
@ -4,7 +4,9 @@ import TabListItem from './TabListItem';
|
||||
|
||||
export default class TabList extends PureComponent {
|
||||
handleTabClick = (server, target) => this.props.select(server, target);
|
||||
|
||||
handleConnectClick = () => this.props.push('/connect');
|
||||
|
||||
handleSettingsClick = () => this.props.push('/settings');
|
||||
|
||||
render() {
|
||||
|
@ -29,7 +29,10 @@ export default class ChatTitle extends PureComponent {
|
||||
let serverError = null;
|
||||
if (!tab.name && status.error) {
|
||||
serverError = (
|
||||
<span className="chat-topic error">Error: {status.error}</span>
|
||||
<span className="chat-topic error">
|
||||
Error:
|
||||
{status.error}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -98,9 +98,12 @@ describe('message reducer', () => {
|
||||
};
|
||||
|
||||
const thunk = broadcast('test', 'srv', ['#chan1', '#chan3']);
|
||||
thunk(action => {
|
||||
state.messages = reducer(undefined, action);
|
||||
}, () => state);
|
||||
thunk(
|
||||
action => {
|
||||
state.messages = reducer(undefined, action);
|
||||
},
|
||||
() => state
|
||||
);
|
||||
|
||||
const messages = state.messages;
|
||||
|
||||
|
@ -64,7 +64,8 @@ export function isValidNick(nick, maxLength = 30) {
|
||||
char > 125
|
||||
) {
|
||||
return false;
|
||||
} else if ((i === 0 && char < 65) || char > 125) {
|
||||
}
|
||||
if ((i === 0 && char < 65) || char > 125) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
3202
client/yarn.lock
3202
client/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user