redis-memory-server
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
115080
15
31
199
1663
19
- Removedmkdirp@^3.0.1
- Removedmkdirp@3.0.1(transitive)