-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): move to uuid@8 #312
Conversation
Signed-off-by: Simon Stone <[email protected]>
fd16c58
to
37042ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Are you aware of any change in behavior between those two versions of uuid
that we should be aware of or concerned about? [Since we mock the calls in test, not sure what we actually test there]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Could you please add the corresponding method in the typescript interface as well?
export class Factory { |
@jeromesimeon I did! https://github.com/accordproject/concerto/pull/312/files#diff-e8048dc5a91e53453da6b9fc03e13c5a41d61435bc2e24fb3d05691999118b6cR219 I'm not aware of any differences in behaviour between the two versions, other than "more randomness". |
duh 🤦 😀 this is going in! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
Currently installing the
concerto-core
module results in the following warning:This is because it depends on
[email protected]
. This change moves to[email protected]
.Unfortunately the way the
uuid
module is written means that it is no longer possible to stub. To get the affected tests working again, I have added a newFactory.newId
function that can be stubbed instead.Signed-off-by: Simon Stone [email protected]