{"action":"created","issue":{"url":"https://api.github.com/repos/NodeRedis/node_redis/issues/893","labels_url":"https://api.github.com/repos/NodeRedis/node_redis/issues/893/labels{/name}","comments_url":"https://api.github.com/repos/NodeRedis/node_redis/issues/893/comments","events_url":"https://api.github.com/repos/NodeRedis/node_redis/issues/893/events","html_url":"https://github.com/NodeRedis/node_redis/issues/893","id":111993633,"number":893,"title":"Options defaulting to empty was removed","user":{"login":"tfemiani","id":1837255,"avatar_url":"https://avatars.githubusercontent.com/u/1837255?v=3","gravatar_id":"","url":"https://api.github.com/users/tfemiani","html_url":"https://github.com/tfemiani","followers_url":"https://api.github.com/users/tfemiani/followers","following_url":"https://api.github.com/users/tfemiani/following{/other_user}","gists_url":"https://api.github.com/users/tfemiani/gists{/gist_id}","starred_url":"https://api.github.com/users/tfemiani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfemiani/subscriptions","organizations_url":"https://api.github.com/users/tfemiani/orgs","repos_url":"https://api.github.com/users/tfemiani/repos","events_url":"https://api.github.com/users/tfemiani/events{/privacy}","received_events_url":"https://api.github.com/users/tfemiani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-18T01:06:32Z","updated_at":"2015-10-18T13:49:03Z","closed_at":null,"body":"In the most recent closed PR, defaulting of `options` to `{}` was removed. (see https://github.com/NodeRedis/node_redis/pull/891/files#diff-168726dbe96b3ce427e7fedce31bb0bcL36)\r\n\r\nThis causes the following line to fail when options is not supplied:\r\n`JSON.parse(JSON.stringify(options))`\r\n\r\nThe error looks like..\r\n```\r\nundefined:1\r\nundefined\r\n^\r\nSyntaxError: Unexpected token u\r\n    at Object.parse (native)\r\n    at new RedisClient (/Users/tfemiani/src/platapi/api-cart/node_modules/fakeredis/node_modules/redis/index.js:39:20)\r\n```"},"comment":{"url":"https://api.github.com/repos/NodeRedis/node_redis/issues/comments/149017947","html_url":"https://github.com/NodeRedis/node_redis/issues/893#issuecomment-149017947","issue_url":"https://api.github.com/repos/NodeRedis/node_redis/issues/893","id":149017947,"user":{"login":"BridgeAR","id":8822573,"avatar_url":"https://avatars.githubusercontent.com/u/8822573?v=3","gravatar_id":"","url":"https://api.github.com/users/BridgeAR","html_url":"https://github.com/BridgeAR","followers_url":"https://api.github.com/users/BridgeAR/followers","following_url":"https://api.github.com/users/BridgeAR/following{/other_user}","gists_url":"https://api.github.com/users/BridgeAR/gists{/gist_id}","starred_url":"https://api.github.com/users/BridgeAR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BridgeAR/subscriptions","organizations_url":"https://api.github.com/users/BridgeAR/orgs","repos_url":"https://api.github.com/users/BridgeAR/repos","events_url":"https://api.github.com/users/BridgeAR/events{/privacy}","received_events_url":"https://api.github.com/users/BridgeAR/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T13:49:03Z","updated_at":"2015-10-18T13:49:03Z","body":"True, I did not take into account that someone might not use the redis own .createClient function. Thanks for pointing that out. I'll release a new version in a few minutes."}}