Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

redis-crud-server

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-crud-server - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+4
-4
build/index.js

@@ -64,4 +64,4 @@ #!/usr/bin/env node

// 优先级 1: 尝试读取 .env 文件
// 支持通过 ENV_PATH 环境变量指定 .env 文件路径
const envPath = process.env.ENV_PATH || path.join(__dirname, '..', '.env');
// 优先级顺序:当前工作目录 > ENV_PATH环境变量 > 源代码相对路径
const envPath = process.env.ENV_PATH || path.join(process.cwd(), '.env');
// 首先尝试解析 INI 格式

@@ -73,4 +73,4 @@ const iniConfig = parseIniConfig(envPath);

const configNameMappings = {
host: ['REDIS_HOST', 'REDIS_SERVER_HOST', 'HOST', 'HOSTNAME', 'REDIS_HOSTNAME'],
port: ['REDIS_PORT', 'REDIS_SERVER_PORT', 'PORT', 'HOSTPORT'],
host: ['REDIS_HOST', 'REDIS_SERVER_HOST', 'REDIS_HOSTNAME', 'HOST', 'HOSTNAME'],
port: ['REDIS_PORT', 'REDIS_SERVER_PORT', 'HOSTPORT', 'PORT'],
password: ['REDIS_PASSWORD', 'REDIS_SERVER_PASSWORD', 'PASSWORD'],

@@ -77,0 +77,0 @@ db: ['REDIS_DB', 'SELECT', 'DATABASE_INDEX', 'DB_INDEX']

MIT License
Copyright (c) 2025 Nicolas
Copyright (c) 2025 Your Name

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "redis-crud-server",
"version": "1.0.0",
"version": "1.0.1",
"description": "Redis CRUD MCP 服务器 - 提供完整的 Redis 数据库操作工具",

@@ -22,3 +22,3 @@ "main": "build/index.js",

"type": "git",
"url": "https://github.com/Nicolas-One/redis-crud-server"
"url": "https://github.com/your-username/redis-crud-server"
},

@@ -34,3 +34,3 @@ "keywords": [

],
"author": "wocaonimabi2025@gmail.com",
"author": "Your Name <your-email@example.com>",
"license": "MIT",

@@ -37,0 +37,0 @@ "engines": {