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: switch to @iarna/toml #5508

Merged
merged 3 commits into from
Feb 9, 2024
Merged

fix: switch to @iarna/toml #5508

merged 3 commits into from
Feb 9, 2024

Conversation

ascorbic
Copy link
Contributor

@ascorbic ascorbic commented Feb 8, 2024

🎉 Thanks for submitting a pull request! 🎉

Summary

The @iarna/toml library is around 100x faster than toml in my tests, and doesn't choke on a toml file on one of my tests sites. Also, did you know we have toml files that are taking 15+ seconds to parse??


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code 🧑‍💻. This ensures
    we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or
    something that`s on fire 🔥 (e.g. incident related), you can skip this step.
  • Read the contribution guidelines 📖. This ensures
    your code follows our style guide and passes our tests.
  • Update or add tests (if any source code was changed or added) 🧪
  • Update or add documentation (if features were changed or added) 📝
  • Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

Sorry, something went wrong.

@ascorbic ascorbic requested review from a team as code owners February 8, 2024 13:52
Comment on lines +455 to +458
Empty bare keys are not allowed at row 1, col 4, pos 3:␊
1> [[]]␊
^␊
2: ␊
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error messages are different

Copy link
Contributor

github-actions bot commented Feb 8, 2024

This pull request adds or modifies JavaScript (.js, .cjs, .mjs) files.
Consider converting them to TypeScript.

Copy link
Contributor

@mraerino mraerino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 🎉

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@kodiakhq kodiakhq bot merged commit ba81c85 into main Feb 9, 2024
@kodiakhq kodiakhq bot deleted the iarna-toml branch February 9, 2024 15:37
This was referenced Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants