You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for testing! I get the same (working) result as you in your repro. I am able to reproduce the issue by using bun instead of node in your repro (bun index.js), so this is likely just a bun-node compatibility issue rather than an issue with this library. Interestingly ts-dedent does seem to work in this case for both bun and node. Apologies. Closing as the issue doesn't seem to originate here.
Ah, I hadn't noticed that this was a Bun issue. I think it's reasonable to re-open (fyi @GiuseppeIII, we can file a new issue or you could unsubscribe here if you don't want notifications). I don't personally use Bun but if someone wants to send a PR with instructions on how you're testing it I'd be happy to review. Thanks all!
Activity
JoshuaKGoldberg commentedon Jun 24, 2025
Hmm, I don't reproduce this locally.
https://github.com/JoshuaKGoldberg/repros/tree/dedent-and-unicode-characters
Do you have a minimum reproduction you can share?
GiuseppeIII commentedon Jun 24, 2025
Thanks for testing! I get the same (working) result as you in your repro. I am able to reproduce the issue by using bun instead of node in your repro (
bun index.js), so this is likely just a bun-node compatibility issue rather than an issue with this library. Interestinglyts-dedentdoes seem to work in this case for both bun and node. Apologies. Closing as the issue doesn't seem to originate here.KaKi87 commentedon Aug 11, 2025
Hi,
It would still be nice for
dedentto support Bun properly.I also am not experiencing any issue with
outdent.Thanks
JoshuaKGoldberg commentedon Aug 12, 2025
Ah, I hadn't noticed that this was a Bun issue. I think it's reasonable to re-open (fyi @GiuseppeIII, we can file a new issue or you could unsubscribe here if you don't want notifications). I don't personally use Bun but if someone wants to send a PR with instructions on how you're testing it I'd be happy to review. Thanks all!
mister-ben commentedon Dec 11, 2025
Bun issue: oven-sh/bun#8745
A PR has been open a while but it remains unfixed: oven-sh/bun#15047
fix: workaround for bun mangling unicode (#104)
JoshuaKGoldberg commentedon Dec 17, 2025
Published to
dedent@1.7.1on npm. πgithub-actions commentedon Mar 1, 2026
π This is included in version v1.7.1 π
The release is available on:
Cheers! π¦π