angular-cn/packages/compiler-cli/ngcc/test/dependencies
Pete Bacon Darwin 85b5c365fc fix(ngcc): do not add DTS deep imports to missing packages list (#34695)
When searching the typings program for a package for imports a
distinction is drawn between missing entry-points and deep imports.

Previously in the `DtsDependencyHost` these deep imports may be
marked as missing if there was no typings file at the deep import path.
Instead there may be a javascript file instead. In practice this means
the import is "deep" and not "missing".

Now the `DtsDependencyHost` will also consider `.js` files when checking
for deep-imports, and it will also look inside `@types/...` for a suitable
deep-imported typings file.

Fixes #34720

PR Close #34695
2020-01-15 10:24:50 -08:00
..
commonjs_dependency_host_spec.ts fix(ngcc): correctly detect dependencies in CommonJS (#34528) 2020-01-13 09:48:20 -08:00
dependency_resolver_spec.ts fix(ngcc): avoid error due to circular dependency in `EsmDependencyHost` (#34512) 2020-01-08 15:00:50 -08:00
dts_dependency_host_spec.ts fix(ngcc): do not add DTS deep imports to missing packages list (#34695) 2020-01-15 10:24:50 -08:00
esm_dependency_host_spec.ts test(ngcc): remove `declare` from JS classes (#34695) 2020-01-15 10:24:49 -08:00
module_resolver_spec.ts fix(ngcc): handle deep imports that already have an extension (#32181) 2019-08-19 10:12:03 -07:00
umd_dependency_host_spec.ts refactor(ngcc): pass dependency info to `collectDependencies()` (#34494) 2020-01-07 10:35:03 -08:00