From 54fe29ca81bc8b1f182258b370774de1988ab3fa Mon Sep 17 00:00:00 2001 From: Almouro Date: Mon, 28 Jan 2019 18:16:09 +0100 Subject: [PATCH] fix: expo support --- Example/metro.config.js | 2 +- Example/package.json | 2 +- Example/yarn.lock | 25 +++++++++---------------- package.json | 2 +- src/withPickerValues/KeyboardModal.js | 2 +- yarn.lock | 23 +++++++++-------------- 6 files changed, 22 insertions(+), 34 deletions(-) diff --git a/Example/metro.config.js b/Example/metro.config.js index dcdbcca..c13fa37 100644 --- a/Example/metro.config.js +++ b/Example/metro.config.js @@ -16,7 +16,7 @@ module.exports = { "lodash", "recompose", "@bam.tech/react-native-modalbox", - "@bam.tech/react-native-root-siblings", + "react-native-root-siblings", "@babel/runtime" ] } diff --git a/Example/package.json b/Example/package.json index 5169f6f..d165786 100644 --- a/Example/package.json +++ b/Example/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@bam.tech/react-native-modalbox": "^1.4.2", - "@bam.tech/react-native-root-siblings": "^2.0.3", + "react-native-root-siblings": "3.1.7", "date-fns": "^1.29.0", "formik": "^1.4.0", "lodash": "^4.17.11", diff --git a/Example/yarn.lock b/Example/yarn.lock index c961408..e723fb8 100644 --- a/Example/yarn.lock +++ b/Example/yarn.lock @@ -578,14 +578,6 @@ create-react-class "^15.6.0" prop-types "^15.5.10" -"@bam.tech/react-native-root-siblings@^2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@bam.tech/react-native-root-siblings/-/react-native-root-siblings-2.0.3.tgz#ac1dee579874998b2796ad20f6648d7033320c5c" - integrity sha1-rB3uV5h0mYsnlq0g9mSNcDMyDFw= - dependencies: - fbemitter "^2.1.1" - static-container "^1.0.0" - abab@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.0.tgz#aba0ab4c5eee2d4c79d3487d85450fb2376ebb0f" @@ -1810,13 +1802,6 @@ fb-watchman@^2.0.0: dependencies: bser "^2.0.0" -fbemitter@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/fbemitter/-/fbemitter-2.1.1.tgz#523e14fdaf5248805bb02f62efc33be703f51865" - integrity sha1-Uj4U/a9SSIBbsC9i78M75wP1GGU= - dependencies: - fbjs "^0.8.4" - fbjs-css-vars@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/fbjs-css-vars/-/fbjs-css-vars-1.0.1.tgz#836d876e887d702f45610f5ebd2fbeef649527fc" @@ -1836,7 +1821,7 @@ fbjs-scripts@^1.0.0: semver "^5.1.0" through2 "^2.0.0" -fbjs@^0.8.0, fbjs@^0.8.1, fbjs@^0.8.4, fbjs@^0.8.9: +fbjs@^0.8.0, fbjs@^0.8.1, fbjs@^0.8.9: version "0.8.17" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd" dependencies: @@ -4146,6 +4131,14 @@ react-native-modal@^6.2.0: prop-types "^15.6.1" react-native-animatable "^1.2.4" +react-native-root-siblings@3.1.7: + version "3.1.7" + resolved "https://registry.yarnpkg.com/react-native-root-siblings/-/react-native-root-siblings-3.1.7.tgz#9af7cf7495311db9fbe929201a3234ed114cfe77" + integrity sha512-KYnDyEOR0YSt6WBY3zpF2OOC6AED7dOhdKZamOJaEmBVl8LO3bzvqu39AToH4G3fOspAJVtop7MjH7bzUxtUFQ== + dependencies: + prop-types "^15.6.2" + static-container "^1.0.0" + react-native@0.57.7: version "0.57.7" resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.57.7.tgz#5b3af1c43366c41d8d8d2540fea8ce590060bca1" diff --git a/package.json b/package.json index ff563ec..cc7814e 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ ], "dependencies": { "@bam.tech/react-native-modalbox": "^1.4.2", - "@bam.tech/react-native-root-siblings": "^2.0.3", + "react-native-root-siblings": "3.1.7", "lodash": "4.17.5", "recompose": "^0.26.0" }, diff --git a/src/withPickerValues/KeyboardModal.js b/src/withPickerValues/KeyboardModal.js index a83e4ee..27f6acf 100644 --- a/src/withPickerValues/KeyboardModal.js +++ b/src/withPickerValues/KeyboardModal.js @@ -3,7 +3,7 @@ import React, { PureComponent } from "react"; import { Easing, Keyboard } from "react-native"; import Modal from "@bam.tech/react-native-modalbox"; -import RootSiblings from "@bam.tech/react-native-root-siblings"; +import RootSiblings from "react-native-root-siblings"; type PropsType = { style: Object, diff --git a/yarn.lock b/yarn.lock index 3cd0e88..fcb4dbb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -865,13 +865,6 @@ create-react-class "^15.6.0" prop-types "^15.5.10" -"@bam.tech/react-native-root-siblings@^2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@bam.tech/react-native-root-siblings/-/react-native-root-siblings-2.0.3.tgz#ac1dee579874998b2796ad20f6648d7033320c5c" - dependencies: - fbemitter "^2.1.1" - static-container "^1.0.0" - "@mrmlnc/readdir-enhanced@^2.2.1": version "2.2.1" resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" @@ -4072,12 +4065,6 @@ fb-watchman@^2.0.0: dependencies: bser "^2.0.0" -fbemitter@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/fbemitter/-/fbemitter-2.1.1.tgz#523e14fdaf5248805bb02f62efc33be703f51865" - dependencies: - fbjs "^0.8.4" - fbjs-scripts@^0.8.1: version "0.8.1" resolved "https://registry.yarnpkg.com/fbjs-scripts/-/fbjs-scripts-0.8.1.tgz#c1c6efbecb7f008478468976b783880c2f669765" @@ -4103,7 +4090,7 @@ fbjs@^0.8.0: setimmediate "^1.0.5" ua-parser-js "^0.7.18" -fbjs@^0.8.1, fbjs@^0.8.14, fbjs@^0.8.16, fbjs@^0.8.4, fbjs@^0.8.9: +fbjs@^0.8.1, fbjs@^0.8.14, fbjs@^0.8.16, fbjs@^0.8.9: version "0.8.16" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.16.tgz#5e67432f550dc41b572bf55847b8aca64e5337db" dependencies: @@ -8389,6 +8376,14 @@ react-fast-compare@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-1.0.0.tgz#813a039155e49b43ceffe99528fe5e9d97a6c938" +react-native-root-siblings@3.1.7: + version "3.1.7" + resolved "https://registry.yarnpkg.com/react-native-root-siblings/-/react-native-root-siblings-3.1.7.tgz#9af7cf7495311db9fbe929201a3234ed114cfe77" + integrity sha512-KYnDyEOR0YSt6WBY3zpF2OOC6AED7dOhdKZamOJaEmBVl8LO3bzvqu39AToH4G3fOspAJVtop7MjH7bzUxtUFQ== + dependencies: + prop-types "^15.6.2" + static-container "^1.0.0" + react-native@0.53.0: version "0.53.0" resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.53.0.tgz#d57b49b1683f3bbfffd098fd07f7be0ff9e9df74"