{"action":"created","issue":{"url":"https://api.github.com/repos/dominicbarnes/square/issues/3","repository_url":"https://api.github.com/repos/dominicbarnes/square","labels_url":"https://api.github.com/repos/dominicbarnes/square/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/dominicbarnes/square/issues/3/comments","events_url":"https://api.github.com/repos/dominicbarnes/square/issues/3/events","html_url":"https://github.com/dominicbarnes/square/issues/3","id":189198988,"number":3,"title":"`squares.set({}, \"key[0][0]\", \"value\")` throws an error","user":{"login":"kuba-orlik","id":2697916,"avatar_url":"https://avatars.githubusercontent.com/u/2697916?v=3","gravatar_id":"","url":"https://api.github.com/users/kuba-orlik","html_url":"https://github.com/kuba-orlik","followers_url":"https://api.github.com/users/kuba-orlik/followers","following_url":"https://api.github.com/users/kuba-orlik/following{/other_user}","gists_url":"https://api.github.com/users/kuba-orlik/gists{/gist_id}","starred_url":"https://api.github.com/users/kuba-orlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuba-orlik/subscriptions","organizations_url":"https://api.github.com/users/kuba-orlik/orgs","repos_url":"https://api.github.com/users/kuba-orlik/repos","events_url":"https://api.github.com/users/kuba-orlik/events{/privacy}","received_events_url":"https://api.github.com/users/kuba-orlik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-14T19:15:13Z","updated_at":"2016-11-14T19:33:00Z","closed_at":null,"body":"Here's the gist of it:\r\n\r\n```\r\n> squares.set({}, \"key[0][0]\", \"value\")\r\nTypeError: acc.push is not a function\r\n    at /home/kuba/projects/sealcode/sealious/www-server/node_modules/squares/index.js:60:11\r\n    at Array.reduce (native)\r\n    at Object.exports.set (/home/kuba/projects/sealcode/sealious/www-server/node_modules/squares/index.js:39:29)\r\n    at repl:1:9\r\n    at REPLServer.defaultEval (repl.js:262:27)\r\n    at bound (domain.js:287:14)\r\n    at REPLServer.runBound [as eval] (domain.js:300:12)\r\n    at REPLServer.<anonymous> (repl.js:431:12)\r\n    at emitOne (events.js:82:20)\r\n    at REPLServer.emit (events.js:169:7)\r\n```\r\n\r\nWhich is weird, as it works perfectly fine for this case:\r\n\r\n```\r\n> squares.set({}, \"key[a][a]\", \"value\")\r\n{ key: { a: { a: 'value' } } }\r\n```"},"comment":{"url":"https://api.github.com/repos/dominicbarnes/square/issues/comments/260437528","html_url":"https://github.com/dominicbarnes/square/issues/3#issuecomment-260437528","issue_url":"https://api.github.com/repos/dominicbarnes/square/issues/3","id":260437528,"user":{"login":"dominicbarnes","id":160197,"avatar_url":"https://avatars.githubusercontent.com/u/160197?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicbarnes","html_url":"https://github.com/dominicbarnes","followers_url":"https://api.github.com/users/dominicbarnes/followers","following_url":"https://api.github.com/users/dominicbarnes/following{/other_user}","gists_url":"https://api.github.com/users/dominicbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicbarnes/subscriptions","organizations_url":"https://api.github.com/users/dominicbarnes/orgs","repos_url":"https://api.github.com/users/dominicbarnes/repos","events_url":"https://api.github.com/users/dominicbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/dominicbarnes/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T19:33:00Z","updated_at":"2016-11-14T19:33:00Z","body":"Hmm... what version of node did you run this on? I just tried it on 6.3.0 and it worked without trouble, so maybe it's a problem with a specific version."}}
{"actor":{"display_login":"dominicbarnes"}}