{"action":"closed","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/6657","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/6657/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/6657/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/6657/events","html_url":"https://github.com/yarnpkg/yarn/issues/6657","id":379193428,"node_id":"MDU6SXNzdWUzNzkxOTM0Mjg=","number":6657,"title":"[bug@1.5.1] - diff fails to recognize minor string case difference","user":{"login":"davalapar","id":41451953,"node_id":"MDQ6VXNlcjQxNDUxOTUz","avatar_url":"https://avatars0.githubusercontent.com/u/41451953?v=4","gravatar_id":"","url":"https://api.github.com/users/davalapar","html_url":"https://github.com/davalapar","followers_url":"https://api.github.com/users/davalapar/followers","following_url":"https://api.github.com/users/davalapar/following{/other_user}","gists_url":"https://api.github.com/users/davalapar/gists{/gist_id}","starred_url":"https://api.github.com/users/davalapar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davalapar/subscriptions","organizations_url":"https://api.github.com/users/davalapar/orgs","repos_url":"https://api.github.com/users/davalapar/repos","events_url":"https://api.github.com/users/davalapar/events{/privacy}","received_events_url":"https://api.github.com/users/davalapar/received_events","type":"User","site_admin":false},"labels":[{"id":594046112,"node_id":"MDU6TGFiZWw1OTQwNDYxMTI=","url":"https://api.github.com/repos/yarnpkg/yarn/labels/triaged","name":"triaged","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":{"login":"rally25rs","id":38535,"node_id":"MDQ6VXNlcjM4NTM1","avatar_url":"https://avatars3.githubusercontent.com/u/38535?v=4","gravatar_id":"","url":"https://api.github.com/users/rally25rs","html_url":"https://github.com/rally25rs","followers_url":"https://api.github.com/users/rally25rs/followers","following_url":"https://api.github.com/users/rally25rs/following{/other_user}","gists_url":"https://api.github.com/users/rally25rs/gists{/gist_id}","starred_url":"https://api.github.com/users/rally25rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rally25rs/subscriptions","organizations_url":"https://api.github.com/users/rally25rs/orgs","repos_url":"https://api.github.com/users/rally25rs/repos","events_url":"https://api.github.com/users/rally25rs/events{/privacy}","received_events_url":"https://api.github.com/users/rally25rs/received_events","type":"User","site_admin":false},"assignees":[{"login":"rally25rs","id":38535,"node_id":"MDQ6VXNlcjM4NTM1","avatar_url":"https://avatars3.githubusercontent.com/u/38535?v=4","gravatar_id":"","url":"https://api.github.com/users/rally25rs","html_url":"https://github.com/rally25rs","followers_url":"https://api.github.com/users/rally25rs/followers","following_url":"https://api.github.com/users/rally25rs/following{/other_user}","gists_url":"https://api.github.com/users/rally25rs/gists{/gist_id}","starred_url":"https://api.github.com/users/rally25rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rally25rs/subscriptions","organizations_url":"https://api.github.com/users/rally25rs/orgs","repos_url":"https://api.github.com/users/rally25rs/repos","events_url":"https://api.github.com/users/rally25rs/events{/privacy}","received_events_url":"https://api.github.com/users/rally25rs/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-11-09T14:55:31Z","updated_at":"2018-11-09T15:08:30Z","closed_at":"2018-11-09T15:08:30Z","author_association":"NONE","body":"**Do you want to request a *feature* or report a *bug*?**\r\nbug\r\n\r\n**What is the current behavior?**\r\nI ran `yarn outdated` & `yarn upgrade` which updated `css-loader` to `1.0.1`.\r\nI ran a webpack rebuild which showed the following errors:\r\n\r\n```\r\n    ERROR in ./node_modules/typeface-roboto/index.css (./node_modules/css-loader!./node_modules/typeface-roboto/index.css)\r\n    Module build failed (from ./node_modules/css-loader/index.js):\r\n    Error: Cannot find module 'lodash.camelcase'\r\n  ...\r\n```\r\n\r\nI checked my node_modules and it was caused by the file at `/node_modules/css-loader/lib/compile-exports.js` was having `var camelCase = require(\"lodash/camelcase\");` at its first line, which contradicts what is visible on the same version at github and unpkg.com: `var camelCase = require(\"lodash/camelCase\");`\r\n\r\nIt's `lodash/camelcase` which causes the error, which was supposedly `lodash/camelCase` according to the github repository / unpkg sources.\r\n\r\nMy hypothesis is this is a yarn diff (is there such thing?) problem because when I deleted my `/node_modules/css-loader` folder and did a `yarn add css-loader -D`, I now ended up having the right files which reflects the latest from the `css-loader` github repo.\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\n1. package.json with `css-loader` at any `0.x` version\r\n2. `yarn add css-loader@1.0.1`\r\n3. compare `/node_modules/css-loader/lib/compile-exports.js` from `https://unpkg.com/css-loader@1.0.1/lib/compile-exports.js`\r\n\r\n**What is the expected behavior?**\r\nThis ain't supposed to be happening.\r\n\r\n**Please mention your node.js, yarn and operating system version.**\r\nnode 10.10\r\nyarn 1.5.1 (outdated, I know)"}}
{"actor":{"display_login":"davalapar"}}