angular-cn/packages/compiler-cli/ngcc/test
George Kalpakas aecf9de738 fix(ngcc): correctly identify relative Windows-style import paths (#36372)
Previously, `isRelativePath()` assumed paths are *nix-style. This caused
Windows-style paths (such as `C:\foo\some-package\some-file.js`) to not
be recognized as "relative" imports.

This commit fixes this by using the OS-agnostic `isRooted()` helper and
also accounting for both styles of path delimiters: `/` and `\`

PR Close #36372
2020-04-07 15:21:27 -07:00
..
analysis style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
dependencies fix(ngcc): correctly identify relative Windows-style import paths (#36372) 2020-04-07 15:21:27 -07:00
entry_point_finder style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
execution style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
helpers style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
host fix(ngcc): detect non-emitted, non-imported TypeScript helpers (#36418) 2020-04-07 10:19:22 -07:00
integration fix(ngcc): support simple `browser` property in entry-points (#36396) 2020-04-06 11:31:10 -07:00
locking style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
logging refactor(ngcc): expose logging level on the logger (#35861) 2020-03-05 18:17:15 -05:00
migrations style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
packages fix(ngcc): support ignoring deep-imports via package config (#36423) 2020-04-06 11:32:09 -07:00
rendering style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
sourcemaps fix(ngcc): don't crash on cyclic source-map references (#36452) 2020-04-06 13:19:53 -07:00
writing style(ngcc): reformat of ngcc after clang update (#36447) 2020-04-06 09:26:57 -07:00
BUILD.bazel feat(ngcc): implement source-map flattening (#35132) 2020-02-26 12:51:35 -08:00
utils_spec.ts fix(ngcc): correctly identify relative Windows-style import paths (#36372) 2020-04-07 15:21:27 -07:00