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

Fix fetch erros

Open solo-samurai opened this issue 1 year ago • 1 comments

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

  • [x] Have you read the Code of Conduct and signed the CLA?

Is This a Code Change?

  • [ ] Non-code related change (markdown/git settings etc)
  • [x] SDK Code Change
  • [ ] Example/Test Code Change

Validation

  • [x] Does npm test pass?
  • [x] Does npm run build pass?
  • [x] Does npm run lint pass?

solo-samurai avatar Apr 22 '24 23:04 solo-samurai

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

greg-db avatar Apr 23 '24 13:04 greg-db