redis-rank
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -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). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38562
8
247