KeyringController
KeyringController copied to clipboard
chore(deps): bump @metamask/utils from 8.4.0 to 9.1.0
Bumps @metamask/utils from 8.4.0 to 9.1.0.
Release notes
Sourced from @metamask/utils's releases.
9.1.0
Added
- Add
PublicInterfacetype (#197)9.0.0
Changed
- BREAKING: The return types of functions
getChecksumAddress,numberToHex,bigIntToHexare narrowed fromstringtoHex(#193)Fixed
- Bump
@metamask/superstructfrom^3.0.0to^3.1.0(#194)
- If
@metamask/utils<=8.5.0is used with@metamask/superstruct>=3.1.0the following error may be encountered:This can be resolved by updatingerror TS2742: The inferred type of 'ExampleType' cannot be named without a reference to '@metamask/utils/node_modules/@metamask/superstruct'. This is likely not portable. A type annotation is necessary.@metamask/utilsto>=9.0.0.8.5.0
Changed
- Bump dependency
semverfrom^5.7.1to^7.6.0(#181).Fixed
- Replace dependency
superstruct^1.0.3with ESM-compatible@metamask/superstruct^3.0.0(#185).
- This fixes the issue of this package being unusable by any TypeScript project that uses
Node16orNodeNextas itsmoduleResolutionoption.- Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files (#182)
- Previously, this package shipped with only one variant of type declaration files, and these files were only CommonJS-compatible, and the
exportsfield inpackage.jsonlinked to these files. This is an anti-pattern and was rightfully flagged by the "Are the Types Wrong?" tool as "masquerading as CJS". All of the ATTW checks now pass.- Remove chunk files (#182).
- Previously, the build tool we used to generate JavaScript files extracted common code to "chunk" files. While this was intended to make this package more tree-shakeable, it also made debugging more difficult for our development teams. These chunk files are no longer present.
Changelog
Sourced from @metamask/utils's changelog.
[9.1.0]
Added
- Add
PublicInterfacetype (#197)[9.0.0]
Changed
- BREAKING: The return types of functions
getChecksumAddress,numberToHex,bigIntToHexare narrowed fromstringtoHex(#193)Fixed
- Bump
@metamask/superstructfrom^3.0.0to^3.1.0(#194)
- If
@metamask/utils<=8.5.0is used with@metamask/superstruct>=3.1.0the following error may be encountered:This can be resolved by updatingerror TS2742: The inferred type of 'ExampleType' cannot be named without a reference to '@metamask/utils/node_modules/@metamask/superstruct'. This is likely not portable. A type annotation is necessary.@metamask/utilsto>=9.0.0.[8.5.0]
Changed
- Bump dependency
semverfrom^5.7.1to^7.6.0(#181).Fixed
- Replace dependency
superstruct^1.0.3with ESM-compatible@metamask/superstruct^3.0.0(#185).
- This fixes the issue of this package being unusable by any TypeScript project that uses
Node16orNodeNextas itsmoduleResolutionoption.- Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files (#182)
- Previously, this package shipped with only one variant of type declaration files, and these files were only CommonJS-compatible, and the
exportsfield inpackage.jsonlinked to these files. This is an anti-pattern and was rightfully flagged by the "Are the Types Wrong?" tool as "masquerading as CJS". All of the ATTW checks now pass.- Remove chunk files (#182).
- Previously, the build tool we used to generate JavaScript files extracted common code to "chunk" files. While this was intended to make this package more tree-shakeable, it also made debugging more difficult for our development teams. These chunk files are no longer present.
Commits
1e502e99.1.0 (#198)c19a65echore(devdeps):@lavamoat/allow-scripts@^2.3.1->^3.0.4 (#184)b8f869dfeat: Add PublicInterface type (#197)654f9cf9.0.0 (#196)5a66cb8Bump@metamask/superstructfrom^3.0.0to^3.1.0(#194)369e5b2Ensure functions that should return Hex, do (#193)6000435Bumpbracesfrom3.0.2to3.0.3(#192)c72216b8.5.0 (#191)631d1ebUse@metamask/superstruct, setmoduleResolutiontoNodeNext(#185)7eac3c8Bump semver (#181)- Additional commits viewable in compare view
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)
New dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/@metamask/[email protected] | None | +4 |
1.17 MB | metamaskbot |