utils icon indicating copy to clipboard operation
utils copied to clipboard

Various JavaScript / TypeScript utilities of wide relevance to the MetaMask codebase.

Results 28 utils issues
Sort by recently updated
recently updated
newest added

Invalid `package.json`: Invalid `import` (Expected a string, but received: [object Object]); Invalid `require` (Expected a string, but received: [object Object]).

team-wallet-framework

`isSafeDynamicKey` should be able to handle all `PropertyKey` types.

team-wallet-framework

What originally started as an attempt to bump `@metamask/auto-changelog` to `^4` turned into an ESLint migration. There are 85 errors requiring manual attention.

Bumps the npm_and_yarn group with 1 update in the / directory: [js-yaml](https://github.com/nodeca/js-yaml). Updates `js-yaml` from 3.14.1 to 3.14.2 Changelog Sourced from js-yaml's changelog. [3.14.2] - 2025-11-15 Security Backported v4.1.1 fix...

dependencies
javascript

Allow all assigned contributors for this repo to review PRs.

https://github.com/MetaMask/utils/blob/1bea7f378c37117260912af1921556bc57110d20/src/hex.ts#L63-L71 This function does NOT return if the given string is a "valid hex checksum address" (or a "Hex Checksum Address"). It returns true if the _characters_ used in the...

Noticed a recent attempt at speeding up some functions by switching to RegEx. But RegExes are usually slower than iterating over strings. For example, this function: https://github.com/MetaMask/utils/blob/1bea7f378c37117260912af1921556bc57110d20/src/hex.ts#L60 Is probably about...