Ruben Bridgewater
7eaba8c10d
Add tests to make sure no invalid function names get exported
2016-06-02 00:59:54 +02:00
Dan MacTough
68ca5c760b
Ensure synthetic function names conform to naming requirements
...
The "restore-asking" function name is not valid and was causing co-redis (by way of its usage of thenify) to throw because thenify uses the function name to rewrite async functions with promises.
This PR will change the name of the "restore-asking" function to "restore_asking", which is valid.
This sanitation is a bit stricter than necessary, since it also sanitizes valid unicode characters, but it covers this module's potential use cases just fine.
2016-06-01 13:15:04 -04:00
Ruben Bridgewater
ce44213d65
A function name is only configurable from v8 >= v.4.3
2016-05-29 01:38:34 +02:00
Ruben Bridgewater
8b6f2dd35e
Refactor command parsing
2016-05-29 01:38:34 +02:00
Ruben Bridgewater
ffaaf0f6d5
Add name property to all Redis functions
2016-05-29 01:38:34 +02:00
Ruben Bridgewater
861749f4d6
Fix send_command working with hooked internal functions
2016-03-31 19:23:46 +02:00
Ruben Bridgewater
614e35ab57
Move multi; commands; createClient code into separate files
2016-03-07 01:57:56 +01:00
Ruben Bridgewater
f877c3950c
Add prefix option
...
Fixes #323
Add key prefix tests
Add changelog entry for prefix
2015-11-24 00:23:18 +01:00
Ruben Bridgewater
b06985a219
Update commands list and remove unecessary code
...
Add use strict
Add changelog entry
2015-09-12 19:47:25 +02:00
Ruben Bridgewater
1f9e536ca0
Add use strict statements
...
This is going to improve the performance minimal and improves the safety of the code
2015-07-22 17:50:37 +02:00
Charles Feng
ef1a90642d
Regenerate commands.js for redis 2.8.9.
2014-04-23 14:52:17 -07:00
Marek
656ecbbbf4
Regenerate commands.js to match redis 2.8.0. Adds support for 'config rewrite', 'pubsub', 'scan', 'sscan', 'hscan' and 'zscan'
2013-12-15 16:01:33 +00:00
DTrejo
bd1e004e99
regenerate lib/commands.js
2013-02-17 19:06:13 -05:00
DTrejo
f3ee8eabd8
commands.js regenerated
2012-08-06 15:05:25 -07:00
Matt Ranney
707c9ab3df
Add static list of commands to those downloaded from redis.io.
2011-06-28 22:48:30 -07:00
Matt Ranney
3d36711563
Auto update of new commands from redis.io (Dave Hoover)
...
Run this: node generate_commands.js
To fetch redis.io/commands.json and save it to a file that node_redis will read at startup.
2011-06-12 14:25:57 -10:00
Dave Hoover
e6b29c6846
Simplifying writeCommandsToFile /ht @polgfred
2011-06-02 21:52:03 -05:00
Dave Hoover
e210755b52
Developing the 'somehow' in 'This list [of commands] needs to be updated, and perhaps auto-updated somehow'
2011-06-02 21:12:13 -05:00