
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@mmuscat/angular-auto
Advanced tools
@Auto()
@Component({
template: `{{ count }}`,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class MyComponent {
@Input()
count = 0;
object = new Resource()
@Subscribe()
autoIncrement = interval(1000).pipe(
tap((value) => this.count = value + 1)
);
@Unsubscribe()
subscription = new Subscription();
ngOnInit() {
console.log("I am called!")
}
}
@Auto()
export class Resource {
private http = inject(HttpClient)
@Check()
value
ngOnInit() {
console.log("I am also called!")
}
fetch(params) {
this.http.get(endpoint, params)
.subscribe((value) => this.value = value)
}
}
AutoAutomatically compose the decorated class. Lifecycle hooks cascade to any Auto decorated object created inside a field initializer or class constructor.
CheckAutomatically check the decorated value during ngDoCheck and mark the view dirty when it changes. Use with OnPush change detection strategy.
SubscribeAutomatically subscribe to the decorated observable during ngDoCheck and mark the view dirty whenever a value is emitted. Use with OnPush change detection strategy.
Assigning new values will automatically cancel the previous subscription. Subscriptions are automatically unsubscribed when the context is destroyed.
UnsubscribeAutomatically unsubscribe the decorated subject or subscription during ngOnDestroy. You must still manually call complete and/or unsubscribe before assigning a new value to prevent memory leaks.
FAQs
Auto decorators for Angular
The npm package @mmuscat/angular-auto receives a total of 0 weekly downloads. As such, @mmuscat/angular-auto popularity was classified as not popular.
We found that @mmuscat/angular-auto demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.