Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lsq

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lsq - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

8

index.js

@@ -69,3 +69,3 @@ 'use strict'

try {
nodes = normaliseNodes(res)
nodes = normaliseNodes(service, res)
} catch (e) {

@@ -83,6 +83,6 @@ err = e

return (serviceCache[service] = on(watcher, 'change').then(normaliseNodes))
return (serviceCache[service] = on(watcher, 'change').then(nodes => normaliseNodes(service, nodes)))
}
function normaliseNodes (nodes) {
function normaliseNodes (service, nodes) {
var ret = nodes.map(function (node) {

@@ -97,3 +97,3 @@ return {

if (!ret.length) {
throw new Error("couldn't find any healthy service instances")
throw new Error("couldn't find any healthy service instances of "+service)
}

@@ -100,0 +100,0 @@

{
"name": "lsq",
"version": "1.0.0",
"version": "1.1.0",
"description": "The programmatic interface to the lsq.io runtime environment.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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