Uh oh!
There was an error while loading. Please reload this page.
module: cjs-module-lexer@0.4.2 big endian fix - #35634
Conversation
nodejs-github-bot
commented
Oct 13, 2020
Review requested:
|
nodejs-github-bot
commented
Oct 13, 2020
richardlau
left a comment
There was a problem hiding this comment.
LGTM with a passing CI. Wasn't there a documentation link that should be updated to match the version of cjs-module-lexer used?
guybedford
commented
Oct 13, 2020
@richardlau thanks, well-remembered! |
nodejs-github-bot
commented
Oct 13, 2020
nodejs-github-bot
commented
Oct 13, 2020
I think it might be a good idea to also get nodejs/cjs-module-lexer#14 into this. Also, there’s a major bug in big endian mode that causes the most significant nibble to be discarded: nodejs/cjs-module-lexer#13 (comment). |
nodejs-github-bot
commented
Oct 14, 2020
guybedford
commented
Oct 14, 2020
@ExE-Boss thanks for spotting that, it wasn't affecting the execution because the mask was unnecessary due to the bit shift. I've updated to 0.4.2 that corrects the unnecessary op. |
MylesBorins
commented
Oct 14, 2020
@guybedford is this ready to go? |
guybedford
commented
Oct 14, 2020
@MylesBorins yes it is, it just needs another 24 hours to land I think unless you want to fast track. |
MylesBorins
commented
Oct 14, 2020
can we fast-track? |
PR-URL: #35634 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
MylesBorins
commented
Oct 14, 2020
Landed in ab0af50 |
PR-URL: #35634 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
PR-URL: #35634 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
PR-URL: #35634 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
PR-URL: nodejs#35634 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
This updates to cjs-module-lexer@0.4.1 with the fix at nodejs/cjs-module-lexer#13 for big endian support.
This should fix the previous Web Assembly issues found in #35583.
Note this is a performance improvement only and not a bug fix since we had the gracefull fallback previously.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes