angular/devtools/projects
Doug Parker 3104e43b74 refactor(devtools): fix reading resolutionPath (#60403)
Sometimes `forest` can be empty if the provided roots are empty, and was leading to a "Cannot read `resolutionPath` of `undefined`" error. Now we check the forest has a tree in it before looking up `resolutionPath`.

There might be a separate issue with the fact that the backend script likely shouldn't be emitting an empty forest in the first place. However we already check that a resolution path exists at all, so I think it's fair to also check that a tree was provided. We can separately look into making sure the backend is emitting valid data.

PR Close #60403
2025-03-18 10:19:51 +01:00
..
demo-no-zone refactor(devtools): migrate devtools to prettier formatting (#58624) 2024-11-19 16:31:24 -08:00
demo-standalone refactor(devtools): styles management (#59589) 2025-02-12 10:47:02 -08:00
ng-devtools refactor(devtools): fix reading resolutionPath (#60403) 2025-03-18 10:19:51 +01:00
ng-devtools-backend refactor(devtools): fix reading resolutionPath (#60403) 2025-03-18 10:19:51 +01:00
protocol feat(devtools): add the onpush label for marked onpush components in the components tree view (#60059) 2025-02-26 11:20:22 -05:00
shared-utils refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
shell-browser release: bump Angular DevTools version to 1.0.26 (#60309) 2025-03-10 11:40:26 -07:00