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

@trezor/address-validator #9337

Merged
merged 4 commits into from
Jul 12, 2024
Merged

@trezor/address-validator #9337

merged 4 commits into from
Jul 12, 2024

Conversation

mroz22
Copy link
Contributor

@mroz22 mroz22 commented Sep 4, 2023

this is far from complete but I'd like to open it anyway.

lets move trezor-address-validator to monorepo.

there is one test failing when in monorepo and passing in standalone repo. I don't get it 😱

@mroz22 mroz22 changed the title wip @trezor/address-validator Sep 4, 2023
@socket-security
Copy link

socket-security bot commented Sep 4, 2023

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Deprecated npm/[email protected]
  • Reason: jsSHA versions < 3.0.0 will no longer receive feature updates
🚫

View full report↗︎

Next steps

What is a deprecated package?

The maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.

Research the state of the package and determine if there are non-deprecated versions that can be used, or if it should be replaced with a new, supported solution.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@mroz22
Copy link
Contributor Author

mroz22 commented May 15, 2024

ok, finally found what was the problem = strict mode + missing const

now it should work. but I started questioning if it makes much sense to move it into the monorepo

cons:

  • touching whats not broken
  • touching something that we didn't need to touch for years
  • diverging from the upstream more and more

pros:

  • when we need to touch it it will be easier to maintain

@mroz22
Copy link
Contributor Author

mroz22 commented May 15, 2024

@SocketSecurity ignore npm/[email protected]

this alert doesn't seem related to this PR at all

@mroz22 mroz22 force-pushed the trezor-address-validator branch 2 times, most recently from a287661 to d44d934 Compare May 15, 2024 10:24
@mroz22 mroz22 marked this pull request as ready for review May 15, 2024 12:28
@mroz22 mroz22 force-pushed the trezor-address-validator branch 2 times, most recently from a1e1e45 to 72b8c49 Compare July 1, 2024 16:44
@mroz22 mroz22 force-pushed the trezor-address-validator branch 2 times, most recently from 2c272e7 to 4297a0f Compare July 11, 2024 09:16
@mroz22
Copy link
Contributor Author

mroz22 commented Jul 12, 2024

/rebase

Copy link

Copy link
Contributor

@szymonlesisz szymonlesisz left a comment

Choose a reason for hiding this comment

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

looks legit 👍

@mroz22 mroz22 merged commit d9959ad into develop Jul 12, 2024
76 of 86 checks passed
@mroz22 mroz22 deleted the trezor-address-validator branch July 12, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: 🧊 Freezer
Development

Successfully merging this pull request may close these issues.

2 participants