New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@axah/eureka

Package Overview
Dependencies
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axah/eureka - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

12

lib/index.js

@@ -73,5 +73,3 @@ "use strict";

preferIpAddress: true,
servicePath: '/eureka/apps/',
fetchRegistry: false // we do not use registry to quiry infos, using docker LB directly
servicePath: '/eureka/apps/'
}

@@ -124,3 +122,3 @@ });

if (instances.length === 0) {
log.warn('Found no instances for appId {}, will fetch full registry', appId);
log.warn('Found no instances for appId %s, will fetch full registry', appId);
await fetchFullRegistry();

@@ -158,3 +156,7 @@ instances = client.getInstancesByAppId(appId);

const hostname = hostnameForInstance(instance);
return (0, _nodeFetch.default)(`${hostname}${path}`, init);
return (0, _nodeFetch.default)(`${hostname}${path}`, {
timeout: 10000,
// 10 seconds timeout by default
...init
});
}

@@ -161,0 +163,0 @@

{
"name": "@axah/eureka",
"version": "1.0.4",
"version": "1.0.5",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "license": "UNLICENSED",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc