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.
@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
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.