From 93fae9025333c21ac16ecfcf13f3732c6759500b Mon Sep 17 00:00:00 2001
From: Bertrand Presles <bpresles@gmail.com>
Date: Sun, 5 Jan 2020 22:58:31 +0100
Subject: [PATCH] Fix potential 'Cannot find module uuid/v4' error after a
 'ionic cordova platform add'

---
 package.json | 5 +++--
 yarn.lock    | 7 ++++++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/package.json b/package.json
index fc27ff01d..4aa02080a 100644
--- a/package.json
+++ b/package.json
@@ -32,7 +32,7 @@
   },
   "dependencies": {
     "@bower_components/Leaflet.EasyButton": "CliffCloud/Leaflet.EasyButton#^2.4.0",
-    "@bower_components/Leaflet.FeatureGroup.SubGroup": "VivekKhandre/Leaflet.FeatureGroup.SubGroup#0.1.2",
+    "@bower_components/Leaflet.FeatureGroup.SubGroup": "VivekKhandre/Leaflet.FeatureGroup.SubGroup#v0.1.2",
     "@bower_components/Leaflet.awesome-markers": "lvoogdt/Leaflet.awesome-markers#2.0.2",
     "@bower_components/aes-js": "ricmoo/aes-js#3.1.2",
     "@bower_components/angular": "angular/bower-angular#~1.5.11",
@@ -97,7 +97,8 @@
     "cordova-plugin-whitelist": "^1.3.4",
     "cordova-plugin-x-toast": "^2.7.2",
     "ionic-plugin-keyboard": "^2.2.1",
-    "phonegap-plugin-barcodescanner": "^8.1.0"
+    "phonegap-plugin-barcodescanner": "^8.1.0",
+    "uuid": "3.2.1"
   },
   "devDependencies": {
     "@ionic/v1-toolkit": "2.0.18",
diff --git a/yarn.lock b/yarn.lock
index c122feb9b..9d88716c9 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -8,7 +8,7 @@
   dependencies:
     leaflet "^1.0.1"
 
-"@bower_components/Leaflet.FeatureGroup.SubGroup@VivekKhandre/Leaflet.FeatureGroup.SubGroup#0.1.2":
+"@bower_components/Leaflet.FeatureGroup.SubGroup@VivekKhandre/Leaflet.FeatureGroup.SubGroup#v0.1.2":
   version "0.1.2"
   resolved "https://codeload.github.com/VivekKhandre/Leaflet.FeatureGroup.SubGroup/tar.gz/2ec699f11e1b6a8fa2596a1bb2b7a144d162c6d6"
 
@@ -9358,6 +9358,11 @@ utils-merge@1.0.1:
   resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
   integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=
 
+uuid@3.2.1:
+  version "3.2.1"
+  resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14"
+  integrity sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==
+
 uuid@^3.2.1, uuid@^3.3.2:
   version "3.3.3"
   resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866"
-- 
GitLab