
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@whjvenyl/angular-xxl
Advanced tools
This library contains a couple of decorators which provide functionality useful for angular components.
This library contains a couple of decorators which provide functionality useful for angular components.
The following decorators are available
This library can be installed using yarn
$> yarn add angular-xxl
Below is a short description of each @decorator
This decorator monitors dimensions (width/height) of elements; The root element of the component and/or any of its children
@HostElement('width') width$: Observable<number>;
@HostElement('width', {observable: false}) width: number;
@HostElement('height', 'width'}) size$: Observable<{height: number, width: number};
These decorators let you access the router's data, params and queryParams easily with just one line of code.
@Component({
selector: 'app-contacts',
templateUrl: './contacts.component.html',
styleUrls: ['./contacts.component.scss']
})
export class ContactsComponent implements OnInit {
@RouteData() contacts$: Observable<Contact[]>;
@RouteParams('contactId', { observable: false}) contactId: string;
@RouteQueryParams('search', { pipe: [map( x => x * 10)]}) search$: Observable<string>;
constructor(private route: ActivatedRoute) {} // The `route` is required!
ngOnInit(): void {} // This is required too
}
There is some flexibility in how the data is received in the component which is all described in more detail here.
This decorator allows you to setup communication between instances of the same components/class.
@RouteQueryParams()
and an option to return actual values instead of ObservablesFAQs
This library contains a couple of decorators which provide functionality useful for angular components.
We found that @whjvenyl/angular-xxl 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.