angular-cn/packages/compiler-cli/ngcc/test
George Kalpakas b6e8847967 fix(ngcc): handle imports in dts files when processing CommonJS (#35191)
When statically evaluating CommonJS code it is possible to find that we
are looking for the declaration of an identifier that actually came from
a typings file (rather than a CommonJS file).

Previously, the CommonJS reflection host would always try to use a
CommonJS specific algorithm for finding identifier declarations, but
when the id is actually in a typings file this resulted in the returned
declaration being the containing file of the declaration rather than the
declaration itself.

Now the CommonJS reflection host will check to see if the file
containing the identifier is a typings file and use the appropriate
stategy.

(Note: This is the equivalent of #34356 but for CommonJS.)

PR Close #35191
2020-02-21 09:06:46 -08:00
..
analysis fix(ngcc): do not attempt compilation when analysis fails (#34889) 2020-01-23 14:47:03 -08:00
dependencies test(ngcc): update dependency host test description (#34695) 2020-01-15 10:24:50 -08:00
entry_point_finder fix(ngcc): ensure that path-mapped secondary entry-points are processed correctly (#35227) 2020-02-07 11:32:05 -08:00
execution feat(ngcc): pause async ngcc processing if another process has the lockfile (#35131) 2020-02-18 17:20:41 -08:00
helpers feat(ngcc): pause async ngcc processing if another process has the lockfile (#35131) 2020-02-18 17:20:41 -08:00
host fix(ngcc): handle imports in dts files when processing CommonJS (#35191) 2020-02-21 09:06:46 -08:00
integration feat(ngcc): pause async ngcc processing if another process has the lockfile (#35131) 2020-02-18 17:20:41 -08:00
logging feat(compiler-cli): ngcc - make logging more configurable (#29591) 2019-04-01 11:53:28 -07:00
migrations feat(ivy): error in ivy when inheriting a ctor from an undecorated base (#34460) 2019-12-18 15:04:49 -08:00
packages refactor(ngcc): add additional build marker helpers (#35079) 2020-01-31 17:02:43 -08:00
rendering test(ngcc): remove usage of ES2015 syntax in ES5/UMD/CommonJS tests (#34889) 2020-01-23 14:47:03 -08:00
writing feat(ngcc): automatically clean outdated ngcc artifacts (#35079) 2020-01-31 17:02:44 -08:00
BUILD.bazel test: handle bootstrap templated_args in jasmine_node_test defaults.bzl (#34736) 2020-01-15 14:58:07 -05:00
utils_spec.ts refactor(ngcc): use a special map for memoizing expensive-to-compute values (#34512) 2020-01-08 15:00:50 -08:00