fix(core_node): support agentkeepalive default export fallback and bump dependency to ^4.6.0
This commit is contained in:
@@ -16,7 +16,7 @@ export { smartpromise, smarturl };
|
||||
// third party scope
|
||||
import AgentKeepAlive from 'agentkeepalive';
|
||||
const agentkeepalive = {
|
||||
HttpAgent: AgentKeepAlive.HttpAgent,
|
||||
HttpAgent: AgentKeepAlive.HttpAgent ?? AgentKeepAlive,
|
||||
HttpsAgent: AgentKeepAlive.HttpsAgent,
|
||||
};
|
||||
import formData from 'form-data';
|
||||
|
||||
Reference in New Issue
Block a user