Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@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
The npm package @typeheim/fluent-ng receives a total of 2 weekly downloads. As such, @typeheim/fluent-ng popularity was classified as not popular.
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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.