glynnbird commented on issue #381: URL: https://github.com/apache/couchdb-nano/issues/381#issuecomment-6443236963
You make a very good point :) I have worked hard to try and make Nano a zero-dependency package for reasons of maintainability and to reduce to risk for something unsavoury arriving from another library. Of the options 1. Is cunning but doesn't remove the error 2. Keeps Nano dependency free! `undici` import disappears from `nano.d.ts`. I still need an `undici` dependency for mocking of requests in the tests. 3. Adds a direct dependency. Yuk. Do you think Option 2 is acceptable @klaemo? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
