-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Update terser to v5.18.2 and verify optional chaining support #19805
Conversation
7e004c8
to
08e2361
Compare
@@ -275,4 +275,4 @@ WebAssembly.instantiate(Module["wasm"], imports).then(output => { | |||
dynCall_iiii = asm["p"]; | |||
initRuntime(asm); | |||
ready(); | |||
}); | |||
})); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are not needed, but its seems like acorn is producing them now.. I guess its just a slight behaviour change.
As you can see, no actual code size tests regressed so I guess closure is able just erase these.
If we care we would need to investigate why acorn started doing this.. and see if we can disable it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we care about these braces?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I guess closure fixes this up. Odd terser slightly regressed here but probably this is related to some bugfix for them...
Fixes: #15827