Skip to content

Commit e9928d5

Browse files
authored
Fix broken uuid dependency (#44)
Fixes #41
1 parent 5c1ecf7 commit e9928d5

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"expo-2d-context": "^0.0.2",
6666
"fbemitter": "^2.1.1",
6767
"text-encoding": "^0.7.0",
68+
"uuid": "^8.3.2",
6869
"xmldom-qsa": "^1.0.3"
6970
}
7071
}

src/DOM/HTMLImageElement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as FileSystem from 'expo-file-system';
33
const { writeAsStringAsync, documentDirectory } = FileSystem;
44
const EncodingType = FileSystem.EncodingType || FileSystem.EncodingTypes;
55

6-
import uuidv1 from 'uuid/v1';
6+
import { v1 as uuidv1 } from 'uuid';
77

88
import Element from './Element';
99

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6053,6 +6053,11 @@ uuid@^3.3.2:
60536053
version "3.3.2"
60546054
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131"
60556055

6056+
uuid@^8.3.2:
6057+
version "8.3.2"
6058+
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
6059+
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
6060+
60566061
validate-npm-package-license@^3.0.1:
60576062
version "3.0.4"
60586063
resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"

0 commit comments

Comments
 (0)