-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
transformSync output regression in 0.8.22 #596
Comments
I believe you but I am unable to reproduce this. It returns a string for me. This test is currently passing, for example. Can you provide me with more information? Do you have a code sample that reproduces the problem? What platform is this on? |
@evanw So, I did some more digging. So seems to me that passing a buffer to transformSync is the issue. This has worked before. Does not work in 0.8.22
Works in 0.8.22
|
Ah, I see. That wasn't intentionally supported. This is the type definition for Line 287 in 9db53e7
I can make sure this isn't silently allowed like it is now. |
I see :) Thanks for pointing that out! |
After the 0.8.22 release
transformSync
returns a stringified Uint8ArrayThe text was updated successfully, but these errors were encountered: