{"action":"created","issue":{"url":"https://api.github.com/repos/node4good/lodash-contrib/issues/53","repository_url":"https://api.github.com/repos/node4good/lodash-contrib","labels_url":"https://api.github.com/repos/node4good/lodash-contrib/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/node4good/lodash-contrib/issues/53/comments","events_url":"https://api.github.com/repos/node4good/lodash-contrib/issues/53/events","html_url":"https://github.com/node4good/lodash-contrib/issues/53","id":205493317,"number":53,"title":"_.collections.walk is broken","user":{"login":"verticalpalette","id":619672,"avatar_url":"https://avatars.githubusercontent.com/u/619672?v=3","gravatar_id":"","url":"https://api.github.com/users/verticalpalette","html_url":"https://github.com/verticalpalette","followers_url":"https://api.github.com/users/verticalpalette/followers","following_url":"https://api.github.com/users/verticalpalette/following{/other_user}","gists_url":"https://api.github.com/users/verticalpalette/gists{/gist_id}","starred_url":"https://api.github.com/users/verticalpalette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/verticalpalette/subscriptions","organizations_url":"https://api.github.com/users/verticalpalette/orgs","repos_url":"https://api.github.com/users/verticalpalette/repos","events_url":"https://api.github.com/users/verticalpalette/events{/privacy}","received_events_url":"https://api.github.com/users/verticalpalette/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-06T05:50:24Z","updated_at":"2017-02-23T10:25:11Z","closed_at":null,"body":"```\r\n> var _ = require('lodash-contrib');\r\nExpression assignment to _ now disabled.\r\nundefined\r\n> _.walk.preorder({a: {b: true}}, function(x, y, z) { console.log(x); });\r\n{ a: { b: true } }\r\nTypeError: _.any is not a function\r\n    at _walk (/Users/daniel/Code/src/github.com/trythings/trythings/node_modules/lodash-contrib/common-js/_.collections.walk.js:48:22)\r\n    at walkImpl (/Users/daniel/Code/src/github.com/trythings/trythings/node_modules/lodash-contrib/common-js/_.collections.walk.js:56:7)\r\n    at Object.preorder (/Users/daniel/Code/src/github.com/trythings/trythings/node_modules/lodash-contrib/common-js/_.collections.walk.js:145:7)\r\n    at Function.wrapper [as preorder] (/Users/daniel/Code/src/github.com/trythings/trythings/node_modules/lodash/lodash.js:4968:19)\r\n    at repl:1:8\r\n    at realRunInThisContextScript (vm.js:22:35)\r\n    at sigintHandlersWrap (vm.js:98:12)\r\n    at ContextifyScript.Script.runInThisContext (vm.js:24:12)\r\n    at REPLServer.defaultEval (repl.js:346:29)\r\n    at bound (domain.js:280:14)\r\n```\r\n\r\nThe problem is that `walkImpl` calls `_.any`, but `_.any` was removed in `lodash@4.0.0` in favor of `_.some` (https://github.com/lodash/lodash/wiki/Changelog#v400).\r\n\r\nI'm not sure why the tests for `_.collections.walk` don't catch this."},"comment":{"url":"https://api.github.com/repos/node4good/lodash-contrib/issues/comments/281954126","html_url":"https://github.com/node4good/lodash-contrib/issues/53#issuecomment-281954126","issue_url":"https://api.github.com/repos/node4good/lodash-contrib/issues/53","id":281954126,"user":{"login":"rbinsztock","id":829378,"avatar_url":"https://avatars.githubusercontent.com/u/829378?v=3","gravatar_id":"","url":"https://api.github.com/users/rbinsztock","html_url":"https://github.com/rbinsztock","followers_url":"https://api.github.com/users/rbinsztock/followers","following_url":"https://api.github.com/users/rbinsztock/following{/other_user}","gists_url":"https://api.github.com/users/rbinsztock/gists{/gist_id}","starred_url":"https://api.github.com/users/rbinsztock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbinsztock/subscriptions","organizations_url":"https://api.github.com/users/rbinsztock/orgs","repos_url":"https://api.github.com/users/rbinsztock/repos","events_url":"https://api.github.com/users/rbinsztock/events{/privacy}","received_events_url":"https://api.github.com/users/rbinsztock/received_events","type":"User","site_admin":false},"created_at":"2017-02-23T10:25:10Z","updated_at":"2017-02-23T10:25:10Z","body":"Hi \r\n\r\nI already added a PR for this : https://github.com/node4good/lodash-contrib/pull/54 waiting to be merged, you can use my fixed fork if you want : https://github.com/rbinsztock/lodash-contrib"}}
{"actor":{"display_login":"rbinsztock"}}