@metamask/utils
Advanced tools
Comparing version 8.5.0 to 9.0.0
@@ -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 |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
693021
0
Updated@metamask/superstruct@^3.1.0