-
Notifications
You must be signed in to change notification settings - Fork 93
psych 4.x breaks libv8 .location.yml
deserialisation during extension building
#208
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
Comments
.location.yml
deserialisation.location.yml
deserialisation
So, the person is using psych 3.3.1, therefore it's not psych 4.x at cause. |
Mishap: it's indeed actually There should be an easy way to fix that, but if we can find a way to drop this |
.location.yml
deserialisation.location.yml
deserialisation during extension building
Fixed via rubyjs/libv8-node@6bbb084, this will land in libv8-node 15.14.0.2. |
awesome @lloeki ! are you pushing a new release out there? |
Soon @SamSaffron, I'm looking into some other possible quick fixes to stuff in there. ... and I have mini_racer + node 16 (v8 9.0) running great over here :) |
wow awesome! looking forward to v8 9.0!
…On Mon, Jun 21, 2021 at 5:50 PM Loic Nageleisen ***@***.***> wrote:
Soon @SamSaffron <https://github.com/SamSaffron>, I'm looking into some
other possible quick fixes to stuff in there.
... and I have mini_racer + node 16 (v8 9.0) running great over here :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#208 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAABIXJHZKOO76IOZWZALRLTT3VNXANCNFSM46J33YEQ>
.
|
@lloeki any news on v8 9.0? |
I've been quite busy following the Sqreen x Datadog acquisition, big roadmap for a couple of weeks still. If I can squeeze a 9.0 release somewhere I'll do it and ping back here. |
Can someone tell me how to fix this? We are using ruby 2.6.6 and get this error. Installing node 16 via nvm doesn't solve the error, it stays the same? Also using this repository with the master branch doesn't work.. :( |
It doesn't and can't use a system node, as it needs some transient objects from Node builds. I'm seeing the finish line on a very important project, I think I'll be able to tackle this very soon (EOW~next week). |
Ok, thank you very much! |
@lloeki this issue is resolved via 16.10.0.0, correct? |
correct |
Closing this as this has been resolved with libv8-node >= 16.10.0.0 (I hope I did not misunderstood you @lloeki and there is something to do about this 🙈). |
all good! |
mini_racer
deserialises some innocuous Ruby class serialised as YAML in thelibv8-node
gem, butpsych
4.0 changed some behaviours aroundYAML.load
to be more likesafe_load
.Psych.unsafe_load
ruby/psych#488A temporary workaround should be to revert to psych < 4.0.
I should be able to push a fix as soon as I get a window of opportunity to repro.
The text was updated successfully, but these errors were encountered: