Commit 9a5609a
committed
fix(@angular-devkit/build-angular): improve parsing of error messages
Webpack errors can sometimes be several hundred of thousands of characters long as it may contain the entire bundle. This can cause a ReDoS. This change improves the way we parse and remove stack traces from error messages.
Closes #24771
(cherry picked from commit d4c4508)1 parent 69390ae commit 9a5609a
File tree
1 file changed
+3
-3
lines changed- packages/angular_devkit/build_angular/src/webpack/utils
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
416 | | - | |
417 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| |||
0 commit comments