Bump @metamask/scure-bip39 from 2.1.0 to 2.1.1#1868
Conversation
Bumps [@metamask/scure-bip39](https://github.com/MetaMask/scure-bip39) from 2.1.0 to 2.1.1. - [Release notes](https://github.com/MetaMask/scure-bip39/releases) - [Changelog](https://github.com/MetaMask/scure-bip39/blob/main/CHANGELOG.md) - [Commits](MetaMask/scure-bip39@v2.1.0...v2.1.1) --- updated-dependencies: - dependency-name: "@metamask/scure-bip39" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
4 similar comments
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
@dependabot recreate |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
11 similar comments
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
|
Not sure why this is happening now (failing test for KeyringController): |
|
@mikesposito Would you happen to have any insight here since you've worked on KeyringController? Have you seen this before? |
|
Hmm... could this change in |
|
Okay, I managed to find the issue. It looks like there is a dependency update downstream. In addition to upgrading In However, That said, in the past we've encountered a similar problem with Another, simpler way we could solve this is to pop a |
|
@dependabot recreate |
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
| async setup() { | ||
| await super.setup(); | ||
| if (typeof this.global.crypto === 'undefined') { | ||
| this.global.crypto = require('crypto').webcrypto; |
There was a problem hiding this comment.
@noble/hashes will use Web Crypto API within a Node context. Specifically, this file will get loaded thanks to this line in package.json.
Unfortunately, that's not happening in the tests, and this file gets loaded instead, which attempts to read global.crypto instead of require('crypto').webcrypto. I'm not 100% sure on this, but I believe that's happening because of the way we've configured TypeScript: we're using a moduleResolution of node, i.e. "classic" mode, which means that TypeScript skips the "exports" field in package.json.
|
Tests should work now! |
Bumps @metamask/scure-bip39 from 2.1.0 to 2.1.1.
Release notes
Sourced from
@metamask/scure-bip39's releases.Changelog
Sourced from
@metamask/scure-bip39's changelog.Commits
8d4b2d22.1.1 (#24)f4b3729ci: run on ubuntu-latest (22.04) instead of ubuntu-20.04 (#22)b706ff0devDeps: bump and unpin mocha, prettier, typescript (#23)03d5763deps:@noble/hashes@~1.1.0->~1.3.2 (#20)cb66d97Indicate supported Node.js versions; update node versions in CI (#21)d451024add yarn.lock v1 (#19)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)