Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@intelligo.ai/bonfire
Advanced tools
Writen by Tzach bonfil. github
Bonfire is open source decorators utils for angular.
You can your code cleaner and simpler with adding just 2 decorators to your code. We know that angular change detection is not simple if you want it to be officent, so I made Bonfire. Simple solution to hard problem.
Now there is no use to call the change detection!
Bonfire requires Node.js v4+ to run.
Install the dependencies and devDependencies and start the server.
$ npm i @intelligo/bonfire
Before you use it, make sure you inject the change detection to your component!
import { ReRenderOnChange, SetChecker, Observable } from '@intelligo/bonfire';
@ReRenderOnChange()
@Component({
selector: 'my-component',
templateUrl: './my-component.component.html',
styleUrls: ['./my-component.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush // <== IMPORTANT
})
export class SupportComponent {
@SetChecker() group: ISomeInterface;
@Observable() showLoader = false;
showLoader$: BehaviorSubject<boolean>;
constructor(
private cd: ChangeDetectorRef // <== MOST IMPORTANT
) {}
}
Bonfire uses a number of open source projects to work properly:
MIT
FAQs
Open source decorators utils for angular
We found that @intelligo.ai/bonfire demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.