dropbox-sdk-js icon indicating copy to clipboard operation
dropbox-sdk-js copied to clipboard

Change deprecated .buffer() to .arrayBuffer()

Open MariusVB opened this issue 1 year ago • 7 comments

https://github.com/dropbox/dropbox-sdk-js/blob/6bfaf895b757d7bd1e65002847a7c801813cc210/src/response.js#L51

The .buffer() will be removed in upcoming node versions. On node 20, I'm getting a deprecation error at every file download...

MariusVB avatar Apr 16 '24 12:04 MariusVB

Thanks for the report! I'll ask the team to update that.

greg-db avatar Apr 16 '24 12:04 greg-db

Are you a bot @greg-db ?

MariusVB avatar Apr 29 '24 16:04 MariusVB

@MariusVB No, I am not a bot. I am a real person monitoring these issues.

greg-db avatar Apr 29 '24 16:04 greg-db

@greg-db I created and closed an issue to make the same fix. any chance this gets merged? I'm monkey patching for the time being.

toddjudd avatar Sep 21 '24 01:09 toddjudd

@toddjudd Thanks for the note. This is still open with the team but I don't have an update on it yet. I'll follow up here once I do.

greg-db avatar Sep 23 '24 13:09 greg-db