mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-13 11:17:26 +02:00
Migrate from make-fetch-happen to ky ## Summary: - Replaced all usages of make-fetch-happen with [ky](https://github.com/sindresorhus/ky) for HTTP requests. - Upgraded nock to v14 so it's capable of mocking native fetch implementation - Removed the make-fetch-happen dependency - Ensured all fetch logic is compatible with ky API. ## Why: - ky provides a modern, lightweight, and promise-based HTTP client with a simpler API. - Reduces dependencies and simplifies codebase. ## Testing: We'll do testing in sandbox environment of the modified functionality (which is not much) and we also rely on automated testing. --------- Co-authored-by: Simon Hornby <simon@getunleash.io> |
||
---|---|---|
.. | ||
lib | ||
mailtemplates | ||
migrations | ||
test | ||
migrator.ts | ||
server-dev.ts | ||
server.ts | ||
test-setup.ts |