dropbox / dropbox-sdk-js

The Official Dropbox API V2 SDK for Javascript
https://www.dropbox.com/developers
MIT License
942 stars 354 forks source link

Fix fetch erros #1138

Open decovicdev opened 7 months ago

decovicdev commented 7 months ago

Upgrade body access: Uses body.arrayBuffer() for response body, improving compatibility with future Node.js versions. Load node-fetch: Only requires node-fetch when needed fixing node warnings.

fixes: #1137, #1135, #1130

Checklist

General Contributing

Is This a Code Change?

Validation

greg-db commented 7 months ago

Thanks for putting this together! I'll ask the team to review this.