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

libesvm

Package Overview
Dependencies
Maintainers
2
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libesvm - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

snapshot_urls.prop

10

lib/node.js

@@ -85,4 +85,7 @@ var child_process = require('child_process');

if (msgObj.type.match(/(^|\.)http$/) && /bound_address/.test(msgObj.message)) {
this.parsePort(msgObj.message);
if (msgObj.type.match(/(^|\.)http$/) && /publish_address/.test(msgObj.message)) {
if (!this.parsePort(msgObj.message)) {
this.emit('log', 'unable to parse node port from ' + msgObj.message);
return;
}
}

@@ -128,6 +131,7 @@

Node.prototype.parsePort = function (message) {
var matches = message.match(/publish_address\s*\{inet\[[^\/]*\/(\d+\.\d+\.\d+\.\d+):(\d+)\]\}/);
var matches = message.match(/publish_address\s*\{[a-zA-Z\[]*\/(\d+\.\d+\.\d+\.\d+):(\d+)\]?\}/);
if (matches) {
this.address = matches[1];
this.port = matches[2];
return true;
}

@@ -134,0 +138,0 @@ };

{
"name": "libesvm",
"version": "1.0.3",
"version": "1.0.4",
"description": "libesvm is a library for managning an Elasticsearch process for development and testing.",

@@ -5,0 +5,0 @@ "main": "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