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.
@typeheim/fluent-ng
Advanced tools
Collection of Angular extensions <a href="https://travis-ci.org/github/type
Collection of Angular extensions
Install package
yarn add @typeheim/fluent-ng
//or
npm -i @typeheim/fluent-ng
StreamPipe is an alternative to Angular core AsyncPipe. StreamPipe is tuned to work only with observables and support setting default values instead of null
.
Unlike AsyncPipe, StreamPipe call detectChanges
of ChangeDetectorRef
instead of markForCheck
that marks the component tree dirty up to the root component, and then re-renders the full path until the component that caused the change, and all its child components related to the change. In the end, StreamPipe, triggers change detection and rendering only in the very component where the change got introduced, and the child components effected by the change giving better performance and smooth UI chnages.
@Component({
template: `
{{observableSource | stream}}
{{observableSource | stream: {default: 'default text'} }}
`
})
class StreamSampleComponent {
observableSource = new Subject()
}
AwaitPipe works the same way as StreamPipe but instead of observables it expects promise.
@Component({
template: `
{{promiseSource | await}}
{{promiseSource | await: {default: 'default text'} }}
`
})
class PromiseSampleComponent {
promiseSource = new Promise((resolve) => resolve('it works!'))
}
FAQs
Collection of Angular extensions <a href="https://travis-ci.org/github/type
We found that @typeheim/fluent-ng 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.
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.