Upgrade NPM dependencies/packages: react-native 0.50
This commit is contained in:
parent
d8bc26a8ea
commit
569b3547c8
21
.flowconfig
21
.flowconfig
|
@ -12,7 +12,6 @@
|
|||
; For RN Apps installed via npm, "Libraries" folder is inside
|
||||
; "node_modules/react-native" but in the source repo it is in the root
|
||||
.*/Libraries/react-native/React.js
|
||||
.*/Libraries/react-native/ReactNative.js
|
||||
|
||||
; Ignore polyfills
|
||||
.*/Libraries/polyfills/.*
|
||||
|
@ -21,12 +20,12 @@
|
|||
; seen to cause errors and we have chosen not to fix.
|
||||
.*/node_modules/@atlassian
|
||||
.*/node_modules/bower/lib/node_modules/bower-json/test/.*
|
||||
.*/node_modules/immutable/dist/immutable.js.flow
|
||||
.*/node_modules/jsonlint/test/.*
|
||||
|
||||
; FIXME Remove once we update past this commit:
|
||||
; FIXME Remove once we update past commit
|
||||
; https://github.com/facebook/react-native/commit/df8d0d1db9203cc87ad3682e6138b2a9ed714365
|
||||
.*/node_modules/react-native/local-cli/link/link.js
|
||||
|
||||
.*/node_modules/react-native-keep-awake/.*
|
||||
.*/node_modules/styled-components/.*
|
||||
|
||||
|
@ -36,21 +35,16 @@
|
|||
|
||||
[libs]
|
||||
node_modules/react-native/Libraries/react-native/react-native-interface.js
|
||||
node_modules/react-native/flow
|
||||
node_modules/react-native/flow/
|
||||
|
||||
[options]
|
||||
emoji=true
|
||||
|
||||
module.system=haste
|
||||
|
||||
; FIXME: munge_underscores should be false but right now there are some errors
|
||||
; if we change the value to false
|
||||
; Treats class properties with underscore as private. Disabled because currently
|
||||
; for us "_" can mean protected too.
|
||||
; munge_underscores=false
|
||||
munge_underscores=true
|
||||
|
||||
; FIXME Remove once we update past this commit:
|
||||
; FIXME Remove once we update past commit
|
||||
; https://github.com/facebook/react-native/commit/df8d0d1db9203cc87ad3682e6138b2a9ed714365
|
||||
module.name_mapper='^./link/link$' -> 'emptyObject'
|
||||
|
||||
|
@ -62,11 +56,10 @@ suppress_type=$FlowFixMeProps
|
|||
suppress_type=$FlowFixMeState
|
||||
suppress_type=$FixMe
|
||||
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-3]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-3]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowDisableNextLine
|
||||
|
||||
unsafe.enable_getters_and_setters=true
|
||||
|
||||
|
@ -83,4 +76,4 @@ module.file_ext=.jsx
|
|||
module.file_ext=.json
|
||||
|
||||
[version]
|
||||
^0.53.0
|
||||
^0.56.0
|
||||
|
|
|
@ -7,6 +7,9 @@ all.css
|
|||
.remote-sync.json
|
||||
.sync-config.cson
|
||||
|
||||
# CocoaPods
|
||||
Pods/
|
||||
|
||||
# The following are automatically generated by the react-native command line
|
||||
# utility (either with the init or upgrade option which pull in the latest
|
||||
# template files recommended by Facebook for React Native).
|
||||
|
@ -57,14 +60,11 @@ buck-out/
|
|||
|
||||
# fastlane
|
||||
#
|
||||
# It is recommended to not store the screenshots in the git repo. Instead, use
|
||||
# fastlane to re-generate the screenshots whenever they are needed. For more
|
||||
# information about the recommended setup visit:
|
||||
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
|
||||
#
|
||||
fastlane/report.xml
|
||||
fastlane/Preview.html
|
||||
fastlane/screenshots
|
||||
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
|
||||
# screenshots whenever they are needed.
|
||||
# For more information about the recommended setup visit:
|
||||
# https://docs.fastlane.tools/best-practices/source-control/
|
||||
|
||||
# CocoaPods
|
||||
Pods/
|
||||
*/fastlane/report.xml
|
||||
*/fastlane/Preview.html
|
||||
*/fastlane/screenshots
|
||||
|
|
|
@ -50,6 +50,10 @@
|
|||
|
||||
-dontwarn com.facebook.react.**
|
||||
|
||||
# TextLayoutBuilder uses a non-public Android constructor within StaticLayout.
|
||||
# See libs/proxy/src/main/java/com/facebook/fbui/textlayoutbuilder/proxy for details.
|
||||
-dontwarn android.text.StaticLayout
|
||||
|
||||
# okhttp
|
||||
|
||||
-keepattributes Signature
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
keystore(
|
||||
name = 'debug',
|
||||
store = 'debug.keystore',
|
||||
properties = 'debug.keystore.properties',
|
||||
visibility = [
|
||||
'PUBLIC',
|
||||
],
|
||||
name = "debug",
|
||||
properties = "debug.keystore.properties",
|
||||
store = "debug.keystore",
|
||||
visibility = [
|
||||
"PUBLIC",
|
||||
],
|
||||
)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,8 +1,5 @@
|
|||
// flow-typed signature: 4e93c65cedbfbf7f1ab3fe4e800943d3
|
||||
// flow-typed version: 9092387fd2/react-redux_v5.x.x/flow_>=v0.53.x <=v0.53.x
|
||||
|
||||
// flow-typed signature: 8db7b853f57c51094bf0ab8b2650fd9c
|
||||
// flow-typed version: ab8db5f14d/react-redux_v5.x.x/flow_>=v0.30.x
|
||||
// flow-typed signature: 59b0c4be0e1408f21e2446be96c79804
|
||||
// flow-typed version: 9092387fd2/react-redux_v5.x.x/flow_>=v0.54.x
|
||||
|
||||
import type { Dispatch, Store } from "redux";
|
||||
|
||||
|
@ -34,6 +31,22 @@ declare module "react-redux" {
|
|||
|
||||
declare type Context = { store: Store<*, *> };
|
||||
|
||||
declare type ComponentWithDefaultProps<DP: {}, P: {}, CP: P> = Class<
|
||||
React$Component<CP>
|
||||
> & { defaultProps: DP };
|
||||
|
||||
declare class ConnectedComponentWithDefaultProps<
|
||||
OP,
|
||||
DP,
|
||||
CP
|
||||
> extends React$Component<OP> {
|
||||
static defaultProps: DP, // <= workaround for https://github.com/facebook/flow/issues/4644
|
||||
static WrappedComponent: Class<React$Component<CP>>,
|
||||
getWrappedInstance(): React$Component<CP>,
|
||||
props: OP,
|
||||
state: void
|
||||
}
|
||||
|
||||
declare class ConnectedComponent<OP, P> extends React$Component<OP> {
|
||||
static WrappedComponent: Class<React$Component<P>>,
|
||||
getWrappedInstance(): React$Component<P>,
|
||||
|
@ -41,13 +54,18 @@ declare module "react-redux" {
|
|||
state: void
|
||||
}
|
||||
|
||||
declare type ConnectedComponentWithDefaultPropsClass<OP, DP, CP> = Class<
|
||||
ConnectedComponentWithDefaultProps<OP, DP, CP>
|
||||
>;
|
||||
|
||||
declare type ConnectedComponentClass<OP, P> = Class<
|
||||
ConnectedComponent<OP, P>
|
||||
>;
|
||||
|
||||
declare type Connector<OP, P> = (
|
||||
component: React$ComponentType<P>
|
||||
) => ConnectedComponentClass<OP, P>;
|
||||
declare type Connector<OP, P> = (<DP: {}, CP: {}>(
|
||||
component: ComponentWithDefaultProps<DP, P, CP>
|
||||
) => ConnectedComponentWithDefaultPropsClass<OP, DP, CP>) &
|
||||
((component: React$ComponentType<P>) => ConnectedComponentClass<OP, P>);
|
||||
|
||||
declare class Provider<S, A> extends React$Component<{
|
||||
store: Store<S, A>,
|
||||
|
@ -77,12 +95,12 @@ declare module "react-redux" {
|
|||
options: ConnectOptions
|
||||
): Connector<OP, $Supertype<{ dispatch: Dispatch<A> } & OP>>;
|
||||
|
||||
declare function connect<S, A, OP, SP>(
|
||||
mapStateToProps: MapStateToProps<S, OP, SP>,
|
||||
mapDispatchToProps: Null,
|
||||
mergeProps: Null,
|
||||
options?: ConnectOptions
|
||||
): Connector<OP, $Supertype<SP & { dispatch: Dispatch<A> } & OP>>;
|
||||
// declare function connect<S, A, OP, SP>(
|
||||
// mapStateToProps: MapStateToProps<S, OP, SP>,
|
||||
// mapDispatchToProps: Null,
|
||||
// mergeProps: Null,
|
||||
// options?: ConnectOptions
|
||||
// ): Connector<OP, $Supertype<SP & { dispatch: Dispatch<A> } & OP>>;
|
||||
|
||||
declare function connect<A, OP, DP>(
|
||||
mapStateToProps: Null,
|
||||
|
@ -93,7 +111,7 @@ declare module "react-redux" {
|
|||
|
||||
declare function connect<S, A, OP, SP, DP>(
|
||||
mapStateToProps: MapStateToProps<S, OP, SP>,
|
||||
mapDispatchToProps: MapDispatchToProps<A, OP, DP>,
|
||||
mapDispatchToProps: MapDispatchToProps<A, OP, DP> | Null,
|
||||
mergeProps: Null,
|
||||
options?: ConnectOptions
|
||||
): Connector<OP, $Supertype<SP & DP & OP>>;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// flow-typed signature: 33b83b6284653250e74578cf4dbe6124
|
||||
// flow-typed version: e282e4128f/redux_v3.x.x/flow_>=v0.33.x
|
||||
// flow-typed signature: ec7daead5cb4fec5ab25fedbedef29e8
|
||||
// flow-typed version: 2c04631d20/redux_v3.x.x/flow_>=v0.55.x
|
||||
|
||||
declare module 'redux' {
|
||||
|
||||
|
@ -55,55 +55,5 @@ declare module 'redux' {
|
|||
|
||||
declare export function combineReducers<O: Object, A>(reducers: O): CombinedReducer<$ObjMap<O, <S>(r: Reducer<S, any>) => S>, A>;
|
||||
|
||||
declare export function compose<A, B>(ab: (a: A) => B): (a: A) => B
|
||||
declare export function compose<A, B, C>(
|
||||
bc: (b: B) => C,
|
||||
ab: (a: A) => B
|
||||
): (a: A) => C
|
||||
declare export function compose<A, B, C, D>(
|
||||
cd: (c: C) => D,
|
||||
bc: (b: B) => C,
|
||||
ab: (a: A) => B
|
||||
): (a: A) => D
|
||||
declare export function compose<A, B, C, D, E>(
|
||||
de: (d: D) => E,
|
||||
cd: (c: C) => D,
|
||||
bc: (b: B) => C,
|
||||
ab: (a: A) => B
|
||||
): (a: A) => E
|
||||
declare export function compose<A, B, C, D, E, F>(
|
||||
ef: (e: E) => F,
|
||||
de: (d: D) => E,
|
||||
cd: (c: C) => D,
|
||||
bc: (b: B) => C,
|
||||
ab: (a: A) => B
|
||||
): (a: A) => F
|
||||
declare export function compose<A, B, C, D, E, F, G>(
|
||||
fg: (f: F) => G,
|
||||
ef: (e: E) => F,
|
||||
de: (d: D) => E,
|
||||
cd: (c: C) => D,
|
||||
bc: (b: B) => C,
|
||||
ab: (a: A) => B
|
||||
): (a: A) => G
|
||||
declare export function compose<A, B, C, D, E, F, G, H>(
|
||||
gh: (g: G) => H,
|
||||
fg: (f: F) => G,
|
||||
ef: (e: E) => F,
|
||||
de: (d: D) => E,
|
||||
cd: (c: C) => D,
|
||||
bc: (b: B) => C,
|
||||
ab: (a: A) => B
|
||||
): (a: A) => H
|
||||
declare export function compose<A, B, C, D, E, F, G, H, I>(
|
||||
hi: (h: H) => I,
|
||||
gh: (g: G) => H,
|
||||
fg: (f: F) => G,
|
||||
ef: (e: E) => F,
|
||||
de: (d: D) => E,
|
||||
cd: (c: C) => D,
|
||||
bc: (b: B) => C,
|
||||
ab: (a: A) => B
|
||||
): (a: A) => I
|
||||
|
||||
declare export var compose: $Compose;
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
PODS:
|
||||
- React (0.49.5):
|
||||
- React/Core (= 0.49.5)
|
||||
- React (0.50.4):
|
||||
- React/Core (= 0.50.4)
|
||||
- react-native-background-timer (2.0.0):
|
||||
- React
|
||||
- react-native-fetch-blob (0.10.6):
|
||||
|
@ -8,40 +8,40 @@ PODS:
|
|||
- react-native-keep-awake (2.0.6):
|
||||
- React
|
||||
- react-native-webrtc (1.58.2)
|
||||
- React/BatchedBridge (0.49.5):
|
||||
- React/BatchedBridge (0.50.4):
|
||||
- React/Core
|
||||
- React/cxxreact_legacy
|
||||
- React/Core (0.49.5):
|
||||
- yoga (= 0.49.5.React)
|
||||
- React/cxxreact_legacy (0.49.5):
|
||||
- React/Core (0.50.4):
|
||||
- yoga (= 0.50.4.React)
|
||||
- React/cxxreact_legacy (0.50.4):
|
||||
- React/jschelpers_legacy
|
||||
- React/DevSupport (0.49.5):
|
||||
- React/DevSupport (0.50.4):
|
||||
- React/Core
|
||||
- React/RCTWebSocket
|
||||
- React/fishhook (0.49.5)
|
||||
- React/jschelpers_legacy (0.49.5)
|
||||
- React/RCTActionSheet (0.49.5):
|
||||
- React/fishhook (0.50.4)
|
||||
- React/jschelpers_legacy (0.50.4)
|
||||
- React/RCTActionSheet (0.50.4):
|
||||
- React/Core
|
||||
- React/RCTAnimation (0.49.5):
|
||||
- React/RCTAnimation (0.50.4):
|
||||
- React/Core
|
||||
- React/RCTBlob (0.49.5):
|
||||
- React/RCTBlob (0.50.4):
|
||||
- React/Core
|
||||
- React/RCTImage (0.49.5):
|
||||
- React/RCTImage (0.50.4):
|
||||
- React/Core
|
||||
- React/RCTNetwork
|
||||
- React/RCTLinkingIOS (0.49.5):
|
||||
- React/RCTLinkingIOS (0.50.4):
|
||||
- React/Core
|
||||
- React/RCTNetwork (0.49.5):
|
||||
- React/RCTNetwork (0.50.4):
|
||||
- React/Core
|
||||
- React/RCTText (0.49.5):
|
||||
- React/RCTText (0.50.4):
|
||||
- React/Core
|
||||
- React/RCTWebSocket (0.49.5):
|
||||
- React/RCTWebSocket (0.50.4):
|
||||
- React/Core
|
||||
- React/fishhook
|
||||
- React/RCTBlob
|
||||
- RNVectorIcons (4.4.2):
|
||||
- React
|
||||
- yoga (0.49.5.React)
|
||||
- yoga (0.50.4.React)
|
||||
|
||||
DEPENDENCIES:
|
||||
- react-native-background-timer (from `../node_modules/react-native-background-timer`)
|
||||
|
@ -78,13 +78,13 @@ EXTERNAL SOURCES:
|
|||
:path: ../node_modules/react-native/ReactCommon/yoga
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
React: 9d5a23842dcc75ffef540ee2d2ef0eee1904ee58
|
||||
React: 6d7efef18e0241eb832cf4c085405169a15080ed
|
||||
react-native-background-timer: 10063c04bf85d7f8811dff8c74399f0aa715245f
|
||||
react-native-fetch-blob: 2bef9be702de8726f4d7bf58d2345579aaaee60d
|
||||
react-native-keep-awake: bb4dbb6fd21a7879432f9538b0b7d71398fe9f81
|
||||
react-native-webrtc: 6fd0b3aa890d7a9b9b4d01d30f958d17ae88a785
|
||||
RNVectorIcons: c1821d56c775cc5a3bca66c77dfc8cb4a90d27e2
|
||||
yoga: 596e987aa8aac0165abb235d2977982f090476a0
|
||||
yoga: b9aebf996711e50fc31f5608c10aa108a5a0c29e
|
||||
|
||||
PODFILE CHECKSUM: a7cb8c7365f8cf9a01ee4eb78325139933776faf
|
||||
|
||||
|
|
|
@ -108,7 +108,10 @@ export default class Controller extends RemoteControlParticipant {
|
|||
* @returns {Promise<boolean>} Resolve values - true(accept), false(deny),
|
||||
* null(the participant has left).
|
||||
*/
|
||||
requestPermissions(userId: string, eventCaptureArea: Object) {
|
||||
requestPermissions(
|
||||
userId: string,
|
||||
eventCaptureArea: Object
|
||||
): Promise<boolean | null> {
|
||||
if (!this._enabled) {
|
||||
return Promise.reject(new Error('Remote control is disabled!'));
|
||||
}
|
||||
|
@ -163,13 +166,16 @@ export default class Controller extends RemoteControlParticipant {
|
|||
JitsiConferenceEvents.USER_LEFT,
|
||||
onUserLeft);
|
||||
this._requestedParticipant = userId;
|
||||
this.sendRemoteControlEndpointMessage(userId, {
|
||||
type: EVENTS.permissions,
|
||||
action: PERMISSIONS_ACTIONS.request
|
||||
}, e => {
|
||||
clearRequest();
|
||||
reject(e);
|
||||
});
|
||||
this.sendRemoteControlEndpointMessage(
|
||||
userId,
|
||||
{
|
||||
type: EVENTS.permissions,
|
||||
action: PERMISSIONS_ACTIONS.request
|
||||
},
|
||||
e => {
|
||||
clearRequest();
|
||||
reject(e);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -179,7 +185,7 @@ export default class Controller extends RemoteControlParticipant {
|
|||
* @param {JitsiParticipant} participant - The participant that has sent the
|
||||
* reply.
|
||||
* @param {RemoteControlEvent} event - The remote control event.
|
||||
* @returns {void}
|
||||
* @returns {boolean|null}
|
||||
*/
|
||||
_handleReply(participant: Object, event: Object) {
|
||||
const userId = participant.getId();
|
||||
|
@ -257,46 +263,42 @@ export default class Controller extends RemoteControlParticipant {
|
|||
* @returns {void}
|
||||
*/
|
||||
resume() {
|
||||
if (!this._enabled || this._isCollectingEvents || !this._area) {
|
||||
let area;
|
||||
|
||||
if (!this._enabled
|
||||
|| this._isCollectingEvents
|
||||
|| !(area = this._area)) {
|
||||
return;
|
||||
}
|
||||
logger.log('Resuming remote control controller.');
|
||||
this._isCollectingEvents = true;
|
||||
APP.keyboardshortcut.enable(false);
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null.
|
||||
this._area.mousemove(event => {
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null.
|
||||
const position = this._area.position();
|
||||
area.mousemove(event => {
|
||||
const area = this._area; // eslint-disable-line no-shadow
|
||||
|
||||
if (!area) {
|
||||
return;
|
||||
}
|
||||
|
||||
const position = area.position();
|
||||
|
||||
this.sendRemoteControlEndpointMessage(this._controlledParticipant, {
|
||||
type: EVENTS.mousemove,
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null
|
||||
x: (event.pageX - position.left) / this._area.width(),
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null
|
||||
y: (event.pageY - position.top) / this._area.height()
|
||||
x: (event.pageX - position.left) / area.width(),
|
||||
y: (event.pageY - position.top) / area.height()
|
||||
});
|
||||
});
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null.
|
||||
this._area.mousedown(this._onMouseClickHandler.bind(this,
|
||||
EVENTS.mousedown));
|
||||
area.mousedown(this._onMouseClickHandler.bind(this, EVENTS.mousedown));
|
||||
area.mouseup(this._onMouseClickHandler.bind(this, EVENTS.mouseup));
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null.
|
||||
this._area.mouseup(this._onMouseClickHandler.bind(this,
|
||||
EVENTS.mouseup));
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null.
|
||||
this._area.dblclick(
|
||||
area.dblclick(
|
||||
this._onMouseClickHandler.bind(this, EVENTS.mousedblclick));
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null.
|
||||
this._area.contextmenu(() => false);
|
||||
area.contextmenu(() => false);
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null.
|
||||
this._area[0].onmousewheel = event => {
|
||||
area[0].onmousewheel = event => {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
this.sendRemoteControlEndpointMessage(this._controlledParticipant, {
|
||||
|
@ -307,6 +309,7 @@ export default class Controller extends RemoteControlParticipant {
|
|||
|
||||
return false;
|
||||
};
|
||||
|
||||
$(window).keydown(this._onKeyPessHandler.bind(this,
|
||||
EVENTS.keydown));
|
||||
$(window).keyup(this._onKeyPessHandler.bind(this, EVENTS.keyup));
|
||||
|
@ -376,26 +379,20 @@ export default class Controller extends RemoteControlParticipant {
|
|||
this._isCollectingEvents = false;
|
||||
APP.keyboardshortcut.enable(true);
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null.
|
||||
this._area.off('mousemove');
|
||||
const area = this._area;
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null.
|
||||
this._area.off('mousedown');
|
||||
if (area) {
|
||||
area.off('contextmenu');
|
||||
area.off('dblclick');
|
||||
area.off('mousedown');
|
||||
area.off('mousemove');
|
||||
area.off('mouseup');
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null.
|
||||
this._area.off('mouseup');
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null.
|
||||
this._area.off('contextmenu');
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null.
|
||||
this._area.off('dblclick');
|
||||
area[0].onmousewheel = undefined;
|
||||
}
|
||||
|
||||
$(window).off('keydown');
|
||||
$(window).off('keyup');
|
||||
|
||||
// $FlowDisableNextLine: we are sure that this._area is not null.
|
||||
this._area[0].onmousewheel = undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -2362,9 +2362,9 @@
|
|||
"integrity": "sha1-dU/jiSboQkpOexWrbqYTne4FFPw="
|
||||
},
|
||||
"babel-plugin-react-transform": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-2.0.2.tgz",
|
||||
"integrity": "sha1-UVu/qZaJOYEULZCx+bFjXeKZUQk=",
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-3.0.0.tgz",
|
||||
"integrity": "sha512-4vJGddwPiHAOgshzZdGwYy4zRjjIr5SMY7gkOaCyIASjgpcsyLTlZNuB5rHOFoaTvGlhfo8/g4pobXPyHqm/3w==",
|
||||
"requires": {
|
||||
"lodash": "4.17.4"
|
||||
}
|
||||
|
@ -2415,8 +2415,7 @@
|
|||
"babel-plugin-syntax-dynamic-import": {
|
||||
"version": "6.18.0",
|
||||
"resolved": "https://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz",
|
||||
"integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo=",
|
||||
"dev": true
|
||||
"integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo="
|
||||
},
|
||||
"babel-plugin-syntax-exponentiation-operator": {
|
||||
"version": "6.13.0",
|
||||
|
@ -3048,14 +3047,15 @@
|
|||
}
|
||||
},
|
||||
"babel-preset-react-native": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/babel-preset-react-native/-/babel-preset-react-native-2.1.0.tgz",
|
||||
"integrity": "sha1-kBPr2C2hyIECv1iIEP9Z4gnKK4o=",
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/babel-preset-react-native/-/babel-preset-react-native-4.0.0.tgz",
|
||||
"integrity": "sha512-Wfbo6x244nUbBxjr7hQaNFdjj7FDYU+TVT7cFVPEdVPI68vhN52iLvamm+ErhNdHq6M4j1cMT6AJBYx7Wzdr0g==",
|
||||
"requires": {
|
||||
"babel-plugin-check-es2015-constants": "6.22.0",
|
||||
"babel-plugin-react-transform": "2.0.2",
|
||||
"babel-plugin-react-transform": "3.0.0",
|
||||
"babel-plugin-syntax-async-functions": "6.13.0",
|
||||
"babel-plugin-syntax-class-properties": "6.13.0",
|
||||
"babel-plugin-syntax-dynamic-import": "6.18.0",
|
||||
"babel-plugin-syntax-flow": "6.18.0",
|
||||
"babel-plugin-syntax-jsx": "6.18.0",
|
||||
"babel-plugin-syntax-trailing-function-commas": "6.22.0",
|
||||
|
@ -3080,6 +3080,7 @@
|
|||
"babel-plugin-transform-react-jsx": "6.24.1",
|
||||
"babel-plugin-transform-react-jsx-source": "6.22.0",
|
||||
"babel-plugin-transform-regenerator": "6.26.0",
|
||||
"babel-template": "6.26.0",
|
||||
"react-transform-hmr": "1.0.4"
|
||||
}
|
||||
},
|
||||
|
@ -3290,9 +3291,9 @@
|
|||
}
|
||||
},
|
||||
"big-integer": {
|
||||
"version": "1.6.25",
|
||||
"resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.25.tgz",
|
||||
"integrity": "sha1-HeRan1dUKsIBIcaC+NZCIgo06CM="
|
||||
"version": "1.6.26",
|
||||
"resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.26.tgz",
|
||||
"integrity": "sha1-OvFnL6Ytry1eyvrPblqg0l4Cwcg="
|
||||
},
|
||||
"big.js": {
|
||||
"version": "3.2.0",
|
||||
|
@ -3455,7 +3456,7 @@
|
|||
"resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.1.1.tgz",
|
||||
"integrity": "sha1-1g1dzCDLptx+HymbNdPh+V2vuuY=",
|
||||
"requires": {
|
||||
"big-integer": "1.6.25"
|
||||
"big-integer": "1.6.26"
|
||||
}
|
||||
},
|
||||
"brace-expansion": {
|
||||
|
@ -4559,6 +4560,15 @@
|
|||
"run-queue": "1.0.3"
|
||||
}
|
||||
},
|
||||
"copy-paste": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/copy-paste/-/copy-paste-1.3.0.tgz",
|
||||
"integrity": "sha1-p+bEocKP3t8rCB5yuX3y75X0ce0=",
|
||||
"requires": {
|
||||
"iconv-lite": "0.4.19",
|
||||
"sync-exec": "0.6.2"
|
||||
}
|
||||
},
|
||||
"copy-props": {
|
||||
"version": "1.6.0",
|
||||
"resolved": "https://registry.npmjs.org/copy-props/-/copy-props-1.6.0.tgz",
|
||||
|
@ -5629,15 +5639,38 @@
|
|||
"integrity": "sha1-sph6o4ITR/zeZCsk/fyeT7cSvyY="
|
||||
},
|
||||
"envinfo": {
|
||||
"version": "3.4.2",
|
||||
"resolved": "https://registry.npmjs.org/envinfo/-/envinfo-3.4.2.tgz",
|
||||
"integrity": "sha512-yqKl+qfQ849zLua/aRGIs4TzNah6ypvdX6KPmK9LPP54Ea+Hqx2gFzSBmGhka8HvWcmCmffGIshG4INSh0ku6g==",
|
||||
"version": "3.10.0",
|
||||
"resolved": "https://registry.npmjs.org/envinfo/-/envinfo-3.10.0.tgz",
|
||||
"integrity": "sha512-7m6zSyFfEb3lAjZI217G1XVSAkYeFJHk2EqAVeoncrt+WtHddW4nnft2qPg82Xu1aB/T8nC/DPvkGgUUahli4g==",
|
||||
"requires": {
|
||||
"copy-paste": "1.3.0",
|
||||
"glob": "7.1.2",
|
||||
"minimist": "1.2.0",
|
||||
"os-name": "2.0.1",
|
||||
"which": "1.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"glob": {
|
||||
"version": "7.1.2",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
|
||||
"integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
|
||||
"requires": {
|
||||
"fs.realpath": "1.0.0",
|
||||
"inflight": "1.0.6",
|
||||
"inherits": "2.0.3",
|
||||
"minimatch": "3.0.4",
|
||||
"once": "1.4.0",
|
||||
"path-is-absolute": "1.0.1"
|
||||
}
|
||||
},
|
||||
"minimatch": {
|
||||
"version": "3.0.4",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
|
||||
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
|
||||
"requires": {
|
||||
"brace-expansion": "1.1.8"
|
||||
}
|
||||
},
|
||||
"minimist": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
|
||||
|
@ -6815,9 +6848,9 @@
|
|||
"integrity": "sha1-2uRqnXj74lKSJYzB54CkHZXAN4I="
|
||||
},
|
||||
"flow-bin": {
|
||||
"version": "0.53.0",
|
||||
"resolved": "https://registry.npmjs.org/flow-bin/-/flow-bin-0.53.0.tgz",
|
||||
"integrity": "sha1-94MOYJygKxLbQScRQhPMzHwHcbk=",
|
||||
"version": "0.56.0",
|
||||
"resolved": "https://registry.npmjs.org/flow-bin/-/flow-bin-0.56.0.tgz",
|
||||
"integrity": "sha1-zkMJIgOjRLqb9jwMq+ldlRRfbK0=",
|
||||
"dev": true
|
||||
},
|
||||
"flush-write-stream": {
|
||||
|
@ -7845,6 +7878,11 @@
|
|||
"resolved": "https://registry.npmjs.org/growl/-/growl-1.8.1.tgz",
|
||||
"integrity": "sha1-Sy3sjZB+k9szZiTc7AGDUC+MlCg="
|
||||
},
|
||||
"growly": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz",
|
||||
"integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE="
|
||||
},
|
||||
"gulp": {
|
||||
"version": "github:gulpjs/gulp#4ed9a4a3275559c73a396eff7e1fde3824951ebb",
|
||||
"requires": {
|
||||
|
@ -10236,18 +10274,18 @@
|
|||
}
|
||||
},
|
||||
"jest-docblock": {
|
||||
"version": "20.1.0-echo.1",
|
||||
"resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-20.1.0-echo.1.tgz",
|
||||
"integrity": "sha512-zJPqHgxSlu5AYjyFLoXzwSqTZGeRAbtW9lTrWfjfDWyQCQjPlt9j9s7t3UBoDwUocM7qVNdlrcXPPtBkQR1dJw=="
|
||||
"version": "21.2.0",
|
||||
"resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-21.2.0.tgz",
|
||||
"integrity": "sha512-5IZ7sY9dBAYSV+YjQ0Ovb540Ku7AO9Z5o2Cg789xj167iQuZ2cG+z0f3Uct6WeYLbU6aQiM2pCs7sZ+4dotydw=="
|
||||
},
|
||||
"jest-haste-map": {
|
||||
"version": "20.1.0-echo.1",
|
||||
"resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-20.1.0-echo.1.tgz",
|
||||
"integrity": "sha512-5hhKBYWNHIgVnGcOtzo0wsjHuMqZ+9RUmKou4py8yhjYmtbwVVVFcuvTBClwXt/NdrQ8JrbCvtHq5b4IWS7ieg==",
|
||||
"version": "21.2.0",
|
||||
"resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-21.2.0.tgz",
|
||||
"integrity": "sha512-5LhsY/loPH7wwOFRMs+PT4aIAORJ2qwgbpMFlbWbxfN0bk3ZCwxJ530vrbSiTstMkYLao6JwBkLhCJ5XbY7ZHw==",
|
||||
"requires": {
|
||||
"fb-watchman": "2.0.0",
|
||||
"graceful-fs": "4.1.11",
|
||||
"jest-docblock": "20.1.0-echo.1",
|
||||
"jest-docblock": "21.2.0",
|
||||
"micromatch": "2.3.11",
|
||||
"sane": "2.2.0",
|
||||
"worker-farm": "1.5.1"
|
||||
|
@ -10931,9 +10969,9 @@
|
|||
}
|
||||
},
|
||||
"left-pad": {
|
||||
"version": "1.1.3",
|
||||
"resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.1.3.tgz",
|
||||
"integrity": "sha1-YS9hwDPzqeCOk58crr7qQbbzGZo="
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.2.0.tgz",
|
||||
"integrity": "sha1-0wpzxrggHY99jnlWupYWCHpo4O4="
|
||||
},
|
||||
"less": {
|
||||
"version": "2.7.3",
|
||||
|
@ -11112,7 +11150,7 @@
|
|||
}
|
||||
},
|
||||
"lib-jitsi-meet": {
|
||||
"version": "github:jitsi/lib-jitsi-meet#b4adec279669a08213adb543ef46a11e0d840b92",
|
||||
"version": "github:jitsi/lib-jitsi-meet#81f57c024e137879d6c93bef62308971d0ec71b0",
|
||||
"requires": {
|
||||
"async": "0.9.0",
|
||||
"current-executing-script": "0.1.3",
|
||||
|
@ -12079,18 +12117,18 @@
|
|||
"integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
|
||||
},
|
||||
"metro-bundler": {
|
||||
"version": "0.13.0",
|
||||
"resolved": "https://registry.npmjs.org/metro-bundler/-/metro-bundler-0.13.0.tgz",
|
||||
"integrity": "sha512-fJAUuQ2HOVfXJVmTlrjj/KFrkK6ww/EJNoNzfNB+7KravsQ5otf8s1IFkSoBYTfi1kM4AuiBlqrWvmn27zcScg==",
|
||||
"version": "0.20.3",
|
||||
"resolved": "https://registry.npmjs.org/metro-bundler/-/metro-bundler-0.20.3.tgz",
|
||||
"integrity": "sha512-rKhIXSUEYbBUB9Ues30GYlcotM/4hPTmriBJGdNW5D+zdlxQUgJuPEo2Woo7khNM7xRG5tN7IRnMkKlzx43/Nw==",
|
||||
"requires": {
|
||||
"absolute-path": "0.0.0",
|
||||
"async": "2.5.0",
|
||||
"async": "2.6.0",
|
||||
"babel-core": "6.26.0",
|
||||
"babel-generator": "6.26.0",
|
||||
"babel-plugin-external-helpers": "6.22.0",
|
||||
"babel-preset-es2015-node": "6.1.1",
|
||||
"babel-preset-fbjs": "2.1.4",
|
||||
"babel-preset-react-native": "2.1.0",
|
||||
"babel-preset-react-native": "4.0.0",
|
||||
"babel-register": "6.26.0",
|
||||
"babylon": "6.18.0",
|
||||
"chalk": "1.1.3",
|
||||
|
@ -12098,14 +12136,14 @@
|
|||
"core-js": "2.5.1",
|
||||
"debug": "2.6.9",
|
||||
"denodeify": "1.2.1",
|
||||
"fbjs": "0.8.14",
|
||||
"fbjs": "0.8.16",
|
||||
"graceful-fs": "4.1.11",
|
||||
"image-size": "0.6.1",
|
||||
"jest-docblock": "20.1.0-echo.1",
|
||||
"jest-haste-map": "20.1.0-echo.1",
|
||||
"jest-docblock": "21.2.0",
|
||||
"jest-haste-map": "21.2.0",
|
||||
"json-stable-stringify": "1.0.1",
|
||||
"json5": "0.4.0",
|
||||
"left-pad": "1.1.3",
|
||||
"left-pad": "1.2.0",
|
||||
"lodash": "4.17.4",
|
||||
"merge-stream": "1.0.1",
|
||||
"mime-types": "2.1.11",
|
||||
|
@ -12115,24 +12153,20 @@
|
|||
"source-map": "0.5.7",
|
||||
"temp": "0.8.3",
|
||||
"throat": "4.1.0",
|
||||
"uglify-js": "2.7.5",
|
||||
"uglify-es": "3.2.0",
|
||||
"wordwrap": "1.0.0",
|
||||
"write-file-atomic": "1.3.4",
|
||||
"xpipe": "1.0.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"async": {
|
||||
"version": "2.5.0",
|
||||
"resolved": "https://registry.npmjs.org/async/-/async-2.5.0.tgz",
|
||||
"integrity": "sha512-e+lJAJeNWuPCNyxZKOBdaJGyLGHugXVQtrAwtuAe2vhxTYxFTKE73p8JuTmdH0qdQZtDvI4dhJwjZc5zsfIsYw==",
|
||||
"version": "2.6.0",
|
||||
"resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz",
|
||||
"integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==",
|
||||
"requires": {
|
||||
"lodash": "4.17.4"
|
||||
}
|
||||
},
|
||||
"camelcase": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz",
|
||||
"integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk="
|
||||
},
|
||||
"chalk": {
|
||||
"version": "1.1.3",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
|
||||
|
@ -12145,36 +12179,10 @@
|
|||
"supports-color": "2.0.0"
|
||||
}
|
||||
},
|
||||
"cliui": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz",
|
||||
"integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=",
|
||||
"requires": {
|
||||
"center-align": "0.1.3",
|
||||
"right-align": "0.1.3",
|
||||
"wordwrap": "0.0.2"
|
||||
}
|
||||
},
|
||||
"fbjs": {
|
||||
"version": "0.8.14",
|
||||
"resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.14.tgz",
|
||||
"integrity": "sha1-0dviviVMNakeCfMfnNUKQLKg7Rw=",
|
||||
"requires": {
|
||||
"core-js": "1.2.7",
|
||||
"isomorphic-fetch": "2.2.1",
|
||||
"loose-envify": "1.3.1",
|
||||
"object-assign": "4.1.1",
|
||||
"promise": "7.3.1",
|
||||
"setimmediate": "1.0.5",
|
||||
"ua-parser-js": "0.7.17"
|
||||
},
|
||||
"dependencies": {
|
||||
"core-js": {
|
||||
"version": "1.2.7",
|
||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz",
|
||||
"integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY="
|
||||
}
|
||||
}
|
||||
"commander": {
|
||||
"version": "2.12.2",
|
||||
"resolved": "https://registry.npmjs.org/commander/-/commander-2.12.2.tgz",
|
||||
"integrity": "sha512-BFnaq5ZOGcDN7FlrtBT4xxkgIToalIIxwjxLWVJ8bGTpe1LroqMiqQXdA7ygc7CRvaYS+9zfPGFnJqFSayx+AA=="
|
||||
},
|
||||
"image-size": {
|
||||
"version": "0.6.1",
|
||||
|
@ -12207,44 +12215,21 @@
|
|||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
|
||||
"integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
|
||||
},
|
||||
"uglify-js": {
|
||||
"version": "2.7.5",
|
||||
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.7.5.tgz",
|
||||
"integrity": "sha1-RhLAx7qu4rp8SH3kkErhIgefLKg=",
|
||||
"uglify-es": {
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.2.0.tgz",
|
||||
"integrity": "sha512-eD4rjK4o6rzrvE1SMZJLQFEVMnWRUyIu6phJ0BXk5TIthMmP5B4QP0HI8o3bkQB5wf1N4WHA0leZAQyQBAd+Jg==",
|
||||
"requires": {
|
||||
"async": "0.2.10",
|
||||
"source-map": "0.5.7",
|
||||
"uglify-to-browserify": "1.0.2",
|
||||
"yargs": "3.10.0"
|
||||
"commander": "2.12.2",
|
||||
"source-map": "0.6.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"async": {
|
||||
"version": "0.2.10",
|
||||
"resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz",
|
||||
"integrity": "sha1-trvgsGdLnXGXCMo43owjfLUmw9E="
|
||||
"source-map": {
|
||||
"version": "0.6.1",
|
||||
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
|
||||
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
|
||||
}
|
||||
}
|
||||
},
|
||||
"window-size": {
|
||||
"version": "0.1.0",
|
||||
"resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz",
|
||||
"integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0="
|
||||
},
|
||||
"wordwrap": {
|
||||
"version": "0.0.2",
|
||||
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz",
|
||||
"integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8="
|
||||
},
|
||||
"yargs": {
|
||||
"version": "3.10.0",
|
||||
"resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz",
|
||||
"integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=",
|
||||
"requires": {
|
||||
"camelcase": "1.2.1",
|
||||
"cliui": "2.1.0",
|
||||
"decamelize": "1.2.0",
|
||||
"window-size": "0.1.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -12741,6 +12726,17 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"node-notifier": {
|
||||
"version": "5.1.2",
|
||||
"resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-5.1.2.tgz",
|
||||
"integrity": "sha1-L6nhJgX6EACdRFSdb82KY93g5P8=",
|
||||
"requires": {
|
||||
"growly": "1.3.0",
|
||||
"semver": "5.4.1",
|
||||
"shellwords": "0.1.1",
|
||||
"which": "1.3.0"
|
||||
}
|
||||
},
|
||||
"node-pre-gyp": {
|
||||
"version": "0.6.36",
|
||||
"resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.6.36.tgz",
|
||||
|
@ -14525,9 +14521,9 @@
|
|||
"integrity": "sha1-0mPKVGls2KMGtcplUekt5XkY++c="
|
||||
},
|
||||
"ultron": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.0.tgz",
|
||||
"integrity": "sha1-sHoualQagV/Go0zNRTO67DB8qGQ="
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz",
|
||||
"integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og=="
|
||||
},
|
||||
"ws": {
|
||||
"version": "2.3.1",
|
||||
|
@ -14535,7 +14531,7 @@
|
|||
"integrity": "sha1-a5Sz5EfLajY/eF6vlK9jWejoHIA=",
|
||||
"requires": {
|
||||
"safe-buffer": "5.0.1",
|
||||
"ultron": "1.1.0"
|
||||
"ultron": "1.1.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -14560,9 +14556,9 @@
|
|||
}
|
||||
},
|
||||
"react-native": {
|
||||
"version": "0.49.5",
|
||||
"resolved": "https://registry.npmjs.org/react-native/-/react-native-0.49.5.tgz",
|
||||
"integrity": "sha1-ifD+k6jaTbJnDEvQ2BExov9hfyc=",
|
||||
"version": "0.50.4",
|
||||
"resolved": "https://registry.npmjs.org/react-native/-/react-native-0.50.4.tgz",
|
||||
"integrity": "sha1-GU9dpJOQh7Os7nEqUDR19JQtyn4=",
|
||||
"requires": {
|
||||
"absolute-path": "0.0.0",
|
||||
"art": "0.10.1",
|
||||
|
@ -14581,20 +14577,21 @@
|
|||
"create-react-class": "15.6.2",
|
||||
"debug": "2.6.9",
|
||||
"denodeify": "1.2.1",
|
||||
"envinfo": "3.4.2",
|
||||
"envinfo": "3.10.0",
|
||||
"event-target-shim": "1.1.1",
|
||||
"fbjs": "0.8.14",
|
||||
"fbjs": "0.8.16",
|
||||
"fbjs-scripts": "0.8.1",
|
||||
"fs-extra": "1.0.0",
|
||||
"glob": "7.1.2",
|
||||
"graceful-fs": "4.1.11",
|
||||
"inquirer": "3.3.0",
|
||||
"lodash": "4.17.4",
|
||||
"metro-bundler": "0.13.0",
|
||||
"metro-bundler": "0.20.3",
|
||||
"mime": "1.4.1",
|
||||
"minimist": "1.2.0",
|
||||
"mkdirp": "0.5.1",
|
||||
"node-fetch": "1.7.3",
|
||||
"node-notifier": "5.1.2",
|
||||
"npmlog": "2.0.4",
|
||||
"opn": "3.0.3",
|
||||
"optimist": "0.6.1",
|
||||
|
@ -14614,7 +14611,7 @@
|
|||
"ws": "1.1.4",
|
||||
"xcode": "0.9.3",
|
||||
"xmldoc": "0.4.0",
|
||||
"yargs": "6.6.0"
|
||||
"yargs": "9.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"accepts": {
|
||||
|
@ -14674,9 +14671,9 @@
|
|||
"integrity": "sha1-rJPEEOL/ycx89LRks4KJBn9eR7Q="
|
||||
},
|
||||
"camelcase": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
|
||||
"integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo="
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz",
|
||||
"integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0="
|
||||
},
|
||||
"chalk": {
|
||||
"version": "1.1.3",
|
||||
|
@ -14743,11 +14740,6 @@
|
|||
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.1.3.tgz",
|
||||
"integrity": "sha1-5zSlwUF/zkctWu+Cw4HKu2TRpDU="
|
||||
},
|
||||
"core-js": {
|
||||
"version": "1.2.7",
|
||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz",
|
||||
"integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY="
|
||||
},
|
||||
"depd": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/depd/-/depd-1.0.1.tgz",
|
||||
|
@ -14763,20 +14755,6 @@
|
|||
"resolved": "https://registry.npmjs.org/etag/-/etag-1.7.0.tgz",
|
||||
"integrity": "sha1-A9MLX2fdbmMtKUXTDWZScxo01dg="
|
||||
},
|
||||
"fbjs": {
|
||||
"version": "0.8.14",
|
||||
"resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.14.tgz",
|
||||
"integrity": "sha1-0dviviVMNakeCfMfnNUKQLKg7Rw=",
|
||||
"requires": {
|
||||
"core-js": "1.2.7",
|
||||
"isomorphic-fetch": "2.2.1",
|
||||
"loose-envify": "1.3.1",
|
||||
"object-assign": "4.1.1",
|
||||
"promise": "7.3.1",
|
||||
"setimmediate": "1.0.5",
|
||||
"ua-parser-js": "0.7.17"
|
||||
}
|
||||
},
|
||||
"finalhandler": {
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-0.4.0.tgz",
|
||||
|
@ -14798,6 +14776,14 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"find-up": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
|
||||
"integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
|
||||
"requires": {
|
||||
"locate-path": "2.0.0"
|
||||
}
|
||||
},
|
||||
"fresh": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.3.0.tgz",
|
||||
|
@ -14852,12 +14838,15 @@
|
|||
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.11.tgz",
|
||||
"integrity": "sha1-LstC/SlHRJIiCaLnxATayHk9it4="
|
||||
},
|
||||
"is-fullwidth-code-point": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
|
||||
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
|
||||
"load-json-file": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
|
||||
"integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=",
|
||||
"requires": {
|
||||
"number-is-nan": "1.0.1"
|
||||
"graceful-fs": "4.1.11",
|
||||
"parse-json": "2.2.0",
|
||||
"pify": "2.3.0",
|
||||
"strip-bom": "3.0.0"
|
||||
}
|
||||
},
|
||||
"minimatch": {
|
||||
|
@ -14893,6 +14882,24 @@
|
|||
"gauge": "1.2.7"
|
||||
}
|
||||
},
|
||||
"os-locale": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz",
|
||||
"integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==",
|
||||
"requires": {
|
||||
"execa": "0.7.0",
|
||||
"lcid": "1.0.0",
|
||||
"mem": "1.1.0"
|
||||
}
|
||||
},
|
||||
"path-type": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz",
|
||||
"integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=",
|
||||
"requires": {
|
||||
"pify": "2.3.0"
|
||||
}
|
||||
},
|
||||
"qs": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/qs/-/qs-4.0.0.tgz",
|
||||
|
@ -14925,6 +14932,25 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"read-pkg": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz",
|
||||
"integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=",
|
||||
"requires": {
|
||||
"load-json-file": "2.0.0",
|
||||
"normalize-package-data": "2.4.0",
|
||||
"path-type": "2.0.0"
|
||||
}
|
||||
},
|
||||
"read-pkg-up": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz",
|
||||
"integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=",
|
||||
"requires": {
|
||||
"find-up": "2.1.0",
|
||||
"read-pkg": "2.0.0"
|
||||
}
|
||||
},
|
||||
"regenerator-runtime": {
|
||||
"version": "0.9.6",
|
||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.9.6.tgz",
|
||||
|
@ -15025,16 +15051,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"string-width": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
|
||||
"integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
|
||||
"requires": {
|
||||
"code-point-at": "1.1.0",
|
||||
"is-fullwidth-code-point": "1.0.0",
|
||||
"strip-ansi": "3.0.1"
|
||||
}
|
||||
},
|
||||
"strip-ansi": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
|
||||
|
@ -15043,6 +15059,11 @@
|
|||
"ansi-regex": "2.1.1"
|
||||
}
|
||||
},
|
||||
"strip-bom": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
|
||||
"integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM="
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
|
||||
|
@ -15067,24 +15088,37 @@
|
|||
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-1.1.1.tgz",
|
||||
"integrity": "sha1-rDydOfMgxtzlM5lp0FTvQ90zMxk="
|
||||
},
|
||||
"which-module": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
|
||||
"integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho="
|
||||
},
|
||||
"yargs": {
|
||||
"version": "6.6.0",
|
||||
"resolved": "https://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz",
|
||||
"integrity": "sha1-eC7CHvQDNF+DCoCMo9UTr1YGUgg=",
|
||||
"version": "9.0.1",
|
||||
"resolved": "https://registry.npmjs.org/yargs/-/yargs-9.0.1.tgz",
|
||||
"integrity": "sha1-UqzCP+7Kw0BCB47njAwAf1CF20w=",
|
||||
"requires": {
|
||||
"camelcase": "3.0.0",
|
||||
"camelcase": "4.1.0",
|
||||
"cliui": "3.2.0",
|
||||
"decamelize": "1.2.0",
|
||||
"get-caller-file": "1.0.2",
|
||||
"os-locale": "1.4.0",
|
||||
"read-pkg-up": "1.0.1",
|
||||
"os-locale": "2.1.0",
|
||||
"read-pkg-up": "2.0.0",
|
||||
"require-directory": "2.1.1",
|
||||
"require-main-filename": "1.0.1",
|
||||
"set-blocking": "2.0.0",
|
||||
"string-width": "1.0.2",
|
||||
"which-module": "1.0.0",
|
||||
"string-width": "2.1.1",
|
||||
"which-module": "2.0.0",
|
||||
"y18n": "3.2.1",
|
||||
"yargs-parser": "4.2.1"
|
||||
"yargs-parser": "7.0.0"
|
||||
}
|
||||
},
|
||||
"yargs-parser": {
|
||||
"version": "7.0.0",
|
||||
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz",
|
||||
"integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=",
|
||||
"requires": {
|
||||
"camelcase": "4.1.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -16307,6 +16341,11 @@
|
|||
"resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.6.0.tgz",
|
||||
"integrity": "sha1-zh7YN7Sw5Vtew9q4QlGrnb3Ax+w="
|
||||
},
|
||||
"shellwords": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz",
|
||||
"integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww=="
|
||||
},
|
||||
"sigmund": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz",
|
||||
|
@ -17105,6 +17144,12 @@
|
|||
"resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.4.tgz",
|
||||
"integrity": "sha1-Kb9hXUqnEhvdiYsi1LP5vE4qoD0="
|
||||
},
|
||||
"sync-exec": {
|
||||
"version": "0.6.2",
|
||||
"resolved": "https://registry.npmjs.org/sync-exec/-/sync-exec-0.6.2.tgz",
|
||||
"integrity": "sha1-cX0izFPwzh3vVZQ2LzqJouu5EQU=",
|
||||
"optional": true
|
||||
},
|
||||
"table": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/table/-/table-4.0.2.tgz",
|
||||
|
@ -18868,7 +18913,8 @@
|
|||
"which-module": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz",
|
||||
"integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8="
|
||||
"integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=",
|
||||
"dev": true
|
||||
},
|
||||
"wide-align": {
|
||||
"version": "1.1.2",
|
||||
|
@ -19183,6 +19229,7 @@
|
|||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-4.2.1.tgz",
|
||||
"integrity": "sha1-KczqwNxPA8bIe0qfIX3RjJ90hxw=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"camelcase": "3.0.0"
|
||||
},
|
||||
|
@ -19190,7 +19237,8 @@
|
|||
"camelcase": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
|
||||
"integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo="
|
||||
"integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
"js-md5": "0.6.1",
|
||||
"jssha": "2.2.0",
|
||||
"jwt-decode": "2.2.0",
|
||||
"lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#b4adec279669a08213adb543ef46a11e0d840b92",
|
||||
"lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#81f57c024e137879d6c93bef62308971d0ec71b0",
|
||||
"lodash": "4.17.4",
|
||||
"nuclear-js": "1.4.0",
|
||||
"postis": "2.2.0",
|
||||
|
@ -54,7 +54,7 @@
|
|||
"react": "16.0.0",
|
||||
"react-dom": "16.0.0",
|
||||
"react-i18next": "4.8.0",
|
||||
"react-native": "0.49.5",
|
||||
"react-native": "0.50.4",
|
||||
"react-native-background-timer": "2.0.0",
|
||||
"react-native-callstats": "3.26.2",
|
||||
"react-native-fetch-blob": "0.10.8",
|
||||
|
@ -92,7 +92,7 @@
|
|||
"eslint-plugin-react-native": "3.2.0",
|
||||
"expose-loader": "0.7.4",
|
||||
"file-loader": "1.1.5",
|
||||
"flow-bin": "0.53.0",
|
||||
"flow-bin": "0.56.0",
|
||||
"imports-loader": "0.7.1",
|
||||
"node-sass": "3.13.1",
|
||||
"precommit-hook": "3.0.0",
|
||||
|
|
|
@ -36,11 +36,12 @@ export function appNavigate(uri: ?string) {
|
|||
* property, it may have a value equal to {@code undefined} and that may be
|
||||
* acceptable.
|
||||
* @private
|
||||
* @returns {void}
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
function _appNavigateToMandatoryLocation(
|
||||
dispatch: Dispatch<*>, getState: Function,
|
||||
newLocation: Object) {
|
||||
newLocation: Object
|
||||
): Promise<void> {
|
||||
const { room } = newLocation;
|
||||
|
||||
return (
|
||||
|
|
|
@ -439,7 +439,7 @@ export function setPassword(
|
|||
conference: Object,
|
||||
method: Function,
|
||||
password: string) {
|
||||
return (dispatch: Dispatch<*>, getState: Function) => {
|
||||
return (dispatch: Dispatch<*>, getState: Function): ?Promise<void> => {
|
||||
switch (method) {
|
||||
case conference.join: {
|
||||
let state = getState()['features/base/conference'];
|
||||
|
|
|
@ -259,7 +259,7 @@ function _constructOptions(state) {
|
|||
* @returns {Function}
|
||||
*/
|
||||
export function disconnect() {
|
||||
return (dispatch: Dispatch<*>, getState: Function) => {
|
||||
return (dispatch: Dispatch<*>, getState: Function): Promise<void> => {
|
||||
const state = getState();
|
||||
const { conference, joining } = state['features/base/conference'];
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ export function disposeLib() {
|
|||
* @returns {Function}
|
||||
*/
|
||||
export function initLib() {
|
||||
return (dispatch: Dispatch<*>, getState: Function) => {
|
||||
return (dispatch: Dispatch<*>, getState: Function): Promise<void> => {
|
||||
const config = getState()['features/base/config'];
|
||||
|
||||
if (!config) {
|
||||
|
|
|
@ -109,7 +109,7 @@ export function isFatalJitsiConnectionError(error: Object | string) {
|
|||
* @param {string} url - The URL to load.
|
||||
* @returns {Promise<Object>}
|
||||
*/
|
||||
export function loadConfig(url: string) {
|
||||
export function loadConfig(url: string): Promise<Object> {
|
||||
let promise;
|
||||
|
||||
if (typeof APP === 'undefined') {
|
||||
|
|
|
@ -9,7 +9,7 @@ declare var JitsiMeetJS: Object;
|
|||
* @returns {Promise} Resolved with no arguments when the script is loaded and
|
||||
* rejected with the error from JitsiMeetJS.ScriptUtil.loadScript method.
|
||||
*/
|
||||
export function loadScript(url: string) {
|
||||
export function loadScript(url: string): Promise<void> {
|
||||
return new Promise((resolve, reject) =>
|
||||
JitsiMeetJS.util.ScriptUtil.loadScript(
|
||||
url,
|
||||
|
|
|
@ -41,7 +41,12 @@ export function cancelFeedback(score: number, message: string) {
|
|||
* submitted. Rejected if another dialog is already displayed.
|
||||
*/
|
||||
export function maybeOpenFeedbackDialog(conference: Object) {
|
||||
return (dispatch: Dispatch<*>, getState: Function) => {
|
||||
type R = {
|
||||
feedbackSubmitted: boolean,
|
||||
thankYouDialogVisible: boolean
|
||||
};
|
||||
|
||||
return (dispatch: Dispatch<*>, getState: Function): Promise<R> => {
|
||||
const state = getState();
|
||||
|
||||
if (interfaceConfig.filmStripOnly || config.iAmRecorder) {
|
||||
|
|
|
@ -30,7 +30,7 @@ export function invitePeopleAndChatRooms( // eslint-disable-line max-params
|
|||
inviteServiceUrl: string,
|
||||
inviteUrl: string,
|
||||
jwt: string,
|
||||
inviteItems: Object) {
|
||||
inviteItems: Object): Promise<void> {
|
||||
if (!inviteItems || inviteItems.length === 0) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
@ -74,7 +74,8 @@ export function searchDirectory( // eslint-disable-line max-params
|
|||
serviceUrl: string,
|
||||
jwt: string,
|
||||
text: string,
|
||||
queryTypes: Array<string> = [ 'conferenceRooms', 'user', 'room' ]) {
|
||||
queryTypes: Array<string> = [ 'conferenceRooms', 'user', 'room' ]
|
||||
): Promise<void> {
|
||||
const queryTypesString = JSON.stringify(queryTypes);
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
|
|
|
@ -120,7 +120,11 @@ function _getSymbolDescription(symbol: Symbol) {
|
|||
*/
|
||||
function _sendConferenceEvent(
|
||||
store: Object,
|
||||
{ conference, type, ...data }: { conference: Object, type: Symbol }) {
|
||||
{ conference, type, ...data }: {
|
||||
conference: Object,
|
||||
type: Symbol,
|
||||
url: ?string
|
||||
}) {
|
||||
// For these (redux) actions, conference identifies a JitsiConference
|
||||
// instance. The external API cannot transport such an object so we have to
|
||||
// transport an "equivalent".
|
||||
|
|
Loading…
Reference in New Issue