ioredis-mock
Advanced tools
Comparing version 3.7.0 to 3.7.1
@@ -11,3 +11,3 @@ # Changelog | ||
## [3.6.5] - 2018-04-01 | ||
## [3.7.0] - 2018-04-01 | ||
@@ -515,4 +515,4 @@ ## Added | ||
[unreleased]: https://github.com/stipsan/ioredis-mock/compare/v3.6.5...HEAD | ||
[3.6.5]: https://github.com/stipsan/ioredis-mock/compare/v3.6.4...v3.6.5 | ||
[unreleased]: https://github.com/stipsan/ioredis-mock/compare/v3.7.0...HEAD | ||
[3.7.0]: https://github.com/stipsan/ioredis-mock/compare/v3.6.4...v3.7.0 | ||
[3.6.4]: https://github.com/stipsan/ioredis-mock/compare/v3.6.3...v3.6.4 | ||
@@ -519,0 +519,0 @@ [3.6.3]: https://github.com/stipsan/ioredis-mock/compare/v3.6.2...v3.6.3 |
@@ -12,5 +12,5 @@ "use strict"; | ||
this.expires.set(key, milliseconds + Date.now()); | ||
this.expires.set(key, +milliseconds + Date.now()); | ||
return 1; | ||
} |
@@ -15,3 +15,3 @@ "use strict"; | ||
set: function set(key, timestamp) { | ||
expires[key] = timestamp; | ||
expires[key] = +timestamp; | ||
}, | ||
@@ -18,0 +18,0 @@ has: function has(key) { |
@@ -59,3 +59,3 @@ { | ||
"ioredis": "3.2.2", | ||
"lint-staged": "7.0.1", | ||
"lint-staged": "7.0.2", | ||
"mocha": "3.5.3", | ||
@@ -119,3 +119,3 @@ "mocha-circleci-reporter": "0.0.2", | ||
"runkitExampleFilename": "example.js", | ||
"version": "3.7.0" | ||
"version": "3.7.1" | ||
} |
113267