From 0c9ac3793e5a60fb483f6fb0e89a45102d403c9a Mon Sep 17 00:00:00 2001 From: Daniel Molnar Date: Tue, 17 Nov 2020 19:03:00 +0100 Subject: [PATCH] chore(uuid): add package for creating uuids - added react-native-get-random-values - https://github.com/LinusU/react-native-get-random-values - works with Expo since SDK 39 - https://github.com/uuidjs/uuid/pull/515 - with that package we are able to create uuids for several use cases, like the matomo user id SVA-63 --- package.json | 1 + yarn.lock | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/package.json b/package.json index 1f9c59bbb..d8f363b06 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "react-native-elements": "1.1.0", "react-native-expo-image-cache": "4.1.0", "react-native-gesture-handler": "~1.7.0", + "react-native-get-random-values": "^1.5.0", "react-native-modal-dropdown": "https://github.com/siemiatj/react-native-modal-dropdown", "react-native-reanimated": "~1.13.0", "react-native-render-html": "4.2.3", diff --git a/yarn.lock b/yarn.lock index 5fb2b47e0..358d3583f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5065,6 +5065,11 @@ fancy-log@^1.3.2: parse-node-version "^1.0.0" time-stamp "^1.0.0" +fast-base64-decode@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fast-base64-decode/-/fast-base64-decode-1.0.0.tgz#b434a0dd7d92b12b43f26819300d2dafb83ee418" + integrity sha512-qwaScUgUGBYeDNRnbc/KyllVU88Jk1pRHPStuF/lO7B0/RTRLj7U0lkdTAutlBblY08rwZDff6tNU9cjv6j//Q== + fast-deep-equal@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" @@ -8600,6 +8605,13 @@ react-native-gesture-handler@~1.7.0: invariant "^2.2.4" prop-types "^15.7.2" +react-native-get-random-values@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/react-native-get-random-values/-/react-native-get-random-values-1.5.0.tgz#91cda18f0e66e3d9d7660ba80c61c914030c1e05" + integrity sha512-LK+Wb8dEimJkd/dub7qziDmr9Tw4chhpzVeQ6JDo4czgfG4VXbptRyOMdu8503RiMF6y9pTH6ZUTkrrpprqT7w== + dependencies: + fast-base64-decode "^1.0.0" + "react-native-modal-dropdown@https://github.com/siemiatj/react-native-modal-dropdown": version "0.7.5" resolved "https://github.com/siemiatj/react-native-modal-dropdown#498f0711655616360a61b1e620576571582588aa"