Browse Source

Upgrade NPM dependencies/packages

j8
Lyubo Marinov 8 years ago
parent
commit
1f16233afa
3 changed files with 11 additions and 45 deletions
  1. 0
    36
      flow-typed/npm/react-i18next_v2.x.x.js
  2. 5
    3
      flow-typed/npm/redux_v3.x.x.js
  3. 6
    6
      package.json

+ 0
- 36
flow-typed/npm/react-i18next_v2.x.x.js View File

1
-// flow-typed signature: 57cf34196930be78935a42e5c8ac3cb6
2
-// flow-typed version: ae6284e7b7/react-i18next_v2.x.x/flow_>=v0.36.x_<=v0.39.x
3
-
4
-declare module 'react-i18next' {
5
-  declare type TFunction = (key?: ?string, data?: ?Object) => string;
6
-  declare type Locales = string | Array<string>;
7
-
8
-  declare type StatelessComponent<P> = (props: P) => ?React$Element<any>;
9
-
10
-  declare type Comp<P> = StatelessComponent<P> | Class<React$Component<*, P, *>>;
11
-
12
-  declare type Translator<OP, P> = {
13
-    (component: StatelessComponent<P>): Class<React$Component<void, OP, void>>;
14
-    <Def, St>(component: Class<React$Component<Def, P, St>>): Class<React$Component<Def, OP, St>>;
15
-  }
16
-
17
-  declare function translate<OP, P>(locales: Locales): Translator<OP, P>;
18
-
19
-  declare type NamespacesProps = {
20
-    components: Array<Comp<*>>,
21
-    i18n: { loadNamespaces: Function },
22
-  };
23
-
24
-  declare function loadNamespaces(props: NamespacesProps): Promise<void>;
25
-
26
-  declare type ProviderProps = { i18n: Object, children: React$Element<any> };
27
-
28
-  declare var I18nextProvider: Class<React$Component<void, ProviderProps, void>>;
29
-
30
-  declare type InterpolateProps = {
31
-    children?: React$Element<any>,
32
-    className?: string,
33
-  };
34
-
35
-  declare var Interpolate: Class<React$Component<void, InterpolateProps, void>>;
36
-}

+ 5
- 3
flow-typed/npm/redux_v3.x.x.js View File

1
-// flow-typed signature: ba132c96664f1a05288f3eb2272a3c35
2
-// flow-typed version: c4bbd91cfc/redux_v3.x.x/flow_>=v0.33.x
1
+// flow-typed signature: 7f1a115f75043c44385071ea3f33c586
2
+// flow-typed version: 358375125e/redux_v3.x.x/flow_>=v0.33.x
3
 
3
 
4
 declare module 'redux' {
4
 declare module 'redux' {
5
 
5
 
27
 
27
 
28
   declare type Reducer<S, A> = (state: S, action: A) => S;
28
   declare type Reducer<S, A> = (state: S, action: A) => S;
29
 
29
 
30
+  declare type CombinedReducer<S, A> = (state: $Shape<S> & {} | void, action: A) => S;
31
+
30
   declare type Middleware<S, A> =
32
   declare type Middleware<S, A> =
31
     (api: MiddlewareAPI<S, A>) =>
33
     (api: MiddlewareAPI<S, A>) =>
32
       (next: Dispatch<A>) => Dispatch<A>;
34
       (next: Dispatch<A>) => Dispatch<A>;
49
   declare function bindActionCreators<A, C: ActionCreator<A, any>>(actionCreator: C, dispatch: Dispatch<A>): C;
51
   declare function bindActionCreators<A, C: ActionCreator<A, any>>(actionCreator: C, dispatch: Dispatch<A>): C;
50
   declare function bindActionCreators<A, K, C: ActionCreators<K, A>>(actionCreators: C, dispatch: Dispatch<A>): C;
52
   declare function bindActionCreators<A, K, C: ActionCreators<K, A>>(actionCreators: C, dispatch: Dispatch<A>): C;
51
 
53
 
52
-  declare function combineReducers<O: Object, A>(reducers: O): Reducer<$ObjMap<O, <S>(r: Reducer<S, any>) => S>, A>;
54
+  declare function combineReducers<O: Object, A>(reducers: O): CombinedReducer<$ObjMap<O, <S>(r: Reducer<S, any>) => S>, A>;
53
 
55
 
54
   declare function compose<S, A>(...fns: Array<StoreEnhancer<S, A>>): Function;
56
   declare function compose<S, A>(...fns: Array<StoreEnhancer<S, A>>): Function;
55
 
57
 

+ 6
- 6
package.json View File

29
     "bootstrap": "3.1.1",
29
     "bootstrap": "3.1.1",
30
     "es6-iterator": "2.0.1",
30
     "es6-iterator": "2.0.1",
31
     "es6-symbol": "3.1.1",
31
     "es6-symbol": "3.1.1",
32
-    "i18next": "7.1.3",
32
+    "i18next": "8.0.0",
33
     "i18next-browser-languagedetector": "1.0.1",
33
     "i18next-browser-languagedetector": "1.0.1",
34
     "i18next-xhr-backend": "1.4.1",
34
     "i18next-xhr-backend": "1.4.1",
35
     "jitsi-meet-logger": "jitsi/jitsi-meet-logger",
35
     "jitsi-meet-logger": "jitsi/jitsi-meet-logger",
44
     "postis": "2.2.0",
44
     "postis": "2.2.0",
45
     "react": "15.4.2",
45
     "react": "15.4.2",
46
     "react-dom": "15.4.2",
46
     "react-dom": "15.4.2",
47
-    "react-i18next": "2.2.3",
47
+    "react-i18next": "3.1.0",
48
     "react-native": "0.42.3",
48
     "react-native": "0.42.3",
49
     "react-native-background-timer": "1.0.0",
49
     "react-native-background-timer": "1.0.0",
50
     "react-native-immersive": "0.0.4",
50
     "react-native-immersive": "0.0.4",
66
   },
66
   },
67
   "devDependencies": {
67
   "devDependencies": {
68
     "babel-core": "6.24.1",
68
     "babel-core": "6.24.1",
69
-    "babel-eslint": "7.2.1",
70
-    "babel-loader": "6.4.1",
69
+    "babel-eslint": "7.2.3",
70
+    "babel-loader": "7.0.0",
71
     "babel-polyfill": "6.23.0",
71
     "babel-polyfill": "6.23.0",
72
     "babel-preset-es2015": "6.24.1",
72
     "babel-preset-es2015": "6.24.1",
73
     "babel-preset-react": "6.24.1",
73
     "babel-preset-react": "6.24.1",
77
     "eslint": "3.19.0",
77
     "eslint": "3.19.0",
78
     "eslint-plugin-flowtype": "2.30.4",
78
     "eslint-plugin-flowtype": "2.30.4",
79
     "eslint-plugin-import": "2.2.0",
79
     "eslint-plugin-import": "2.2.0",
80
-    "eslint-plugin-jsdoc": "3.0.0",
80
+    "eslint-plugin-jsdoc": "3.0.2",
81
     "eslint-plugin-react": "6.10.3",
81
     "eslint-plugin-react": "6.10.3",
82
-    "eslint-plugin-react-native": "2.3.1",
82
+    "eslint-plugin-react-native": "2.3.2",
83
     "expose-loader": "0.7.3",
83
     "expose-loader": "0.7.3",
84
     "file-loader": "0.11.1",
84
     "file-loader": "0.11.1",
85
     "flow-bin": "0.38.0",
85
     "flow-bin": "0.38.0",

Loading…
Cancel
Save