angular-docs-cn/packages
Andrew Scott 8f12f47492 fix(compiler-cli): Allow analysis to continue with invalid style url (#41403)
Currently, we throw a FatalDiagnosticError when we fail to load a resource
(`templateUrl` or `styleUrl`) at various stages in the compiler. This prevents
analysis of the component from completing. This will result in in users not being
able to get any information in the component template when there is a missing
`styleUrl`, for example.

This commit simply tracks the diagnostic, marks the component as poisoned, and
continues merrily along. Environments configured to use poisoned data
(like the language service) will then be able to use other information from the analysis.

Fixes https://github.com/angular/vscode-ng-language-service/issues/1241

PR Close #41403
2021-04-07 09:42:21 -07:00
..
animations feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
bazel fix(bazel): add missing dependency on `tslib` (#41480) 2021-04-07 09:39:49 -07:00
benchpress fix(dev-infra): update type castings for JSON.parse usage (#40710) 2021-02-09 10:48:43 -08:00
common feat(common): add `historyGo` method to `Location` service (#38890) 2021-04-06 09:25:58 -07:00
compiler fix(compiler): include used components during JIT compilation of partial component declaration (#41353) 2021-04-01 11:39:41 -07:00
compiler-cli fix(compiler-cli): Allow analysis to continue with invalid style url (#41403) 2021-04-07 09:42:21 -07:00
core feat(core): support `forwardRef` in `providedIn` of `Injectable` declaration (#41426) 2021-04-06 10:03:38 -07:00
docs
elements ci: fix `elements` test on older browsers (#41324) 2021-03-24 08:28:46 -07:00
examples docs: improve description, examples of DecimalPipe's digitsInfo parameter (#40714) 2021-02-26 15:42:29 -08:00
forms docs(forms): fix the short description for `DefaultValueAccessor` (#41409) 2021-04-01 12:07:03 -07:00
language-service fix(compiler-cli): Allow analysis to continue with invalid style url (#41403) 2021-04-07 09:42:21 -07:00
localize build: update yargs dependency to 16.2.0. (#41351) 2021-03-30 16:59:38 -07:00
misc/angular-in-memory-web-api release: bump angular-in-web-memory-api package to 0.12.0 (#41487) 2021-04-07 09:35:17 -07:00
platform-browser fix(platform-browser): configure `XhrFactory` to use `BrowserXhr` (#41313) 2021-03-29 15:14:16 -07:00
platform-browser-dynamic feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
platform-server fix(platform-browser): configure `XhrFactory` to use `BrowserXhr` (#41313) 2021-03-29 15:14:16 -07:00
private/testing build: update .bazelversion (#40579) 2021-01-26 11:35:54 -08:00
router docs(router): make getCurrentNavigation() jsdoc more explicit (#41417) 2021-04-06 10:05:17 -07:00
service-worker feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
upgrade feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
zone.js feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
BUILD.bazel build: replace @types/trusted-types dep with minimal type defs (#39211) 2020-10-15 09:08:00 -07:00
README.md
circular-deps-test.conf.js fix(platform-webworker): remove platform-webworker and platform-webworker-dynamic (#38846) 2020-09-30 09:13:59 -04:00
empty.ts
goog.d.ts
license-banner.txt docs: update year (#40925) 2021-02-22 12:37:40 -08:00
system.d.ts
tsconfig-build-no-strict.json
tsconfig-build.json
tsconfig-test.json
tsconfig.json fix(platform-webworker): remove platform-webworker and platform-webworker-dynamic (#38846) 2020-09-30 09:13:59 -04:00
types.d.ts build: replace @types/trusted-types dep with minimal type defs (#39211) 2020-10-15 09:08:00 -07:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT