Socket
Socket
Sign inDemoInstall

@metamask/utils

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/utils - npm Package Compare versions

Comparing version 8.5.0 to 9.0.0

15

CHANGELOG.md

@@ -9,2 +9,14 @@ # Changelog

## [9.0.0]
### Changed
- **BREAKING:** The return types of functions `getChecksumAddress`, `numberToHex`, `bigIntToHex` are narrowed from `string` to `Hex` ([#193](https://github.com/MetaMask/utils/pull/193))
### Fixed
- Bump `@metamask/superstruct` from `^3.0.0` to `^3.1.0` ([#194](https://github.com/MetaMask/utils/pull/194))
- If `@metamask/utils` `<=8.5.0` is used with `@metamask/superstruct` `>=3.1.0` the following error may be encountered:
```ts
error 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.
```
This can be resolved by updating `@metamask/utils` to `>=9.0.0`.
## [8.5.0]

@@ -239,3 +251,4 @@ ### Changed

[Unreleased]: https://github.com/MetaMask/utils/compare/v8.5.0...HEAD
[Unreleased]: https://github.com/MetaMask/utils/compare/v9.0.0...HEAD
[9.0.0]: https://github.com/MetaMask/utils/compare/v8.5.0...v9.0.0
[8.5.0]: https://github.com/MetaMask/utils/compare/v8.4.0...v8.5.0

@@ -242,0 +255,0 @@ [8.4.0]: https://github.com/MetaMask/utils/compare/v8.3.0...v8.4.0

4

package.json
{
"name": "@metamask/utils",
"version": "8.5.0",
"version": "9.0.0",
"description": "Various JavaScript/TypeScript utilities of wide relevance to the MetaMask codebase",

@@ -65,3 +65,3 @@ "homepage": "https://github.com/MetaMask/utils#readme",

"@ethereumjs/tx": "^4.2.0",
"@metamask/superstruct": "^3.0.0",
"@metamask/superstruct": "^3.1.0",
"@noble/hashes": "^1.3.1",

@@ -68,0 +68,0 @@ "@scure/base": "^1.1.3",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc