-
-
Notifications
You must be signed in to change notification settings - Fork 284
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(suite): update mission dependencies #14194
Conversation
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring: Next stepsTake a deeper look at the dependencyTake 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 packageIf 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 riskTo ignore an alert, reply with a comment starting with |
b283a54
to
ec9d643
Compare
const result = varuint.decode(buffer, offset); | ||
const { numberValue, bytes } = varuint.decode(buffer, offset); | ||
|
||
if (numberValue === null) throw new Error(OUT_OF_RANGE_ERROR); |
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.
They also added bigint
support, so the lib fn no longer throws error when out of range, but instead returns null number (and non-null bigint number).
In this PR I wanted to keep the same functionality, not refactor our utxo-lib
to support bigints (I don't even know if it's needed), so the error is thrown.
ec9d643
to
57221d8
Compare
Concerning socket-security:
|
@SocketSecurity ignore npm/read-binary-file-arch@1.0.6 npm/@electron/rebuild@3.6.0 npm/builder-util@25.0.3 Discussed with @komret , see comment above with explanation |
57221d8
to
0353b1a
Compare
shell.nix
Outdated
@@ -8,7 +8,7 @@ with import | |||
|
|||
let | |||
# unstable packages | |||
electron = electron_30; # use the same version as defined in packages/suite-desktop/package.json | |||
electron = electron; # use the same version as defined in packages/suite-desktop/package.json. Note that the 31 version is named just "electron" |
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.
Not entirely sure if we want to use it, if it doesn't have specific version... Could it break in future?
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.
i think it breaks desktop builds on nixos, but 31.4 should be there already
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.
Well, there is electron-chromedriver_31
listed, but not electron_31
. They did add it, but only named as electron
. At first I thought it's no problem, but you're right, it will break desktop builds when they bump to 32 at nixos repository.
So I'm gonna drop the electron bump from this PR and finish that later. I'll write an email to the maintainers to ask about it 🙂
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.
update of varuint-bitcoin
looks ok 👍
e90d90d
to
b5aaad0
Compare
b5aaad0
to
139c6c3
Compare
Description
Update most Mission-related dependencies:
electron-builder
simple-git
electron-updater
varuint-bitcoin
These were not updated:
electron
31tiny-secp256k1
WIP in #12261electron-store
requires refactoring our electron main process to ESBesides CI checks ✔️ , I have tested: local suite:dev, suite:dev:desktop, linux build ✔️
ℹ️ For reference, last bump mission deps PR was #13938