Skip to content
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

IMN-842 - Removing uuid and using crypto #1127

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ecamellini
Copy link
Collaborator

@ecamellini ecamellini commented Oct 23, 2024

Closes IMN-842

Why?

  • crypto is integrated in node and it is now the standard way to do it in node/JS
  • we remove an unnecessary external dep
  • crypto.randomUUID() is faster

See:

@@ -25,16 +25,13 @@
"pagopa-interop-commons-test": "workspace:*",
"@types/uuid": "9.0.8",
"@types/adm-zip": "0.5.5",
"pagopa-interop-commons-test": "workspace:*",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated, the dependency was duplicated

"prettier": "2.8.8",
"testcontainers": "10.9.0",
"ts-node": "10.9.2",
"typescript": "5.4.5",
"vitest": "1.6.0"
},
"dependencies": {
"ts-pattern": "5.2.0",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated, the dependency was duplicated

Copy link
Collaborator

@MalpenZibo MalpenZibo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants