
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
ngx-media-query-watcher
Advanced tools
An angular directive to easy listen and handle on media query changes.
If you like my work, feel free to support it. Donations to the project are always welcomed :)
PayPal: PayPal.Me/bengtler
BTC Wallet Address:
3QVyr2tpRLBCw1kBQ59sTDraV6DTswq8Li
ETH Wallet Address:
0x394d44f3b6e3a4f7b4d44991e7654b0cab4af68f
LTC Wallet Address:
MFif769WSZ1g7ReAzzDE7TJVqtkFpmoTyT
XRP Wallet Address:
rXieaAC3nevTKgVu2SYoShjTCS2Tfczqx?dt=159046833
npm install ngx-media-query-watcher@angular/core, @angular/platform-browser and rxjs - they are peer dependenciesMediaQueryWatcherModule from ngx-media-query-watcher:import { MediaQueryWatcherModule } from 'ngx-media-query-watcher'
MediaQueryWatcherModule to the imports of your NgModule:@NgModule({
imports: [
...,
MediaQueryWatcherModule
],
...
})
class YourModule { ... }
<divmedia-query-watcher query="(min-width: 992px)" (mediaMatchChanged)="handleChange($event)"></div> in your templates to listen on a media query and handle a media query change.paths:paths: {
...
'ngx-media-query-watcher': 'node_modules/ngx-media-query-watcher/bundles/ngx-media-query-watcher.umd.js'
}
packages:packages: {
'ngx-media-query-watcher': {
format: 'cjs'
}
}
media-query-watcher - add it as attribute to a html-tagquery - pass a css media query heremediaMatchChanged - get notified when a media query matchs or not<div
media-query-watcher
query="(min-width: 992px)"
(mediaMatchChanged)="handleChange($event)"
>
<p>hello</p>
</div>
class MyComponent {
handleChange(match: boolean) {
// handle match
}
}
FAQs
An angular directive to easy listen and handle media query changes.
The npm package ngx-media-query-watcher receives a total of 1 weekly downloads. As such, ngx-media-query-watcher popularity was classified as not popular.
We found that ngx-media-query-watcher 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.