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

crash when parsing string with an emoji #2

Closed
DetachHead opened this issue Oct 28, 2024 · 4 comments
Closed

crash when parsing string with an emoji #2

DetachHead opened this issue Oct 28, 2024 · 4 comments

Comments

@DetachHead
Copy link

const load = require('js-toml').load;
load('asdf = "🔖"')
Uncaught Xo SyntaxParseError: Syntax error
unexpected character: ->"<- at offset: 7, skipped 4 characters.
@ringohoffman
Copy link

@sunnyadn any chance you can take a look at this?

@DetachHead
Copy link
Author

@ringohoffman if you're here from pyright, i recommend using my fork basedpyright instead. i switched to a different toml parser library that doesn't have this issue

@sunnyadn
Copy link
Owner

sunnyadn commented Nov 9, 2024

Thanks @DetachHead @ringohoffman for letting me know! I just got back from vacation, but I'll check out the issue soon!

@sunnyadn
Copy link
Owner

Hey @DetachHead @ringohoffman! Just wanted to let you know that I've released version 1.0.1, which includes the fix we discussed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants