Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit 61f7020

Browse files
committed
chore: update dependencies
1 parent 4151ccb commit 61f7020

File tree

7 files changed

+852
-364
lines changed

7 files changed

+852
-364
lines changed

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,45 +45,45 @@
4545
},
4646
"homepage": "https://github.com/react-navigation/react-navigation-stack#readme",
4747
"devDependencies": {
48-
"@babel/core": "^7.7.5",
49-
"@commitlint/config-conventional": "^8.2.0",
48+
"@babel/core": "^7.7.7",
49+
"@commitlint/config-conventional": "^8.3.4",
5050
"@expo/vector-icons": "^10.0.6",
5151
"@react-native-community/bob": "^0.7.0",
5252
"@react-native-community/masked-view": "^0.1.5",
53-
"@react-navigation/stack": "^5.0.0-alpha.49",
53+
"@react-navigation/stack": "^5.0.0-alpha.50",
5454
"@release-it/conventional-changelog": "^1.1.0",
55-
"@types/color": "^3.0.0",
56-
"@types/jest": "^24.0.23",
57-
"@types/react": "^16.9.16",
58-
"@types/react-native": "^0.60.25",
55+
"@types/color": "^3.0.1",
56+
"@types/jest": "^24.0.25",
57+
"@types/react": "^16.9.17",
58+
"@types/react-native": "^0.60.27",
5959
"@types/react-test-renderer": "^16.9.1",
60-
"commitlint": "^8.2.0",
61-
"eslint": "^6.7.2",
62-
"eslint-config-satya164": "^3.1.2",
60+
"commitlint": "^8.3.4",
61+
"eslint": "^6.8.0",
62+
"eslint-config-satya164": "^3.1.5",
6363
"eslint-plugin-react-native-globals": "^0.1.0",
6464
"husky": "^3.1.0",
6565
"jest": "^24.9.0",
6666
"prettier": "^1.19.1",
6767
"react": "~16.9.0",
6868
"react-dom": "~16.9.0",
6969
"react-native": "~0.61.4",
70-
"react-native-gesture-handler": "^1.5.2",
71-
"react-native-safe-area-context": "^0.6.1",
72-
"react-native-screens": "^1.0.0-alpha.23",
70+
"react-native-gesture-handler": "^1.5.3",
71+
"react-native-safe-area-context": "^0.6.2",
72+
"react-native-screens": "^2.0.0-alpha.22",
7373
"react-navigation": "^4.0.10",
7474
"react-test-renderer": "~16.9.0",
7575
"release-it": "^12.4.3",
7676
"scheduler": "^0.18.0",
77-
"typescript": "^3.7.3"
77+
"typescript": "^3.7.4"
7878
},
7979
"peerDependencies": {
8080
"@react-native-community/masked-view": "^0.1.1",
8181
"react": "*",
8282
"react-native": "*",
83-
"react-native-gesture-handler": "^1.0.0",
84-
"react-native-safe-area-context": "^0.3.3",
85-
"react-native-screens": "^1.0.0 || ^1.0.0-alpha || ^2.0.0-alpha",
86-
"react-navigation": "^4.0.7"
83+
"react-native-gesture-handler": "^1.5.0",
84+
"react-native-safe-area-context": "^0.6.0",
85+
"react-native-screens": "^1.0.0 || ^1.0.0-alpha.0 || ^2.0.0-alph.20",
86+
"react-navigation": "^4.0.10"
8787
},
8888
"jest": {
8989
"preset": "react-native",

scripts/stack.patch

Lines changed: 433 additions & 25 deletions
Large diffs are not rendered by default.

src/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import * as TransitionPresets from './vendor/TransitionConfigs/TransitionPresets
99
export { default as createStackNavigator } from './navigators/createStackNavigator';
1010

1111
export const Assets = [
12+
// eslint-disable-next-line import/no-commonjs
1213
require('./vendor/views/assets/back-icon.png'),
14+
// eslint-disable-next-line import/no-commonjs
1315
require('./vendor/views/assets/back-icon-mask.png'),
1416
];
1517

src/navigators/__tests__/__snapshots__/NestedNavigator.test.tsx.snap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ Array [
126126
}
127127
/>
128128
<View
129-
progress={1}
130129
style={
131130
Array [
132131
Object {
@@ -281,7 +280,6 @@ Array [
281280
}
282281
/>
283282
<View
284-
progress={1}
285283
style={
286284
Array [
287285
Object {

src/navigators/__tests__/__snapshots__/StackNavigator.test.tsx.snap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ Array [
126126
}
127127
/>
128128
<View
129-
progress={1}
130129
style={
131130
Array [
132131
Object {
@@ -424,7 +423,6 @@ Array [
424423
}
425424
/>
426425
<View
427-
progress={1}
428426
style={
429427
Array [
430428
Object {

src/utils/validateDeprecatedConfig.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { StyleProp, ViewStyle } from 'react-native';
12
import { StackNavigationOptions, StackNavigationConfig } from '../vendor/types';
23

34
type Validation = {
@@ -17,7 +18,10 @@ const validations: Record<string, Validation> = {
1718
c.transparentCard
1819
? {
1920
...o,
20-
cardStyle: [{ backgroundColor: 'transparent' }, o.cardStyle],
21+
cardStyle: [
22+
{ backgroundColor: 'transparent' },
23+
o.cardStyle,
24+
] as StyleProp<ViewStyle>,
2125
}
2226
: o,
2327
},

0 commit comments

Comments
 (0)