angular/packages/compiler-cli/test
Kristiyan Kostadinov 247c18dee0 fix(compiler-cli): handle pre-release versions when checking version (#44109)
Currently the TS version checking function interprets a version like `1.2.3-rc.5` as `1.2.NaN` which would allow it to bypass the version checking altogether.

These changes add a little bit more logic to ensure that such versions are handled correctly. There's also an error if we don't manage to parse the version string.

Also it seemed like we never actually ran the version check unit tests, because they didn't have a test target.

PR Close #44109
2021-11-09 20:54:45 +00:00
..
compliance fix(compiler): generate correct code for safe method calls (#44088) 2021-11-08 17:31:36 +00:00
diagnostics build: rename "no-ivy-aot" tag to "view-engine-only" (#43862) 2021-10-19 10:06:55 -07:00
metadata refactor: make all imports compatible with ESM/CJS output. (#43431) 2021-10-01 18:28:45 +00:00
ngtsc fix(compiler): do not error if $any is used inside a listener (#43866) 2021-10-18 10:43:03 -07:00
transformers build: rename "no-ivy-aot" tag to "view-engine-only" (#43862) 2021-10-19 10:06:55 -07:00
BUILD.bazel fix(compiler-cli): handle pre-release versions when checking version (#44109) 2021-11-09 20:54:45 +00:00
extract_i18n_spec.ts test(compiler-cli): run i18n extraction tests using Ivy compiler (#43893) 2021-10-19 16:26:21 -07:00
mocks.ts refactor: make all imports compatible with ESM/CJS output. (#43431) 2021-10-01 18:28:45 +00:00
ngc_spec.ts refactor: remove remaining dynamic require usages in package output (#43431) 2021-10-01 18:28:45 +00:00
perform_compile_spec.ts refactor: make all imports compatible with ESM/CJS output. (#43431) 2021-10-01 18:28:45 +00:00
perform_watch_spec.ts test(compiler-cli): run watch mode tests using Ivy compiler (#43893) 2021-10-19 16:26:21 -07:00
test_support.ts test(compiler-cli): run watch mode tests using Ivy compiler (#43893) 2021-10-19 16:26:21 -07:00
typescript_support_spec.ts fix(compiler-cli): handle pre-release versions when checking version (#44109) 2021-11-09 20:54:45 +00:00