Commit bd8ae61a authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Merge branch 'update-deps-add-renovate' into 'master'

Update general dependencies and add renovate file

See merge request !237
parents bc75deed 499c2ccd
...@@ -46,6 +46,7 @@ I18n { ...@@ -46,6 +46,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -217,24 +218,7 @@ I18n { ...@@ -217,24 +218,7 @@ I18n {
"prefix": "i18next:", "prefix": "i18next:",
}, },
"modules": Object { "modules": Object {
"external": Array [ "external": Array [],
Object {
"init": [MockFunction] {
"calls": Array [
Array [
[Circular],
],
],
"results": Array [
Object {
"isThrow": false,
"value": undefined,
},
],
},
"type": "3rdParty",
},
],
"languageDetector": Object { "languageDetector": Object {
"cacheUserLanguage": [Function], "cacheUserLanguage": [Function],
"detect": [Function], "detect": [Function],
...@@ -269,6 +253,7 @@ I18n { ...@@ -269,6 +253,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -477,6 +462,7 @@ I18n { ...@@ -477,6 +462,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"prefix": "i18next::languageUtils:", "prefix": "i18next::languageUtils:",
...@@ -674,6 +660,7 @@ I18n { ...@@ -674,6 +660,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -879,6 +866,7 @@ I18n { ...@@ -879,6 +866,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"prefix": "i18next::backendConnector:", "prefix": "i18next::backendConnector:",
...@@ -1081,6 +1069,7 @@ I18n { ...@@ -1081,6 +1069,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -1446,6 +1435,7 @@ I18n { ...@@ -1446,6 +1435,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"prefix": "i18next::interpolator:", "prefix": "i18next::interpolator:",
...@@ -1647,6 +1637,7 @@ I18n { ...@@ -1647,6 +1637,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -1865,6 +1856,7 @@ I18n { ...@@ -1865,6 +1856,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"prefix": "i18next::languageUtils:", "prefix": "i18next::languageUtils:",
...@@ -2062,6 +2054,7 @@ I18n { ...@@ -2062,6 +2054,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -2267,6 +2260,7 @@ I18n { ...@@ -2267,6 +2260,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -2474,6 +2468,7 @@ I18n { ...@@ -2474,6 +2468,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"prefix": "i18next::languageUtils:", "prefix": "i18next::languageUtils:",
...@@ -2671,6 +2666,7 @@ I18n { ...@@ -2671,6 +2666,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -2876,6 +2872,7 @@ I18n { ...@@ -2876,6 +2872,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"prefix": "i18next::pluralResolver:", "prefix": "i18next::pluralResolver:",
...@@ -3377,6 +3374,8 @@ I18n { ...@@ -3377,6 +3374,8 @@ I18n {
"numbers": Array [ "numbers": Array [
1, 1,
2, 2,
20,
21,
], ],
"plurals": [Function], "plurals": [Function],
}, },
...@@ -4330,6 +4329,7 @@ I18n { ...@@ -4330,6 +4329,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"prefix": "i18next::languageUtils:", "prefix": "i18next::languageUtils:",
...@@ -4527,6 +4527,7 @@ I18n { ...@@ -4527,6 +4527,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -4732,6 +4733,7 @@ I18n { ...@@ -4732,6 +4733,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"prefix": "i18next::backendConnector:", "prefix": "i18next::backendConnector:",
...@@ -4934,6 +4936,7 @@ I18n { ...@@ -4934,6 +4936,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -5299,6 +5302,7 @@ I18n { ...@@ -5299,6 +5302,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"prefix": "i18next::interpolator:", "prefix": "i18next::interpolator:",
...@@ -5500,6 +5504,7 @@ I18n { ...@@ -5500,6 +5504,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -5712,6 +5717,7 @@ I18n { ...@@ -5712,6 +5717,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"prefix": "i18next::languageUtils:", "prefix": "i18next::languageUtils:",
...@@ -5909,6 +5915,7 @@ I18n { ...@@ -5909,6 +5915,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -6114,6 +6121,7 @@ I18n { ...@@ -6114,6 +6121,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"prefix": "i18next::translator:", "prefix": "i18next::translator:",
...@@ -6316,6 +6324,7 @@ I18n { ...@@ -6316,6 +6324,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -6521,6 +6530,7 @@ I18n { ...@@ -6521,6 +6530,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"prefix": "i18next::languageUtils:", "prefix": "i18next::languageUtils:",
...@@ -6718,6 +6728,7 @@ I18n { ...@@ -6718,6 +6728,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"preload": false, "preload": false,
...@@ -6923,6 +6934,7 @@ I18n { ...@@ -6923,6 +6934,7 @@ I18n {
"nsSeparator": false, "nsSeparator": false,
"overloadTranslationOptionHandler": [Function], "overloadTranslationOptionHandler": [Function],
"parseMissingKeyHandler": false, "parseMissingKeyHandler": false,
"partialBundledLanguages": false,
"pluralSeparator": "_", "pluralSeparator": "_",
"postProcess": false, "postProcess": false,
"prefix": "i18next::pluralResolver:", "prefix": "i18next::pluralResolver:",
...@@ -7424,6 +7436,8 @@ I18n { ...@@ -7424,6 +7436,8 @@ I18n {
"numbers": Array [ "numbers": Array [
1, 1,
2, 2,
20,
21,
], ],
"plurals": [Function], "plurals": [Function],
}, },
......
import i18n from '../../app/utils/i18n'; import i18n from '../../app/utils/i18n';
jest.mock('react-i18next', () => ({
reactI18nextModule: {},
}));
describe('i18n helper', () => { describe('i18n helper', () => {
it('should export the correct i18n helper', () => { it('should export the correct i18n helper', () => {
expect(i18n).toMatchSnapshot(); expect(i18n).toMatchSnapshot();
......
...@@ -47,17 +47,16 @@ ...@@ -47,17 +47,16 @@
} }
}, },
"dependencies": { "dependencies": {
"i18next": "^11.4.0", "@react-native-community/cli": "^1.9.5",
"i18next": "^14.1.1",
"i18next-react-native-language-detector": "^1.0.2", "i18next-react-native-language-detector": "^1.0.2",
"metro-config": "^0.53.1", "metro-config": "^0.54.1",
"metro-react-native-babel-preset": "^0.52.0", "metro-core": "^0.51.1",
"metro-react-native-babel-transformer": "^0.52.0",
"moment": "^2.24.0", "moment": "^2.24.0",
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"react": "16.8.3", "react": "16.8.3",
"react-i18next": "^7.9.0", "react-i18next": "^9.0.10",
"react-native": "0.59.8", "react-native": "0.59.8",
"react-native-cli": "^2.0.1",
"react-native-dotenv": "^0.2.0", "react-native-dotenv": "^0.2.0",
"react-native-drawer": "^2.3.0", "react-native-drawer": "^2.3.0",
"react-native-firebase": "5.0.0-rc0", "react-native-firebase": "5.0.0-rc0",
...@@ -69,31 +68,32 @@ ...@@ -69,31 +68,32 @@
"react-native-snackbar": "^0.4.7", "react-native-snackbar": "^0.4.7",
"react-native-vector-icons": "^6.3.0", "react-native-vector-icons": "^6.3.0",
"react-navigation": "^2.18.3", "react-navigation": "^2.18.3",
"react-redux": "^5.0.7", "react-redux": "^5.1.1",
"redux": "^4.0.0", "redux": "^4.0.1",
"redux-saga": "^0.16.0" "redux-saga": "^0.16.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.3.3", "@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-proposal-optional-chaining": "^7.2.0", "@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/plugin-transform-flow-strip-types": "^7.2.3", "@babel/plugin-transform-flow-strip-types": "^7.2.3",
"@babel/plugin-transform-runtime": "^7.2.0", "@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.3.1", "@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0", "@babel/preset-react": "^7.0.0",
"babel-core": "7.0.0-bridge.0", "babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1", "babel-eslint": "^10.0.1",
"babel-jest": "^24.1.0", "babel-jest": "^24.8.0",
"babel-preset-react-native": "^4.0.1", "eslint": "^5.16.0",
"eslint": "^5.2.0",
"eslint-config-airbnb": "^17.1.0", "eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.16.0", "eslint-plugin-import": "^2.17.2",
"eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.12.4", "eslint-plugin-react": "^7.13.0",
"eslint-plugin-react-native": "^3.6.0", "eslint-plugin-react-native": "^3.7.0",
"i18next-scanner": "^2.10.1", "i18next-scanner": "^2.10.1",
"jest": "^23.4.2", "jest": "^24.8.0",
"metro-react-native-babel-preset": "^0.54.1",
"metro-react-native-babel-transformer": "^0.54.1",
"react-native-git-upgrade": "^0.2.7", "react-native-git-upgrade": "^0.2.7",
"react-test-renderer": "^16.8.2", "react-test-renderer": "^16.8.6",
"redux-mock-store": "^1.5.3", "redux-mock-store": "^1.5.3",
"redux-saga-test-plan": "^3.2.0" "redux-saga-test-plan": "^3.2.0"
} }
......
{
"extends": [
"config:base"
],
"schedule": [
"every weekday except on Wednesday",
"every weekend",
"before 5pm on Wednesday"
]
}
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment