redis 3.0.0 → 3.0.1

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/CHANGELOG.md CHANGED
@@ -28,6 +28,7 @@ a lot of old deprecated features and old internals in preparation for an upcomin
28
28
  - Replaced `double-ended-queue` with `denque`, which brings performance improvements
29
29
  - Add timestamps to debug traces
30
30
  - Add `socket_initial_delay` option for `socket.setKeepAlive` (#1396)
31
+ - Add support for `rediss` protocol in url (#1282)
31
32
 
32
33
  ## v2.8.0 - 31 Jul, 2017
33
34
 
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) Node Redis contributors.
3
+ Copyright (c) 2016-present Node Redis contributors.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person
6
6
  obtaining a copy of this software and associated documentation
package/README.md CHANGED
@@ -210,7 +210,7 @@ client.get(new Buffer("foo_rand000000000000"), function(err, reply) {
210
210
  **`retry_strategy` example:**
211
211
 
212
212
  ```js
213
- var client = redis.createClient({
213
+ const client = redis.createClient({
214
214
  retry_strategy: function(options) {
215
215
  if (options.error && options.error.code === "ECONNREFUSED") {
216
216
  // End reconnecting on a specific error and flush all commands with
@@ -678,9 +678,9 @@ clients.watcher.watch("foo", function(watchError) {
678
678
  if (setError) throw err;
679
679
  });
680
680
 
681
- //using a setTimeout here to ensure that the MULTI/EXEC will come after the SET.
682
- //Normally, you would use a callback to ensure order, but I want the above SET command
683
- //to be easily comment-out-able.
681
+ // using a setTimeout here to ensure that the MULTI/EXEC will come after the SET.
682
+ // Normally, you would use a callback to ensure order, but I want the above SET command
683
+ // to be easily comment-out-able.
684
684
  setTimeout(function() {
685
685
  clients.watcher
686
686
  .multi()
@@ -840,7 +840,7 @@ returns it in the callback. If an error occurs in the meanwhile, that is going
840
840
  to return an error instead in the callback.
841
841
 
842
842
  One example of when to use duplicate() would be to accommodate the connection-
843
- blocking redis commands BRPOP, BLPOP, and BRPOPLPUSH. If these commands
843
+ blocking redis commands `BRPOP`, `BLPOP`, and `BRPOPLPUSH`. If these commands
844
844
  are used on the same Redis client instance as non-blocking commands, the
845
845
  non-blocking ones may be queued up until after the blocking ones finish.
846
846
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redis",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "A high performance Redis client.",
5
5
  "keywords": [
6
6
  "database",
@@ -36,7 +36,6 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "denque": "^1.4.1",
39
- "prettier": "^1.19.1",
40
39
  "redis-commands": "^1.5.0",
41
40
  "redis-errors": "^1.2.0",
42
41
  "redis-parser": "^3.0.0"
@@ -45,6 +44,7 @@
45
44
  "node": ">=6"
46
45
  },
47
46
  "devDependencies": {
47
+ "prettier": "^1.19.1",
48
48
  "bluebird": "^3.7.2",
49
49
  "coveralls": "^2.11.2",
50
50
  "eslint": "^6.8.0",