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

elasticsearch-memory-server

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elasticsearch-memory-server - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

12

lib/src/util/ElasticBinaryDownloader.js

@@ -27,3 +27,13 @@ "use strict";

getArchiveName(version) {
return `elasticsearch-${version}-linux-x86_64.tar.gz`;
// TODO: Add Windows support (unzipping)
switch (process.platform) {
case 'darwin':
return `elasticsearch-${version}-darwin-x86_64.tar.gz`;
case 'linux':
return `elasticsearch-${version}-linux-x86_64.tar.gz`;
case 'win32':
return `elasticsearch-${version}-windows-x86_64.zip`;
default:
return `elasticsearch-${version}-linux-x86_64.tar.gz`;
}
}

@@ -30,0 +40,0 @@ getDownloadUrl(version) {

2

package.json
{
"name": "elasticsearch-memory-server",
"version": "0.1.9",
"version": "0.1.10",
"description": "Local elasticsearch server for testing/development. Inspired by https://github.com/nodkz/mongodb-memory-server",

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

@@ -46,3 +46,14 @@ import fs from 'fs';

getArchiveName(version: string): string {
return `elasticsearch-${version}-linux-x86_64.tar.gz`;
// TODO: Add Windows support (unzipping)
switch (process.platform) {
case 'darwin':
return `elasticsearch-${version}-darwin-x86_64.tar.gz`;
case 'linux':
return `elasticsearch-${version}-linux-x86_64.tar.gz`;
case 'win32':
return `elasticsearch-${version}-windows-x86_64.zip`;
default:
return `elasticsearch-${version}-linux-x86_64.tar.gz`;
}
}

@@ -49,0 +60,0 @@

Sorry, the diff of this file is not supported yet

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