Closed ChALkeR closed 3 months ago
This way it will pick up global fetch changes instead of caching the value
> const f = require('@exodus/fetch').fetch undefined > globalThis.fetch = () => 40 [Function (anonymous)] > f() 40
This makes it overridable globally instead of having to assign to each instance (which might be many, as this isn't a singleton and was never intended to be)
:tada: This PR is included in version 1.6.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This way it will pick up global fetch changes instead of caching the value
This makes it overridable globally instead of having to assign to each instance (which might be many, as this isn't a singleton and was never intended to be)