Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@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.1.4 (2025-01-29)
| Commit | Type | Description | | -- | -- | -- | | 544b9ee7ca0 | fix | check whether application is destroyed before printing hydration stats (#59716) | | d6e78c072dc | fix | ensure type is preserved during HMR (#59700) | | c2436702df9 | fix | fixes test timer-based test flakiness in CI (#59674) |
| Commit | Type | Description | | -- | -- | -- | | 44180645992 | fix | not setting initial value on signal-based input (#59773) |
| Commit | Type | Description |
| -- | -- | -- |
| 1828a840620 | fix | prepend baseHref
to sourceMappingURL
in CSS content (#59730) |
| 1c84cbca30e | fix | Update pseudoevent created by createMouseSpecialEvent to populate _originalEvent
property (#59690) |
| 12256574626 | fix | Update pseudoevent created by createMouseSpecialEvent to populate _originalEvent
property (#59690) |
| 3f4d5f636aa | fix | Update pseudoevent created by createMouseSpecialEvent to populate _originalEvent
property (#59690) |
| Commit | Type | Description | | -- | -- | -- | | e3da35ec749 | fix | prevent error handling when injector is destroyed (#59457) |
| Commit | Type | Description |
| -- | -- | -- |
| 522acbf3d7e | fix | add missing rxjs
peer dependency (#59747) |
<a name="19.2.0-next.0"></a>
FAQs
Angular - the core framework
The npm package @angular/core receives a total of 1,445,443 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.