You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
The issue this time appears to be @solana/errors, which is a nested dependency of @solana/spl-token > @solana/spl-token-metadata > @solana/solana-codecs > @solana/solana/errors
It looks like the latest version of the code in packages/errors should actually be fine - but if you pull the latest bundled code from npm it is still using the broken version of getHumanReadableErrorMessage
Because there has been no activity on this issue for 7 days since it was closed, it has been automatically locked. Please open a new issue if it requires a follow up.
Tldr; a bad regex string in @solana/errors is makes old (<16.4) iOS browsers crash
..
Hi, the same issue which was reported here #2745, and ended up being fixed here https://github.com/solana-labs/solana-web3.js/pull/2785/files is rearing its head again.
The issue this time appears to be
@solana/errors
, which is a nested dependency of@solana/spl-token
>@solana/spl-token-metadata
>@solana/solana-codecs
>@solana/solana/errors
It looks like the latest version of the code in
packages/errors
should actually be fine - but if you pull the latest bundled code from npm it is still using the broken version ofgetHumanReadableErrorMessage
^ The negative lookbehind regex is the problem. You can see the broken version of the method in the npm bundled code if you go here https://www.npmjs.com/package/@solana/errors/v/2.0.0-preview.3?activeTab=code and look inside
dist/cli.js
I think doing a few fresh releases making things look at newer package versions will fix it
cc @steveluscher
The text was updated successfully, but these errors were encountered: