
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
@angular/compiler-cli
Advanced tools
The @angular/compiler-cli package provides command-line interfaces to perform Angular compilations. It is primarily used to compile Angular applications into JavaScript code that can be executed by browsers. It leverages the Angular Compiler (ngc) which is a superset of the TypeScript compiler (tsc) and includes Angular-specific metadata processing.
Ahead-of-Time (AOT) Compilation
Compiles Angular HTML and TypeScript code into efficient JavaScript code during the build process before the browser downloads and runs that code. This is the main feature of the compiler-cli which results in faster rendering, fewer asynchronous requests, smaller Angular framework download size, and better security.
ngc -p tsconfig.app.json
Incremental Builds
Supports incremental compilation by reusing the previous compilation results to speed up subsequent compilations. This feature is useful for large projects to reduce build times.
ngc --incremental
Link Time Code Generation
Processes libraries to generate Ivy-compatible code as part of the Angular Ivy compilation pipeline. This feature is used when compiling libraries with the Ivy renderer.
ngc --create-ivy-entry-points
The TypeScript compiler is similar to @angular/compiler-cli in that it compiles TypeScript code to JavaScript. However, it does not have Angular-specific metadata processing capabilities and is not tailored for Angular applications.
Babel is a JavaScript compiler that can transform syntax, polyfill features that are missing in your target environment, and more. While it is not specific to Angular, it is often used in the JavaScript ecosystem for compiling next-generation JavaScript code down to a form that can be executed in current browsers.
Webpack is a module bundler that can also perform various optimizations and transformations on your code, including compiling TypeScript with the appropriate loader. It is more general-purpose compared to @angular/compiler-cli and is used in a wide variety of JavaScript applications, not just Angular.
20.1.0-next.0 (2025-06-04)
| Commit | Type | Description | | -- | -- | -- | | 5a76826d26 | fix | only report parser errors on invalid expression (#61793) | | e9fcbb8af1 | fix | remove TypeScript from linker (#61618) |
| Commit | Type | Description | | -- | -- | -- | | e62fb359d6 | feat | add experimental support for fast type declaration emission (#61334) | | 0cf1001715 | feat | support host directives with direct external references in fast type declaration emission (#61469) | | 77fa204ad1 | fix | rename flag for enabling fast type declaration emission (#61353) | | c439d6938d | fix | symbol builder duplicating host directives (#61240) | | 3e1baa5a95 | fix | typo in NG2026 message (#61325) |
| Commit | Type | Description |
| -- | -- | -- |
| 8163a8995e | feat | Add destroyed
property on DestroyRef
(#61849) |
| 4356e85456 | fix | fakeAsync should not depend on module import order (#61375) |
| 583b9a7be5 | fix | missing useExisting providers throwing for optional calls (#61137) |
| 8f65223bd8 | fix | update min Node.js support to 20.19, 22.12, and 24.0 (#61499) |
| b785256b9e | perf | avoid intermediate arrays in definition (#61445) |
| Commit | Type | Description |
| -- | -- | -- |
| 610bebfce9 | fix | Allow ControlState as reset arguments for FormGroup
/FormRecord
(#55860) |
| Commit | Type | Description | | -- | -- | -- | | cf55d1bdd4 | feat | Support importing the external module's export about the angular metadata. (#61122) |
| Commit | Type | Description | | -- | -- | -- | | c67dbda8ff | feat | support notification closes (#61442) | | 6e1df54799 | feat | support push subscription changes (#61856) |
<!-- CHANGELOG SPLIT MARKER --><a name="20.0.1"></a>
FAQs
Angular - the compiler CLI for Node.js
The npm package @angular/compiler-cli receives a total of 3,087,255 weekly downloads. As such, @angular/compiler-cli popularity was classified as popular.
We found that @angular/compiler-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.