moleculer-http-client icon indicating copy to clipboard operation
moleculer-http-client copied to clipboard

Update Got to v12.x

Open AndreMaz opened this issue 3 years ago • 2 comments

got, HTTP client that this mixin uses, was recently updated to v12 (release notes are here: https://github.com/sindresorhus/got/releases/tag/v12.0.0). This release has several breaking changes that need to be addressed in order to update the moleculer-http-client.

ToDo list:

  • [ ] update the client
  • [ ] fix all the tests
  • [ ] update the examples

AndreMaz avatar Dec 28 '21 20:12 AndreMaz

By the way, sindresorhus converts all his projects to ESM, so you can't use it with require.

icebob avatar Dec 29 '21 09:12 icebob

CSJ version is available: https://www.npmjs.com/package/got-cjs

AndreMaz avatar Oct 09 '22 18:10 AndreMaz