Commit 80aa455
authored
fix(utils): Wrap uuid.v4 to disallow passing extra arguments and prevent dependency on uuid package types (#509)
Summary:
Reverts part of a prior change in the utils package for two reasons:
- uuid.v4 has different behavior when passed arguments. We have no use for this behavior, thus it is better to ensure no arguments are accidentally passed.
- We don't want our type definitions to be dependent on uuid's type definitions
Test plan:
Existing tests1 parent 0e85707 commit 80aa455
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
0 commit comments