@depup/fakeredis 2.0.0-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.codeclimate.yml +15 -0
- package/.editorconfig +16 -0
- package/.jshintrc +6 -0
- package/.travis.yml +14 -0
- package/Changelog.md +53 -0
- package/README.md +31 -0
- package/changes.json +10 -0
- package/covertest +16 -0
- package/lib/backend.js +1951 -0
- package/lib/connection.js +474 -0
- package/lib/helpers.js +172 -0
- package/main.js +268 -0
- package/package.json +56 -0
- package/redis.test.js +2352 -0
- package/runtest +10 -0
- package/test.js +1025 -0
package/.codeclimate.yml
ADDED
package/.editorconfig
ADDED
package/.jshintrc
ADDED
package/.travis.yml
ADDED
package/Changelog.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Changelog
|
|
2
|
+
=========
|
|
3
|
+
|
|
4
|
+
## v0.3.3 - September 21, 2015
|
|
5
|
+
|
|
6
|
+
* ZINTERSTORE and ZUNIONSTORE now work with sets.
|
|
7
|
+
|
|
8
|
+
## v0.3.2 - August 19, 2015
|
|
9
|
+
|
|
10
|
+
* BITCOUNT
|
|
11
|
+
|
|
12
|
+
## v0.3.1 - March 24, 2015
|
|
13
|
+
|
|
14
|
+
* Bugfix: Correctly escape special characters in pattern matcher
|
|
15
|
+
|
|
16
|
+
## v0.3.0 - December 20, 2014
|
|
17
|
+
|
|
18
|
+
* SCAN, SSCAN, HSCAN, ZSCAN
|
|
19
|
+
* Bugfix: correct response formatting for zeros in bulk replies
|
|
20
|
+
|
|
21
|
+
## v0.2.2 - November 21, 2014
|
|
22
|
+
|
|
23
|
+
* Bugfix: WATCH for keys that do not yet exist.
|
|
24
|
+
|
|
25
|
+
## v0.2.1 - August 22, 2014
|
|
26
|
+
|
|
27
|
+
* Added extended SET parameters [EX/PX/NX/XX]
|
|
28
|
+
|
|
29
|
+
## v0.2.0 - April 25, 2014
|
|
30
|
+
|
|
31
|
+
* Support for `detect_buffers` and `return_buffers`.
|
|
32
|
+
|
|
33
|
+
## v0.1.5 - April 22, 2014
|
|
34
|
+
|
|
35
|
+
* Bugfix: client.end() throws.
|
|
36
|
+
|
|
37
|
+
## v0.1.3 - November 23, 2013
|
|
38
|
+
|
|
39
|
+
* Bugfix: LREM 0 did nothing, must remove all matching elements.
|
|
40
|
+
|
|
41
|
+
## v0.1.2 - November 14, 2013
|
|
42
|
+
|
|
43
|
+
* Support for SELECT.
|
|
44
|
+
|
|
45
|
+
## v0.1.1 - February 25, 2013
|
|
46
|
+
|
|
47
|
+
* You can now opt out of the excessive fake client latency.
|
|
48
|
+
|
|
49
|
+
## v0.1.0 - February 23, 2013
|
|
50
|
+
|
|
51
|
+
* Compatibility with node_redis >= 0.8
|
|
52
|
+
* Bugfix: LREM throws against nonexisting keys.
|
|
53
|
+
* Bugfix: toString() is globally polluted.
|
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @depup/fakeredis
|
|
2
|
+
|
|
3
|
+
> Dependency-bumped version of [fakeredis](https://www.npmjs.com/package/fakeredis)
|
|
4
|
+
|
|
5
|
+
Generated by [DepUp](https://github.com/depup/npm) -- all production
|
|
6
|
+
dependencies bumped to latest versions.
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @depup/fakeredis
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
| Field | Value |
|
|
15
|
+
|-------|-------|
|
|
16
|
+
| Original | [fakeredis](https://www.npmjs.com/package/fakeredis) @ 2.0.0 |
|
|
17
|
+
| Processed | 2026-03-19 |
|
|
18
|
+
| Smoke test | passed |
|
|
19
|
+
| Deps updated | 1 |
|
|
20
|
+
|
|
21
|
+
## Dependency Changes
|
|
22
|
+
|
|
23
|
+
| Dependency | From | To |
|
|
24
|
+
|------------|------|-----|
|
|
25
|
+
| redis | 2.6.0-0 | ^5.11.0 |
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
Source: https://github.com/depup/npm | Original: https://www.npmjs.com/package/fakeredis
|
|
30
|
+
|
|
31
|
+
License inherited from the original package.
|
package/changes.json
ADDED
package/covertest
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
set -e
|
|
4
|
+
mkdir -p coverage/first
|
|
5
|
+
|
|
6
|
+
echo "Running fakeredis test suite ..."
|
|
7
|
+
istanbul cover test.js --lcovonly
|
|
8
|
+
mv 'coverage/lcov.info' 'coverage/first.info'
|
|
9
|
+
|
|
10
|
+
# node_redis tests subset
|
|
11
|
+
echo "Running the compatible subset of the node_redis test suite ..."
|
|
12
|
+
istanbul cover redis.test.js --lcovonly
|
|
13
|
+
|
|
14
|
+
# merging
|
|
15
|
+
lcov-result-merger 'coverage/*.info' 'coverage/merged.lcov'
|
|
16
|
+
coveralls < 'coverage/merged.lcov'
|