Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
@angular/core
Advanced tools
Package description
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.
Changelog
17.0.5 (2023-11-29)
| Commit | Type | Description | | -- | -- | -- | | 6be88040d1 | fix | avoid stale provider info when TestBed.overrideProvider is used (#52918) | | dee50f1d78 | fix | inherit host directives (#52992) | | 07920d96d4 | fix | Reattached views that are dirty from a signal update should refresh (#53001) |
| Commit | Type | Description |
| -- | -- | -- |
| aab7fb8654 | fix | Add ngForTemplate support to control flow migration (#53076) |
| dbd6f386ea | fix | allows colons in ngIf else cases to migrate (#53076) |
| 5b9f896009 | fix | cf migration fix migrating empty switch default (#53237) |
| 2b3d3b0fe1 | fix | CF migration log warning when collection aliasing detected in @for
(#53238) |
| dffeac8386 | fix | cf migration removes unnecessary bound ngifelse attribute (#53236) |
| 00cb3339ba | fix | control flow migration formatting fixes (#53076) |
| c22af72f75 | fix | fix off by one issue with template removal in CF migration (#53255) |
| ba6d7fe018 | fix | fixes CF migration i18n ng-template offsets (#53212) |
| 8f6affdd64 | fix | fixes control flow migration common module removal (#53076) |
| 6ae408847c | fix | properly handle ngIfThen cases in CF migration (#53256) |
| 0fcef65cea | fix | Update CF migration to skip templates with duplicate ng-template names (#53204) |
| Commit | Type | Description | | -- | -- | -- | | 91486aaf07 | fix | Resolvers in different parts of the route tree should be able to execute together (#52934) |
<!-- CHANGELOG SPLIT MARKER --><a name="17.0.4"></a>
Readme
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
FAQs
Angular - the core framework
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
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).