Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redis-rank

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-rank - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

dist/Leaderboard.js

@@ -282,3 +282,3 @@ "use strict";

rank = 0;
for (i = 1; i < result[1].length; i += 2) {
for (i = 0; i < result[1].length; i += 2) {
entries.push({

@@ -285,0 +285,0 @@ id: result[1][i],

{
"name": "redis-rank",
"version": "1.2.0",
"version": "1.2.1",
"description": "Back-end to generate and manage leaderboards using Redis. Written in TypeScript and Promise-based.",

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

"prepare": "npm run test && npm run build",
"test": "jest --coverage --verbose",
"test": "jest --coverage --verbose --runInBand",
"dev": "nodemon --exec \"npm run test\" --watch src --watch tests -e ts,tsx"

@@ -39,3 +39,2 @@ },

"codecov": "^3.6.1",
"ioredis-mock": "^4.18.2",
"jest": "^24.9.0",

@@ -42,0 +41,0 @@ "nodemon": "^1.19.4",

@@ -236,3 +236,3 @@ # redis-rank

No Redis server is required. [ioredis-mock](https://www.npmjs.com/package/ioredis-mock) is used to mock Redis.
A Redis server with default configuration is expected in localhost. Note: **The database will be flushed**.

@@ -243,4 +243,6 @@ ```shell

I tried with [ioredis-mock](https://www.npmjs.com/package/ioredis-mock) but it has some problems with lua scripts.
# License
MIT. See [LICENSE](LICENSE).
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