{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":577388475,"defaultBranch":"main","name":"vite","ownerLogin":"thebanjomatic","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2022-12-12T16:17:11.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/17907922?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1714170780.0","currentOid":""},"activityList":{"items":[{"before":"5c4691ef1189cb989a8c9719e45a04464837c9a8","after":"902b4eb9f214bd3ced79e7c5e66571741df4e1e2","ref":"refs/heads/fix/error-logging","pushedAt":"2024-04-29T09:52:48.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thebanjomatic","name":"Adam Hines","path":"/thebanjomatic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17907922?s=80&v=4"},"commit":{"message":"fix(error-logging): rollup errors weren't displaying id and codeframe\n\nThe code which modified the error message to have additional context about the module id\nand code frame where the error originated was relying on the error's stack having never\nbeen accessed prior to modifying the error's message. At some point, this no longer was\ntrue for Rollup errors, and no context information was being displayed as a result other\nthan the stack trace within the rollup library that doesn't make it clear what or where\nthe problem is.\n\nThis PR changes the code that add's the id and code-frame context to the error message\nto also modify the error's stack. To do so, it attempts to extract the original stack\ntrace by removing the existing error message from error.stack if it matches, and\notherwise falls back to just displaying the stack trace with its own message since it\nvaries from the error.message.\n\nSome additional normalization was done to the error.frame field if it exists to ensure\nthat consistent padding is used in the error output. This is because the rollup code-\nframe doesn't have new-lines around it, but the esbuild one does.\n\nFixes #16539","shortMessageHtmlLink":"fix(error-logging): rollup errors weren't displaying id and codeframe"}},{"before":"0745ad17e862f6fd3c501e342a61036842b0c13c","after":"5c4691ef1189cb989a8c9719e45a04464837c9a8","ref":"refs/heads/fix/error-logging","pushedAt":"2024-04-27T01:20:08.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thebanjomatic","name":"Adam Hines","path":"/thebanjomatic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17907922?s=80&v=4"},"commit":{"message":"fix(error-logging): rollup errors weren't displaying id and codeframe\n\nThe code which modified the error message to have additional context about the module id\nand code frame where the error originated was relying on the error's stack having never\nbeen accessed prior to modifying the error's message. At some point, this no longer was\ntrue for Rollup errors, and no context information was being displayed as a result other\nthan the stack trace within the rollup library that doesn't make it clear what or where\nthe problem is.\n\nThis PR changes the code that add's the id and code-frame context to the error message\nto also modify the error's stack. To do so, it attempts to extract the original stack\ntrace by removing the existing error message from error.stack if it matches, and\notherwise falls back to just displaying the stack trace with its own message since it\nvaries from the error.message.\n\nSome additional normalization was done to the error.frame field if it exists to ensure\nthat consistent padding is used in the error output. This is because the rollup code-\nframe doesn't have new-lines around it, but the esbuild one does.\n\nFixes #16539","shortMessageHtmlLink":"fix(error-logging): rollup errors weren't displaying id and codeframe"}},{"before":"b20d1426ca77efe88c4f831a76c05cea344d0225","after":"0745ad17e862f6fd3c501e342a61036842b0c13c","ref":"refs/heads/fix/error-logging","pushedAt":"2024-04-27T01:04:53.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thebanjomatic","name":"Adam Hines","path":"/thebanjomatic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17907922?s=80&v=4"},"commit":{"message":"fix(error-logging): rollup errors weren't displaying id and codeframe\n\nThe code which modified the error message to have additional context about the module id\nand code frame where the error originated was relying on the error's stack having never\nbeen accessed prior to modifying the error's message. At some point, this no longer was\ntrue for Rollup errors, and no context information was being displayed as a result other\nthan the stack trace within the rollup library that doesn't make it clear what or where\nthe problem is.\n\nThis PR changes the code that add's the id and code-frame context to the error message\nto also modify the error's stack. To do so, it attempts to extract the original stack\ntrace by removing the existing error message from error.stack if it matches, and\notherwise falls back to just displaying the stack trace with its own message since it\nvaries from the error.message.\n\nSome additional normalization was done to the error.frame field if it exists to ensure\nthat consistent padding is used in the error output. This is because the rollup code-\nframe doesn't have new-lines around it, but the esbuild one does.\n\nFixes #16539","shortMessageHtmlLink":"fix(error-logging): rollup errors weren't displaying id and codeframe"}},{"before":null,"after":"b20d1426ca77efe88c4f831a76c05cea344d0225","ref":"refs/heads/fix/error-logging","pushedAt":"2024-04-26T22:33:00.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"thebanjomatic","name":"Adam Hines","path":"/thebanjomatic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17907922?s=80&v=4"},"commit":{"message":"fix(error-logging): rollup errors weren't displaying id and codeframe\n\nThe code which modified the error message to have additional context about the module id\nand code frame where the error originated was relying on the error's stack having never\nbeen accessed prior to modifying the error's message. At some point, this no longer was\ntrue for Rollup errors, and no context information was being displayed as a result other\nthan the stack trace within the rollup library that doesn't make it clear what or where\nthe problem is.\n\nThis PR changes the code that add's the id and code-frame context to the error message\nto also modify the error's stack. To do so, it attempts to extract the original stack\ntrace by removing the existing error message from error.stack if it matches, and\notherwise falling back to looking for the stack trace portion by searching for indented\nlines that look something like:\n at (file://path/to/file.js\nor\n at \n\nSome additional normalization was done to the error.frame field if it exists to ensure\nthat consistent padding is used in the error output.\n\nFixes #16539","shortMessageHtmlLink":"fix(error-logging): rollup errors weren't displaying id and codeframe"}},{"before":"96353ba230f932a4b4ca691b56a514294a54a88e","after":"16b9a8cbe6cd24b65579cb3cc32159545c7915ac","ref":"refs/heads/feat/cspNonce-style","pushedAt":"2024-04-18T10:27:42.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"thebanjomatic","name":"Adam Hines","path":"/thebanjomatic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17907922?s=80&v=4"},"commit":{"message":"docs(cspNonce): update to include