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
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
4fb6ef4997
chore: remove dead code
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
2aa3b68fc6
chore: refactor main code into smaller parts
2017-05-27 03:41:27 +02:00
Ruben Bridgewater
3065e2e7be
chore: refactor parts out of the index.js file
2017-05-26 18:45:52 +02:00
Ruben Bridgewater
f69aba72d1
fix: tls tests work again
2017-05-26 18:17:26 +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
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
5d29f541e9
doc: add v.3.0.0-alpha1 changelog
2017-05-06 02:10:22 +02:00
Ruben Bridgewater
2e7fc76720
fix: flaky test
2017-05-06 01:49:48 +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
27ed4db537
feat: return channel number and channels from subscribe / unsubscribe calls
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
a86c998a64
Skip tests
2017-05-06 01:49:05 +02:00
Ruben Bridgewater
66e560bbf7
Remove unused intercept
2017-05-06 01:49:05 +02:00
Ruben Bridgewater
b53ec5a840
Remove .only
2017-05-06 01:49:05 +02:00
Ruben Bridgewater
46eaaa4deb
Remove further parser option
2017-05-06 01:49:05 +02:00
Ruben Bridgewater
912b89ca36
Remove old emitter style
2017-05-06 01:49:04 +02:00
Ruben Bridgewater
78187142cb
Remove deprecated parser option
2017-05-06 01:49:04 +02:00
Ruben Bridgewater
98527e0fc5
Remove deprecated drain event
2017-05-06 01:49:03 +02:00
Ruben Bridgewater
b72dd195a8
Remove deprecated idle event
2017-05-06 01:49:03 +02:00
Ruben Bridgewater
59725e3f20
Remove deprecated max_delay
2017-05-06 01:49:02 +02:00
Ruben Bridgewater
b3106a45c4
Remove deprecated max_attempts
2017-05-06 01:49:02 +02:00
Ruben Bridgewater
2f6c421006
Remove socket_no_delay
2017-05-06 01:49:00 +02:00
Ruben Bridgewater
ce3227dedd
Remove print helper
2017-05-06 01:48:59 +02:00
Ruben Bridgewater
a2255d7fe2
Fix error messages not being visible in the stack trace of AbortErrors
2017-03-11 15:17:44 -03:00
Ruben Bridgewater
c4b9b4ea26
Fix test on windows
2017-01-16 09:53:31 +01:00
Ruben Bridgewater
8688986051
Add issue to corresponding spec
2017-01-16 09:47:37 +01:00
Ruben Bridgewater
db0e8c53cc
Fixed parser not being reset in case the redis connection
...
closed ASAP for overcoming of output buffer limits.
Fixes #1190
2017-01-15 13:23:20 +01:00
Ruben Bridgewater
dffa8a6aee
Fix parser being reset in case (p)message_buffer is attached
...
without the parser set to return buffers.
This might result in corrupt data if the listener is attached
while the parser holds partial data.
2017-01-15 13:20:00 +01:00