mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-04 01:33:42 +02:00
Updated Dependencies
This commit is contained in:
parent
93d7ed593c
commit
cfd2e53826
|
@ -51,26 +51,13 @@ class ServerURLField extends Component<Props, State> {
|
|||
|
||||
this.state = {
|
||||
isValid: true,
|
||||
serverURL: ''
|
||||
serverURL: props._serverURL
|
||||
};
|
||||
|
||||
this._onServerURLChange = this._onServerURLChange.bind(this);
|
||||
this._onServerURLSubmit = this._onServerURLSubmit.bind(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* This updates the Server URL in (local) state when there is a change
|
||||
* in redux store.
|
||||
*
|
||||
* @param {Props} props - New props of the component.
|
||||
* @returns {State} - New state of the component.
|
||||
*/
|
||||
static getDerivedStateFromProps(props) {
|
||||
return {
|
||||
serverURL: props._serverURL
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Render function of component.
|
||||
*
|
||||
|
|
|
@ -50,23 +50,7 @@ class Welcome extends Component<Props, State> {
|
|||
constructor(props: Props) {
|
||||
super(props);
|
||||
|
||||
this.state = {
|
||||
url: ''
|
||||
};
|
||||
|
||||
// Bind event handlers.
|
||||
this._onURLChange = this._onURLChange.bind(this);
|
||||
this._onFormSubmit = this._onFormSubmit.bind(this);
|
||||
this._onJoin = this._onJoin.bind(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize url value in state if passed using location state object.
|
||||
*
|
||||
* @param {Props} props - New props of the component.
|
||||
* @returns {State} - New state of the component.
|
||||
*/
|
||||
static getDerivedStateFromProps(props) {
|
||||
// Initialize url value in state if passed using location state object.
|
||||
let url = '';
|
||||
|
||||
// Check and parse url if exists in location state.
|
||||
|
@ -78,8 +62,12 @@ class Welcome extends Component<Props, State> {
|
|||
}
|
||||
}
|
||||
|
||||
// Return local state object having input url.
|
||||
return { url };
|
||||
this.state = { url };
|
||||
|
||||
// Bind event handlers.
|
||||
this._onURLChange = this._onURLChange.bind(this);
|
||||
this._onFormSubmit = this._onFormSubmit.bind(this);
|
||||
this._onJoin = this._onJoin.bind(this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
5043
package-lock.json
generated
5043
package-lock.json
generated
File diff suppressed because it is too large
Load diff
56
package.json
56
package.json
|
@ -74,17 +74,17 @@
|
|||
"readmeFilename": "README.md",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@atlaskit/avatar": "11.0.1",
|
||||
"@atlaskit/button": "7.2.5",
|
||||
"@atlaskit/css-reset": "2.0.2",
|
||||
"@atlaskit/droplist": "6.0.1",
|
||||
"@atlaskit/field-text": "5.1.0",
|
||||
"@atlaskit/icon": "12.0.1",
|
||||
"@atlaskit/navigation": "32.0.2",
|
||||
"@atlaskit/page": "7.0.1",
|
||||
"@atlaskit/spinner": "8.0.0",
|
||||
"@atlaskit/theme": "3.2.2",
|
||||
"@atlaskit/toggle": "4.0.3",
|
||||
"@atlaskit/avatar": "14.0.2",
|
||||
"@atlaskit/button": "9.0.2",
|
||||
"@atlaskit/css-reset": "3.0.0",
|
||||
"@atlaskit/droplist": "7.0.2",
|
||||
"@atlaskit/field-text": "7.0.1",
|
||||
"@atlaskit/icon": "13.2.0",
|
||||
"@atlaskit/navigation": "33.0.2",
|
||||
"@atlaskit/page": "8.0.0",
|
||||
"@atlaskit/spinner": "9.0.2",
|
||||
"@atlaskit/theme": "5.1.0",
|
||||
"@atlaskit/toggle": "5.0.2",
|
||||
"electron-debug": "2.0.0",
|
||||
"electron-is-dev": "0.3.0",
|
||||
"electron-log": "2.2.16",
|
||||
|
@ -94,41 +94,41 @@
|
|||
"jitsi-meet-electron-utils": "github:jitsi/jitsi-meet-electron-utils#1972c3bf0884ace68eb496894dabae593d6dbf49",
|
||||
"js-utils": "github:jitsi/js-utils#0c53500a5120be2aa3fc590f0f932a0d4771920f",
|
||||
"mousetrap": "1.6.2",
|
||||
"react": "16.3.2",
|
||||
"react-dom": "16.3.2",
|
||||
"react": "16.4.1",
|
||||
"react-dom": "16.4.1",
|
||||
"react-redux": "5.0.7",
|
||||
"react-router-redux": "5.0.0-alpha.9",
|
||||
"redux": "4.0.0",
|
||||
"redux-logger": "3.0.6",
|
||||
"redux-persist": "5.10.0",
|
||||
"redux-persist-electron-storage": "1.1.2",
|
||||
"styled-components": "3.3.0"
|
||||
"styled-components": "3.3.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-core": "6.26.3",
|
||||
"babel-eslint": "8.2.3",
|
||||
"babel-loader": "7.1.4",
|
||||
"babel-plugin-inline-react-svg": "0.5.2",
|
||||
"babel-eslint": "8.2.6",
|
||||
"babel-loader": "7.1.5",
|
||||
"babel-plugin-inline-react-svg": "0.5.3",
|
||||
"babel-preset-env": "1.7.0",
|
||||
"babel-preset-react": "6.24.1",
|
||||
"babel-preset-stage-1": "6.24.1",
|
||||
"css-loader": "0.28.11",
|
||||
"css-loader": "1.0.0",
|
||||
"devtron": "1.4.0",
|
||||
"electron": "2.0.3",
|
||||
"electron-builder": "20.19.1",
|
||||
"electron": "2.0.5",
|
||||
"electron-builder": "20.22.0",
|
||||
"electron-react-devtools": "0.5.3",
|
||||
"eslint": "4.12.1",
|
||||
"eslint": "5.1.0",
|
||||
"eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#v0.1.0",
|
||||
"eslint-plugin-flowtype": "2.46.3",
|
||||
"eslint-plugin-import": "2.11.0",
|
||||
"eslint-plugin-jsdoc": "3.2.0",
|
||||
"eslint-plugin-react": "7.7.0",
|
||||
"flow-bin": "0.72.0",
|
||||
"eslint-plugin-flowtype": "2.50.0",
|
||||
"eslint-plugin-import": "2.13.0",
|
||||
"eslint-plugin-jsdoc": "3.7.1",
|
||||
"eslint-plugin-react": "7.10.0",
|
||||
"flow-bin": "0.76.0",
|
||||
"html-webpack-plugin": "3.2.0",
|
||||
"precommit-hook": "3.0.0",
|
||||
"style-loader": "0.21.0",
|
||||
"svg-inline-loader": "0.8.0",
|
||||
"webpack": "4.8.1",
|
||||
"webpack-cli": "2.1.3"
|
||||
"webpack": "4.16.1",
|
||||
"webpack-cli": "3.1.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue