{"action":"closed","issue":{"url":"https://api.github.com/repos/lodash/lodash/issues/3127","repository_url":"https://api.github.com/repos/lodash/lodash","labels_url":"https://api.github.com/repos/lodash/lodash/issues/3127/labels{/name}","comments_url":"https://api.github.com/repos/lodash/lodash/issues/3127/comments","events_url":"https://api.github.com/repos/lodash/lodash/issues/3127/events","html_url":"https://github.com/lodash/lodash/issues/3127","id":224373220,"number":3127,"title":"lodash/get & lodash/result not work with nested keys","user":{"login":"malyusha","id":8385110,"avatar_url":"https://avatars3.githubusercontent.com/u/8385110?v=3","gravatar_id":"","url":"https://api.github.com/users/malyusha","html_url":"https://github.com/malyusha","followers_url":"https://api.github.com/users/malyusha/followers","following_url":"https://api.github.com/users/malyusha/following{/other_user}","gists_url":"https://api.github.com/users/malyusha/gists{/gist_id}","starred_url":"https://api.github.com/users/malyusha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malyusha/subscriptions","organizations_url":"https://api.github.com/users/malyusha/orgs","repos_url":"https://api.github.com/users/malyusha/repos","events_url":"https://api.github.com/users/malyusha/events{/privacy}","received_events_url":"https://api.github.com/users/malyusha/received_events","type":"User","site_admin":false},"labels":[{"id":2763155,"url":"https://api.github.com/repos/lodash/lodash/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-26T07:44:08Z","updated_at":"2017-04-26T13:56:24Z","closed_at":"2017-04-26T13:56:24Z","body":"When lodash (`4.17.4`) installed via npm and used with webpack `get` and `result` methods are not working as expected with nested keys. After i installed `lodash.get` and `lodash.result` separately it's working as expected. I've made little test to show it:\r\n```javascript\r\nimport get from 'lodash/get';\r\nimport separatedGet from 'lodash.get';\r\nimport result from 'lodash/result';\r\nimport separatedResult from 'lodash.result';\r\n\r\nconst testObject = {some: true, nested: {is_nested: 'yes', callback: () => 'hello from func!'}};\r\nconsole.log('---test get and result', get(testObject, 'nested.is_nested'), result(testObject, 'nested.func'));\r\nconsole.log('---test separated get and result', separatedGet(testObject, 'nested.is_nested'), separatedResult(testObject, 'nested.callback'));\r\n```\r\n\r\nOutputs:\r\n```\r\n---test get and result undefined undefined\r\n---test separated get and result yes hello from func!\r\n```\r\n\r\nBut if i use last library version (`4.17.4`), included directly from cdn, everything works fine. What can be the reason of this problem? Thank you."}}
{"actor":{"display_login":"jdalton"}}