
Security News
VulnCon 2025: NVD Scraps Industry Consortium Plan, Raising Questions About Reform
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
@angular/core
Advanced tools
The @angular/core package is a fundamental part of Angular, a popular front-end web application platform. It provides the critical runtime parts of the Angular framework, including the component decorator, directives, dependency injection, and the core Angular APIs necessary for building dynamic single-page web applications.
Components
Components are the building blocks of Angular applications. They control a patch of screen called a view. The @Component decorator indicates that the class immediately below it is a component and provides metadata about the component.
"@Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'My Angular App'; }"
Dependency Injection
Dependency Injection (DI) is a design pattern used in Angular to make components or classes dependent on interfaces rather than concrete implementations. This improves modularity and testability.
"constructor(private myService: MyService) {}"
Directives
Directives are classes that add additional behavior to elements in your Angular applications. With Angular's built-in directives, you can manage forms, lists, styles, and what users see.
"@Directive({ selector: '[appHighlight]' }) export class HighlightDirective { constructor(el: ElementRef) { el.nativeElement.style.backgroundColor = 'yellow'; } }"
React is a popular JavaScript library for building user interfaces. It focuses on a component-based architecture similar to Angular but uses a different syntax and design philosophy. React emphasizes a one-way data flow and virtual DOM for efficient rendering.
Vue.js is a progressive JavaScript framework used for building UIs and single-page applications. It is designed from the ground up to be incrementally adoptable. Vue also focuses on the ViewModel part of the MVVM pattern and employs a reactive and composable data model.
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT
19.2.5 (2025-04-02)
| Commit | Type | Description | | -- | -- | -- | | e61d06afb5 | fix | step 6 tutorial docs (#60630) |
| Commit | Type | Description |
| -- | -- | -- |
| fa48f98d9f | fix | add missing peer dependency on @angular/common
(#60660) |
| Commit | Type | Description | | -- | -- | -- | | ca5aa4d55b | fix | throw for invalid "as" expression in if block (#60580) |
| Commit | Type | Description |
| -- | -- | -- |
| f4c4b10ea8 | fix | Produce fatal diagnostic on duplicate decorated properties (#60376) |
| 22a0e54ac4 | fix | support relative imports to symbols outside rootDir
(#60555) |
| Commit | Type | Description | | -- | -- | -- | | 64da69f7b6 | fix | check ngDevMode for undefined (#60565) | | 8f68d1bec3 | fix | fix ng generate @angular/core:output-migration (#60626) | | bc79985c65 | fix | fix regexp for event types (#60592) | | 006ac7f22f | fix | fixes #592882 ng generate @angular/core:signal-queries-migration (#60688) | | da6e93f434 | fix | preserve comments in internal inject migration (#60588) | | dbbddd1617 | fix | prevent omission of deferred pipes in full compilation (#60571) |
| Commit | Type | Description | | -- | -- | -- | | 0e9e0348dd | fix | Update adapter to log instead of throw errors (#60651) |
| Commit | Type | Description | | -- | -- | -- | | 15f53f035b | fix | handle shorthand assignments in super call (#60602) | | 4b161e6234 | fix | inject migration not handling super parameter referenced via this (#60602) |
| Commit | Type | Description | | -- | -- | -- | | 958e98e4f7 | fix | Add missing types to transition (#60307) |
| Commit | Type | Description | | -- | -- | -- | | 7cd89ad2c6 | fix | assign initializing client's app version, when a request is for worker script (#58131) |
<!-- CHANGELOG SPLIT MARKER --><a name="20.0.0-next.4"></a>
FAQs
Angular - the core framework
The npm package @angular/core receives a total of 3,160,170 weekly downloads. As such, @angular/core popularity was classified as popular.
We found that @angular/core 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.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.