1.18.5
Pinned
Activity
SimulatedGREG push ChessCom/cypress-image-diff
commit sha: df1beaae59c2234ab5e2aac1e8b090179453aa18
push time in 1 month agoSimulatedGREG push ChessCom/cypress-image-diff
commit sha: 0d22cc5762202f8dcb8ec278c631909d1ea1d94e
push time in 1 month agoSimulatedGREG push ChessCom/cypress-image-diff
commit sha: 3bbb49b98732d0ae797239c4f9c7c378c1ff0154
push time in 1 month agoSimulatedGREG push ChessCom/cypress-image-diff
commit sha: 1d0e648faf0607881157cc91c7c1865c6fb7c032
push time in 1 month agoSimulatedGREG push ChessCom/cypress-image-diff
commit sha: b24d3b6a89d6eae4009f02f1254bb3809e476d6f
push time in 1 month agoSimulatedGREG push ChessCom/cypress-image-diff
commit sha: d19cac3875ef2feca467ada10d69ef0f2bf01e51
push time in 1 month agoSimulatedGREG issue statoscope/statoscope
Web App fails to boot: Unable to handle `null` values in `<chunk>.files` Array
Describe the bug
I'm not what causes our Stats output to create a null
value in a chunk
's files
array, but the parsing logic around this breaks the entire web application.
Here's what our stats output looks like...
And here's the errors we get when trying to load it...
I was able to find this piece of logic here, https://github.com/statoscope/statoscope/blob/master/packages/webpack-model/src/handleCompilation.ts#L426. I noticed there is a .filter(Boolean)
after the .map
. I believe putting the .filter
first would solve this issue.
To Reproduce Steps to reproduce the behavior:
- Go to https://statoscope.tech
- Upload this stats output (this is really trimmed down for security reasons). https://gist.github.com/SimulatedGREG/97443730ff9637bcbf90151f2154af8b
- See browser console for error.
Expected behavior
I'd expect to use https://statoscope.tech to load a Stats output from my webpack
configuration.
Versions:
- Node (for non-browser bug):
14.14.0
- Webpack:
5.69.1
- Statoscope:
@statoscope/[email protected]
SimulatedGREG in SimulatedGREG/stts delete branch service/cypress
SimulatedGREG pull request inket/stts
Service: Add Cypress
https://www.cypressstatus.com/
Added using bundle exec ruby extract.rb https://www.cypressstatus.com/
SimulatedGREG in SimulatedGREG/stts create branch service/cypress
SimulatedGREG forked inket/stts
hardcode to use .artifacts