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

redis-memory-server

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-memory-server - npm Package Compare versions

Comparing version 0.10.0 to 0.11.0

7

lib/util/RedisBinary.js

@@ -17,9 +17,8 @@ "use strict";

const fs_1 = __importDefault(require("fs"));
const promises_1 = require("fs/promises");
const os_1 = __importDefault(require("os"));
const path_1 = __importDefault(require("path"));
const lockfile_1 = __importDefault(require("lockfile"));
const mkdirp_1 = require("mkdirp");
const find_cache_dir_1 = __importDefault(require("find-cache-dir"));
const child_process_1 = require("child_process");
const util_1 = require("util");
const RedisBinaryDownload_1 = __importDefault(require("./RedisBinaryDownload"));

@@ -40,3 +39,3 @@ const resolve_config_1 = __importDefault(require("./resolve-config"));

try {
yield (0, util_1.promisify)(fs_1.default.access)(systemBinary);
yield (0, promises_1.access)(systemBinary);
log(`RedisBinary: found system binary path at "${systemBinary}"`);

@@ -67,3 +66,3 @@ binaryPath = systemBinary;

// create downloadDir
yield (0, mkdirp_1.mkdirp)(downloadDir);
yield (0, promises_1.mkdir)(downloadDir, { recursive: true });
/** Lockfile path */

@@ -70,0 +69,0 @@ const lockfile = path_1.default.resolve(downloadDir, `${version}.lock`);

{
"name": "redis-memory-server",
"version": "0.10.0",
"version": "0.11.0",
"description": "Redis Server for testing. The server will allow you to connect your favorite client library to the Redis Server and run parallel integration tests isolated from each other.",

@@ -41,3 +41,2 @@ "bin": "bin/index.js",

"@types/lodash.defaultsdeep": "^4.6.7",
"@types/mkdirp": "^2.0.0",
"@types/node": "^18.11.9",

@@ -81,3 +80,2 @@ "@types/rimraf": "^4.0.5",

"lodash.defaultsdeep": "^4.6.1",
"mkdirp": "^3.0.1",
"rimraf": "^5.0.1",

@@ -84,0 +82,0 @@ "semver": "^7.5.3",

@@ -24,14 +24,17 @@ # Redis In-Memory Server

- [Installation](#installation)
- [Requirements](#requirements)
- [Configuring which redis-server binary to use](#configuring-which-redis-server-binary-to-use)
- [Usage](#usage)
- [Simple server start](#simple-server-start)
- [Available options for RedisMemoryServer](#available-options-for-redismemoryserver)
- [Options which can be set via environment variables](#options-which-can-be-set-via-environment-variables)
- [Options which can be set via `package.json`](#options-which-can-be-set-via-packagejson)
- [Simple test with `ioredis`](#simple-test-with-ioredis)
- [Debug mode](#debug-mode)
- [Credits](#credits)
- [License](#license)
- [Redis In-Memory Server](#redis-in-memory-server)
- [Installation](#installation)
- [Requirements](#requirements)
- [Windows:](#windows)
- [Configuring which `redis-server` binary to use](#configuring-which-redis-server-binary-to-use)
- [Usage](#usage)
- [Simple server start](#simple-server-start)
- [Start server via npx](#start-server-via-npx)
- [Available options for RedisMemoryServer](#available-options-for-redismemoryserver)
- [Options which can be set via environment variables](#options-which-can-be-set-via-environment-variables)
- [Options which can be set via `package.json`](#options-which-can-be-set-via-packagejson)
- [Simple test with `ioredis`](#simple-test-with-ioredis)
- [Debug mode](#debug-mode)
- [Credits](#credits)
- [License](#license)

@@ -38,0 +41,0 @@ ## Installation

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