angular/projects/ng-devtools-backend
Mark Whitfeld 5bf180afb8 fix(devtools): skip node if there is no associated TViewData (rangle/angular-devtools#804)
* fix(backend): skip node if there is no associated TViewData

The code was assuming that the TViewData item at the same index as the node
in LView would contain a data entry. This value can be `null` (which is the
case in our app), which causes a catastrophic failure in the dev tool. By
checking for null, the node is skipped because it cannot determine the
associated component or directive and the dev tool does not die.

fixes issue rangle/angular-devtools#801

* chore: style tweak - add early return to avoid nesting
2021-05-26 11:17:48 -07:00
..
src fix(devtools): skip node if there is no associated TViewData (rangle/angular-devtools#804) 2021-05-26 11:17:48 -07:00
karma.conf.js ci(devtools): fix flaky tests using cypress orb (rangle/angular-devtools#733) 2021-05-23 11:39:48 -07:00
ng-package.json feat(devtools): added prettier for formatting code on pre-commit (rangle/angular-devtools#50) 2020-02-07 13:25:16 -08:00
package.json build(devtools): update angular-framework 2021-05-17 18:29:07 -07:00
README.md Initial commit for Angular DevTools 2020-01-29 11:52:19 -08:00
tsconfig.lib.json build(devtools): revert solution-style tsconfig to align with cli 2020-08-12 18:10:34 +03:00
tsconfig.spec.json build(devtools): revert solution-style tsconfig to align with cli 2020-08-12 18:10:34 +03:00
tslint.json feat(devtools): added prettier for formatting code on pre-commit (rangle/angular-devtools#50) 2020-02-07 13:25:16 -08:00

NgDevtoolsBackend

This library was generated with Angular CLI version 8.0.0.

Code scaffolding

Run ng generate component component-name --project ng-devtools-backend to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project ng-devtools-backend.

Note: Don't forget to add --project ng-devtools-backend or else it will be added to the default project in your angular.json file.

Build

Run ng build ng-devtools-backend to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build ng-devtools-backend, go to the dist folder cd dist/ng-devtools-backend and run npm publish.

Running unit tests

Run ng test ng-devtools-backend to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.