Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Rewrite the message printer as a parser to avoid problems with regexes in old browsers #2785

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

steveluscher
Copy link
Collaborator

@steveluscher steveluscher commented Jun 6, 2024

Summary

@C-o-d-e-C-o-w-b-o-y and @lukecaan noticed that negative lookbehinds crash old versions of Safari (#2745).

This PR reimplements the message printer as a parser.

Test plan

cd packages/errors/
pnpm turbo test:unit:node test:unit:browser

Copy link

changeset-bot bot commented Jun 6, 2024

🦋 Changeset detected

Latest commit: 9e17228

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 36 packages
Name Type
@solana/errors Patch
@solana/accounts Patch
@solana/addresses Patch
@solana/assertions Patch
@solana/codecs-core Patch
@solana/codecs-data-structures Patch
@solana/codecs-numbers Patch
@solana/codecs-strings Patch
@solana/compat Patch
@solana/instructions Patch
@solana/keys Patch
@solana/web3.js-experimental Patch
@solana/options Patch
@solana/programs Patch
@solana/rpc-api Patch
@solana/rpc-spec Patch
@solana/rpc-subscriptions-spec Patch
@solana/rpc-subscriptions-transport-websocket Patch
@solana/rpc-subscriptions Patch
@solana/rpc-transport-http Patch
@solana/rpc-types Patch
@solana/rpc Patch
@solana/signers Patch
@solana/sysvars Patch
@solana/transaction-confirmation Patch
@solana/transaction-messages Patch
@solana/transactions Patch
@solana/rpc-graphql Patch
@solana/rpc-parsed-types Patch
@solana/rpc-subscriptions-api Patch
@solana/codecs Patch
@solana/rpc-transformers Patch
@solana/fast-stable-stringify Patch
@solana/functional Patch
@solana/rpc-spec-types Patch
@solana/webcrypto-ed25519-polyfill Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @steveluscher and the rest of your teammates on Graphite Graphite

@steveluscher steveluscher force-pushed the message-printer-parser-version branch from a93e0bd to bc06449 Compare June 6, 2024 17:03
@steveluscher steveluscher added the automerge Merge this Pull Request automatically once CI passes label Jun 6, 2024 — with Graphite App
@steveluscher steveluscher removed the automerge Merge this Pull Request automatically once CI passes label Jun 6, 2024
@steveluscher steveluscher added the automerge Merge this Pull Request automatically once CI passes label Jun 6, 2024
@mergify mergify bot merged commit 4f19842 into master Jun 6, 2024
7 checks passed
@mergify mergify bot deleted the message-printer-parser-version branch June 6, 2024 17:16
Copy link
Contributor

github-actions bot commented Jun 6, 2024

🎉 This PR is included in version 1.92.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lukecaan
Copy link
Contributor

lukecaan commented Jun 7, 2024

thank you sir 🫡

Copy link
Contributor

Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants