moleculer-http-client
moleculer-http-client copied to clipboard
Update Got to v12.x
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
By the way, sindresorhus converts all his projects to ESM, so you can't use it with require.
CSJ version is available: https://www.npmjs.com/package/got-cjs