{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/8561","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/8561/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/8561/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/8561/events","html_url":"https://github.com/webpack/webpack/pull/8561","id":394358326,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxMTI0MTk4","number":8561,"title":"Allow MultiStats to be called with no options","user":{"login":"jahredhope","id":13903378,"node_id":"MDQ6VXNlcjEzOTAzMzc4","avatar_url":"https://avatars3.githubusercontent.com/u/13903378?v=4","gravatar_id":"","url":"https://api.github.com/users/jahredhope","html_url":"https://github.com/jahredhope","followers_url":"https://api.github.com/users/jahredhope/followers","following_url":"https://api.github.com/users/jahredhope/following{/other_user}","gists_url":"https://api.github.com/users/jahredhope/gists{/gist_id}","starred_url":"https://api.github.com/users/jahredhope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jahredhope/subscriptions","organizations_url":"https://api.github.com/users/jahredhope/orgs","repos_url":"https://api.github.com/users/jahredhope/repos","events_url":"https://api.github.com/users/jahredhope/events{/privacy}","received_events_url":"https://api.github.com/users/jahredhope/received_events","type":"User","site_admin":false},"labels":[{"id":689140390,"node_id":"MDU6TGFiZWw2ODkxNDAzOTA=","url":"https://api.github.com/repos/webpack/webpack/labels/PR:%20next","name":"PR: next","color":"8b32d3","default":false},{"id":572817354,"node_id":"MDU6TGFiZWw1NzI4MTczNTQ=","url":"https://api.github.com/repos/webpack/webpack/labels/PR:%20unreviewed","name":"PR: unreviewed","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-27T10:32:44Z","updated_at":"2018-12-27T10:32:48Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/webpack/webpack/pulls/8561","html_url":"https://github.com/webpack/webpack/pull/8561","diff_url":"https://github.com/webpack/webpack/pull/8561.diff","patch_url":"https://github.com/webpack/webpack/pull/8561.patch"},"body":"While attempting to upgrade a plugin to support v5 tests started failing, due to [a test that called toJson on stats returned from a multi-target build](https://github.com/jahredhope/html-render-webpack-plugin/blob/master/tests/test-cases/webpack-stats/src/render.js#L2).\r\n\r\nThis issue is only available in the alpha branch so I haven't raised an issue. See comment in v5 alpha branch feedback.\r\nIssue: https://github.com/webpack/webpack/issues/8537#issuecomment-450118762\r\n\r\nThis change will allow consumers to call toJson and toString safely without any additional options. There is no change when options are passed in.\r\n\r\n**What kind of change does this PR introduce?**\r\n\r\nThis is a bug fix to address an unreleased regression. Related change: https://github.com/webpack/webpack/commit/123b0a64e78d154e4c326c845239136e1129c7aa.\r\n\r\n**Did you add tests for your changes?**\r\n\r\nYes.\r\n\r\n**Does this PR introduce a breaking change?**\r\n\r\nNo. Not a breaking change.\r\n\r\n**What needs to be documented once your changes are merged?**\r\n\r\nNo documentation changes."},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/450125267","html_url":"https://github.com/webpack/webpack/pull/8561#issuecomment-450125267","issue_url":"https://api.github.com/repos/webpack/webpack/issues/8561","id":450125267,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDEyNTI2Nw==","user":{"login":"webpack-bot","id":26676291,"node_id":"MDQ6VXNlcjI2Njc2Mjkx","avatar_url":"https://avatars0.githubusercontent.com/u/26676291?v=4","gravatar_id":"","url":"https://api.github.com/users/webpack-bot","html_url":"https://github.com/webpack-bot","followers_url":"https://api.github.com/users/webpack-bot/followers","following_url":"https://api.github.com/users/webpack-bot/following{/other_user}","gists_url":"https://api.github.com/users/webpack-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack-bot/subscriptions","organizations_url":"https://api.github.com/users/webpack-bot/orgs","repos_url":"https://api.github.com/users/webpack-bot/repos","events_url":"https://api.github.com/users/webpack-bot/events{/privacy}","received_events_url":"https://api.github.com/users/webpack-bot/received_events","type":"User","site_admin":false},"created_at":"2018-12-27T10:32:48Z","updated_at":"2018-12-27T10:32:48Z","author_association":"NONE","body":"<!-- identifier: admin-actions -->\n\n*For maintainers only:*\n\n* [ ] <!-- document --> This need to be documented (issue in webpack/webpack.js.org will be filed when merged)"}}
{"actor":{"display_login":"webpack-bot"}}