Skip to content

Commit 96b2a92

Browse files
authored
Merge pull request #25 from AmitM30/dev
Remove Git recommended security vulnerabilities
2 parents d717f9e + 4e796b6 commit 96b2a92

File tree

5 files changed

+694
-569
lines changed

5 files changed

+694
-569
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ This repo supports the latest version of React Native (v0.57.8+) supported by RN
1010

1111
**UPDATE** (8th March '19): RNN upgraded to v2.13.1 | RN to 0.58.6 | React to 16.8.4
1212

13+
**UPDATE** (30th April '19): RNN upgraded to v2.18.3 | RN to 0.59.5 | React to 16.8.6
14+
15+
**UPDATE** (2nd April '19): RNN upgraded to v2.26.2 | RN to 0.59.10
16+
1317
### Who is this for?
1418

1519
Someone looking to jumpstart building apps using RN and prefers TS. The base setup has been taken care of, just `yarn install` and get going from respective IDEs.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"boilerplate",
88
"react native navigation"
99
],
10-
"version": "v0.2.2",
10+
"version": "v0.2.3",
1111
"author": {
1212
"name": "Amit Mangal",
1313
"email": "[email protected]",
@@ -31,11 +31,10 @@
3131
},
3232
"dependencies": {
3333
"react": "^16.8.6",
34-
"react-native": "^0.59.5",
35-
"react-native-navigation": "^2.18.3",
34+
"react-native": "^0.59.10",
35+
"react-native-navigation": "^2.26.2",
3636
"react-redux": "^7.0.3",
3737
"redux": "^4.0.1",
38-
"redux-logger": "^3.0.6",
3938
"redux-thunk": "^2.3.0"
4039
},
4140
"license": "MIT",
@@ -54,18 +53,19 @@
5453
"babel-preset-airbnb": "^3.2.0",
5554
"babel-preset-react-native": "^4.0.1",
5655
"cross-env": "^5.2.0",
57-
"eslint": "^5.16.0",
56+
"eslint": "^6.6.0",
5857
"eslint-config-airbnb": "^17.1.0",
5958
"eslint-plugin-import": "^2.14.0",
6059
"eslint-plugin-jest": "^22.1.2",
6160
"eslint-plugin-jsx-a11y": "^6.1.2",
6261
"eslint-plugin-react": "^7.12.2",
6362
"eslint-watch": "^4.0.2",
64-
"jest": "^24.7.1",
63+
"jest": "^24.9.0",
6564
"metro-react-native-babel-preset": "^0.51.1",
6665
"react-addons-test-utils": "^15.6.2",
6766
"react-native-typescript-transformer": "^1.2.11",
6867
"react-test-renderer": "16.6.3",
68+
"redux-logger": "^3.0.6",
6969
"regenerator-runtime": "^0.13.1",
7070
"ts-jest": "^23.10.5",
7171
"tslint": "^5.16.0",

src/view/elements/buttons.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { TouchableOpacity } from 'react-native';
2+
import { TouchableOpacity, TextProps } from 'react-native';
33

44
import { GLOBAL } from '../styles/global';
55
import { CText } from './custom';
@@ -8,7 +8,7 @@ type Callback = () => any;
88
export interface Props {
99
title: string;
1010
onClick: Callback;
11-
style?: Text.propTypes.style;
11+
style?: TextProps;
1212
}
1313

1414
/**

src/view/elements/custom.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import * as React from 'react';
2-
import { Text } from 'react-native';
2+
import { Text, TextProps } from 'react-native';
33

44
import { GLOBAL } from '../styles/global';
55

66
export interface Props {
7-
style: Text.propTypes.style;
7+
style: TextProps;
88
}
99

1010
interface State {}

0 commit comments

Comments
 (0)