{"action":"opened","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/4034","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/4034/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/4034/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/4034/events","html_url":"https://github.com/yarnpkg/yarn/issues/4034","id":246029265,"number":4034,"title":"Strange version resolving of nested dependencies","user":{"login":"Lebedancer","id":1861189,"avatar_url":"https://avatars3.githubusercontent.com/u/1861189?v=4","gravatar_id":"","url":"https://api.github.com/users/Lebedancer","html_url":"https://github.com/Lebedancer","followers_url":"https://api.github.com/users/Lebedancer/followers","following_url":"https://api.github.com/users/Lebedancer/following{/other_user}","gists_url":"https://api.github.com/users/Lebedancer/gists{/gist_id}","starred_url":"https://api.github.com/users/Lebedancer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lebedancer/subscriptions","organizations_url":"https://api.github.com/users/Lebedancer/orgs","repos_url":"https://api.github.com/users/Lebedancer/repos","events_url":"https://api.github.com/users/Lebedancer/events{/privacy}","received_events_url":"https://api.github.com/users/Lebedancer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-27T12:51:46Z","updated_at":"2017-07-27T12:51:46Z","closed_at":null,"body":"<!-- *Before creating an issue please make sure you are using the latest version of yarn.* -->\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\nmaybe bug\r\n\r\n**What is the current behavior?**\r\nwrong nested dependency package version resolving\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\nI have 2 dependencies in my repo \r\n\r\n```\r\n\"dependencies\": {\r\n    \"jquery-form\": \"^4.2.1\",\r\n    \"jquery\": \"2.1.4\"\r\n  }\r\n```\r\n\r\njquery-form has own dependency\r\n```\r\n\"dependencies\": {\r\n     \"jquery\": \">=1.7\"\r\n  }\r\n```\r\n\r\nwhen i use yarn install, i see this in lock file:\r\n\r\n```\r\njquery@2.1.4:\r\n  version \"2.1.4\"\r\n  resolved \"https://registry.yarnpkg.com/jquery/-/jquery-2.1.4.tgz#228bde698a0c61431dc2630a6a154f15890d2317\"\r\n\r\njquery@>=1.7:\r\n  version \"3.2.1\"\r\n  resolved \"https://registry.yarnpkg.com/jquery/-/jquery-3.2.1.tgz#5c4d9de652af6cd0a770154a631bba12b015c787\"\r\n```\r\n\r\n**What is the expected behavior?**\r\n```\r\njquery@2.1.4, jquery@>=1.7:\r\n  version \"2.1.4\"\r\n  resolved \"https://registry.yarnpkg.com/jquery/-/jquery-2.1.4.tgz#228bde698a0c61431dc2630a6a154f15890d2317\"\r\n```\r\n\r\n**Please mention your node.js, yarn and operating system version.**\r\nWindow -  10,\r\nNode -  6.9.1\r\nYarn -  0.27.5"}}
{"actor":{"display_login":"Lebedancer"}}