@3-/ioredis 0.1.4 → 0.1.5

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.
Files changed (2) hide show
  1. package/lib.js +1 -1
  2. package/package.json +1 -1
package/lib.js CHANGED
@@ -4,7 +4,7 @@ export default (option) => {
4
4
  option = {
5
5
  retryStrategy: (times) => {
6
6
  if (times > 6) {
7
- throw new Error("ioredis can't connect " + url ? url : JSON.stringify(option));
7
+ throw new Error("ioredis can't connect " + JSON.stringify(option, null, 2));
8
8
  }
9
9
  return 1e3;
10
10
  },
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@3-/ioredis","version":"0.1.4","keywords":[],"description":"","repository":{"type":"git","url":"git+https://atomgit.com/i18n/lib.git"},"homepage":"https://atomgit.com/i18n/lib/tree/dev/ioredis","author":"i18n.site@gmail.com","license":"MulanPSL-2.0","exports":{".":"./lib.js","./*":"./*"},"files":["./*"],"devDependencies":{},"scripts":{},"type":"module","dependencies":{"ioredis":"^5.10.1"}}
1
+ {"name":"@3-/ioredis","version":"0.1.5","keywords":[],"description":"","repository":{"type":"git","url":"git+https://atomgit.com/i18n/lib.git"},"homepage":"https://atomgit.com/i18n/lib/tree/dev/ioredis","author":"i18n.site@gmail.com","license":"MulanPSL-2.0","exports":{".":"./lib.js","./*":"./*"},"files":["./*"],"devDependencies":{},"scripts":{},"type":"module","dependencies":{"ioredis":"^5.10.1"}}