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

libesvm

Package Overview
Dependencies
Maintainers
5
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 3.8.2 to 3.8.3

10

lib/writeTempConfig.js

@@ -8,2 +8,3 @@ var temp = require('temp');

var noop = require('lodash').noop
var jsYaml = require('js-yaml');

@@ -60,6 +61,7 @@ var configureLogging = require('./configureLogging');

.then(function (configs) {
return Promise.all([
remove(join(dir, 'elasticsearch.yml')),
writeFile(join(dir, 'elasticsearch.json'), JSON.stringify(configs.es), 'utf8'),
])
return writeFile(
join(dir, 'elasticsearch.yml'),
jsYaml.safeDump(configs.es),
'utf8'
)
.then(function () {

@@ -66,0 +68,0 @@ return writeLogConfiguration(dir, configs, log)

2

package.json
{
"name": "libesvm",
"version": "3.8.2",
"version": "3.8.3",
"description": "libesvm is a library for managning an Elasticsearch process for development and testing.",

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

@@ -16,3 +16,3 @@ var expect = require('chai').expect;

.then(function() {
var tempFiles = ['elasticsearch.json', 'logging.yml'];
var tempFiles = ['elasticsearch.yml', 'logging.yml'];
return Promise.map(tempFiles, function(file) {

@@ -52,6 +52,5 @@ return fs.writeFileAsync(join(dir, 'config', file), '');

.then(function(files) {
expect(files).to.contain('elasticsearch.json');
expect(files).to.contain('elasticsearch.yml');
expect(files).to.contain('logging.json');
expect(files).to.not.contain('logging.yml');
expect(files).to.not.contain('elasticsearch.yaml');
});

@@ -58,0 +57,0 @@ });

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