Ruben Bridgewater
5cac157a9f
chore: remove dead code
2017-11-29 19:21:02 -02:00
Ruben Bridgewater
d7c31da598
chore: add callback functionality back in
...
This also improves the performance for multi / batch commands a lot.
The reason is that now there are only callbacks internally even if
a promise is going to be returned in the end.
2017-11-29 19:16:40 -02:00
Ruben Bridgewater
2b4ab10305
chore - remove standard and use individual config
...
Standard is not as up to date and still uses a old eslint version.
Instead, use the airbnb default with a couple of modifications.
All required changes are included.
2017-11-28 21:38:21 -02:00
Ruben Bridgewater
53d5f46fb1
chore: rename files
2017-05-31 00:01:25 +02:00
Ruben Bridgewater
2489655a68
chore: move the client into a separate file
2017-05-30 07:32:42 +02:00
Ruben Bridgewater
581d4a29f3
chore: improve coverage further
2017-05-30 07:28:43 +02:00
Ruben Bridgewater
b6c317dbb0
chore: improve coverage
2017-05-30 06:45:28 +02:00
Ruben Bridgewater
31fafd8b7c
fixup
2017-05-30 05:29:51 +02:00
Ruben Bridgewater
ac26d0524d
fix: always emit an error when the connection drops
2017-05-30 04:38:02 +02:00
Ruben Bridgewater
265ce48af4
chore: minor refactoring
2017-05-30 00:44:57 +02:00
Ruben Bridgewater
0276e15f04
chore: add print helper again and refactor some code
...
Expose the RedisClient directly instead of only being a property
2017-05-29 18:23:24 +02:00
Ruben Bridgewater
4e593587cb
feat: consolidate pubsub emitters
2017-05-28 09:00:32 +02:00
Ruben Bridgewater
5d6f072e56
feat: always return strings from "message" listener
...
Listening to "messageBuffer" returns Buffers
2017-05-28 08:41:01 +02:00
Ruben Bridgewater
6796f8806a
fix: messageBuffers is now handled properly again
2017-05-28 08:32:38 +02:00
Ruben Bridgewater
b2e18344d9
chore: mark private variables as such and remove obsolete ones
2017-05-28 07:15:20 +02:00
Ruben Bridgewater
ba7a39c443
chore: improve writing buffers
2017-05-28 05:57:18 +02:00
Ruben Bridgewater
5fef7e246d
chore: refactor client to es6 class and sort requires
2017-05-28 05:43:34 +02:00
Ruben Bridgewater
579e080ad5
chore: refactor some code and remove obsolete variable
2017-05-28 05:23:21 +02:00
Ruben Bridgewater
39da7878d4
fix: performance regression due to lazy loading the index file
2017-05-28 05:23:21 +02:00
Ruben Bridgewater
4fb6ef4997
chore: remove dead code
2017-05-28 05:23:20 +02:00
Ruben Bridgewater
670550416e
chore: refactor onError handler
2017-05-28 05:23:20 +02:00
Ruben Bridgewater
b837b46e76
chore: use short handle for process.nextTick
2017-05-28 05:23:20 +02:00
Ruben Bridgewater
0d53d3dcdf
feat: add auto pipeline
2017-05-28 05:23:19 +02:00
Ruben Bridgewater
8c63233968
feat: parse info data as numbers if possible and improve parsing
2017-05-28 01:45:19 +02:00
Ruben Bridgewater
8da9e98fe6
chore: refactor flush and error
2017-05-28 01:45:18 +02:00
Ruben Bridgewater
2aa3b68fc6
chore: refactor main code into smaller parts
2017-05-27 03:41:27 +02:00
Ruben Bridgewater
8cca9ccf58
chore: guard against inherited properties
2017-05-27 01:01:42 +02:00
Ruben Bridgewater
1f179ef791
chore: refactor main code base into smaller parts
2017-05-26 23:34:28 +02:00
Ruben Bridgewater
3065e2e7be
chore: refactor parts out of the index.js file
2017-05-26 18:45:52 +02:00
Ruben Bridgewater
a3a74559da
chore: improve multi performance by refactoring a array check away
2017-05-26 18:17:26 +02:00
Ruben Bridgewater
6794478066
chore: remove let due to performance reasons
2017-05-26 18:17:26 +02:00
Ruben Bridgewater
065eebad9c
feat: always return the client from the duplicate function
2017-05-26 18:17:25 +02:00
Ruben Bridgewater
35dc6d9784
doc: add jsdoc comments
2017-05-26 12:32:05 +02:00
Ruben Bridgewater
cd8f2d27c1
chore: use es6 for multi
2017-05-26 12:32:05 +02:00
Ruben Bridgewater
54671f6c52
chore: use arrow functions
2017-05-26 12:32:04 +02:00
Ruben Bridgewater
6ea202132b
feat: accept Map and Set and flatten arguments
2017-05-26 12:32:04 +02:00
Ruben Bridgewater
4182059b7c
chore: improve debug statements
2017-05-26 10:28:27 +02:00
Ruben Bridgewater
4d103b4aee
chore: update dependencies
2017-05-26 10:27:17 +02:00
Ruben Bridgewater
6be5575c5b
chore: refactor codebase to promises
2017-05-19 06:14:29 +02:00
Ruben Bridgewater
b2613b2270
test fixup
2017-05-06 08:16:19 +02:00
Ruben Bridgewater
f1a7bcd735
chore: use standard
2017-05-06 07:06:52 +02:00
Ruben Bridgewater
19f3d20b47
chore: remove support for UPPER_CASE commands
2017-05-06 01:49:48 +02:00
Ruben Bridgewater
5822939686
fixup underscore
2017-05-06 01:49:47 +02:00
Ruben Bridgewater
a6053c510a
chore: remove obsolete feature detection and only override name if not set / different
2017-05-06 01:49:47 +02:00
Ruben Bridgewater
086c90d938
doc: fix typos
2017-05-06 01:49:46 +02:00
Ruben Bridgewater
28afc33c9a
Remove snack_case and always use camelCase
2017-05-06 01:49:05 +02:00
Ruben Bridgewater
ce3227dedd
Remove print helper
2017-05-06 01:48:59 +02:00
Ruben Bridgewater
77281cadad
fix: always copy subscribe unsubscribe arguments
2017-05-05 18:41:04 +02:00
Josh Yudaken
3f1b9ce650
Generalise monitor_regex
2017-03-14 09:03:17 -07:00
Ruben Bridgewater
60998b0b20
Fix missing semicolons
2017-03-11 15:30:09 -03:00