{"action":"created","issue":{"url":"https://api.github.com/repos/SassDoc/sassdoc/issues/354","labels_url":"https://api.github.com/repos/SassDoc/sassdoc/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/SassDoc/sassdoc/issues/354/comments","events_url":"https://api.github.com/repos/SassDoc/sassdoc/issues/354/events","html_url":"https://github.com/SassDoc/sassdoc/issues/354","id":56164217,"number":354,"title":"Issue with `core-js` and `lodash` ","user":{"login":"pascalduez","id":335467,"avatar_url":"https://avatars.githubusercontent.com/u/335467?v=3","gravatar_id":"","url":"https://api.github.com/users/pascalduez","html_url":"https://github.com/pascalduez","followers_url":"https://api.github.com/users/pascalduez/followers","following_url":"https://api.github.com/users/pascalduez/following{/other_user}","gists_url":"https://api.github.com/users/pascalduez/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalduez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalduez/subscriptions","organizations_url":"https://api.github.com/users/pascalduez/orgs","repos_url":"https://api.github.com/users/pascalduez/repos","events_url":"https://api.github.com/users/pascalduez/events{/privacy}","received_events_url":"https://api.github.com/users/pascalduez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SassDoc/sassdoc/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-01T13:56:07Z","updated_at":"2015-02-02T13:15:57Z","closed_at":null,"body":"Bumped in to a pretty edge/pain case while working on the theme generator.\r\nThe Gruntfile use BrowserSync and also sassoc to provide live reloading while working on css, js, and templates.\r\n\r\nBrowserSync has a deep dependency which relies on lodash@1.0.1\r\n\r\n```\r\nFatal error: boolean is not a function\r\nTypeError: boolean is not a function\r\n    at Function.isPlainObject ([...]/node_modules/grunt-browser-sync/node_modules/browser-sync/node_modules/glob-watcher/node_modules/gaze/node_modules/globule/node_modules/lodash/dist/lodash.js:1652:64)\r\n``` \r\nDeps path:\r\n```\r\ngrunt-browser-sync/browser-sync/glob-watcher/gaze/globule/lodash\r\n```\r\n\r\nReproduce:\r\n```js\r\nvar sassdoc = require('sassdoc');\r\nvar _ = require('lodash'); // 1.0.1\r\n\r\n_.isPlainObject({});  // Boom\r\n```\r\n\r\n```js\r\nvar sassdoc = require('sassdoc');\r\nvar _ = require('lodash'); // >=3.0.0\r\n\r\n_.isPlainObject({});  // \\o/\r\n```\r\n\r\nThis is coming from our `require('core-js/shim')` from `polyfill.js` \r\nIt must be overriding or extending a native prototype.\r\n\r\nNot sure whether we could or should do something about it, just keeping a record of it here.\r\n\r\nIdeally, it would be nice to not depend on core-js at some point, let see.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SassDoc/sassdoc/issues/comments/72456026","html_url":"https://github.com/SassDoc/sassdoc/issues/354#issuecomment-72456026","issue_url":"https://api.github.com/repos/SassDoc/sassdoc/issues/354","id":72456026,"user":{"login":"valeriangalliat","id":3929133,"avatar_url":"https://avatars.githubusercontent.com/u/3929133?v=3","gravatar_id":"","url":"https://api.github.com/users/valeriangalliat","html_url":"https://github.com/valeriangalliat","followers_url":"https://api.github.com/users/valeriangalliat/followers","following_url":"https://api.github.com/users/valeriangalliat/following{/other_user}","gists_url":"https://api.github.com/users/valeriangalliat/gists{/gist_id}","starred_url":"https://api.github.com/users/valeriangalliat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valeriangalliat/subscriptions","organizations_url":"https://api.github.com/users/valeriangalliat/orgs","repos_url":"https://api.github.com/users/valeriangalliat/repos","events_url":"https://api.github.com/users/valeriangalliat/events{/privacy}","received_events_url":"https://api.github.com/users/valeriangalliat/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T13:15:56Z","updated_at":"2015-02-02T13:15:56Z","body":"That's not exactly the purpose of my script. The above script will test several \"real\" projects with both `master` and `develop` branches and spawn a `diff` with the outputs (and let you manually compare the eventual differences).\r\n\r\nIt's quite specific to the fact `develop` contains a rewritten `master` but should yield the exact same results."}}