Affected URL(s)
https://nodejs.org/docs/latest/api/globals.html#atobdata https://nodejs.org/docs/latest/api/buffer.html#bufferatobdata
Description of the problem
hey!
i notice that atob and btoa are marked as Legacy, which states "no longer actively maintained, and other alternatives are available".
some notes on that:
- they do seem to still be maintained:
- the alternative listed is not an equivalent. atob and btoa are optimized at the C++ level, and do not create an in-memory Buffer in javascript context that then has to be garbage collected (needless, for instance, when
JSON.parse(atob(b64)))
having these marked as legacy also seems to go against the very good direction node has taken recently of compatibility with web apis like the webstreams api
i think it would be great if these were marked Stability 2! what do you think?
Affected URL(s)
https://nodejs.org/docs/latest/api/globals.html#atobdata https://nodejs.org/docs/latest/api/buffer.html#bufferatobdata
Description of the problem
hey!
i notice that
atobandbtoaare marked as Legacy, which states "no longer actively maintained, and other alternatives are available".some notes on that:
JSON.parse(atob(b64)))having these marked as legacy also seems to go against the very good direction node has taken recently of compatibility with web apis like the webstreams api
i think it would be great if these were marked Stability 2! what do you think?