
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.
ng-pick-daterange
Advanced tools
Angular date range picker - Angular reusable UI component
Simple Angular date range picker. Online demo is here. This picker is responsive design, so feel free to try it in your desktops, tablets and mobile devices. This picker uses javascript library date-fns
To install this component, follow the procedure:
npm install ng-pick-daterange --save
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { MyTestApp } from './my-test-app';
import { DateRangePickerModule } from 'ng-pick-daterange';
@NgModule({
imports: [ BrowserModule, DateRangePickerModule ],
declarations: [ MyTestApp ],
bootstrap: [ MyTestApp ]
})
export class MyTestAppModule {}
(function (global) {
System.config({
paths: {
'npm:': 'node_modules/'
},
map: {
// Other components are here...
'ng-pick-daterange': 'npm:ng-pick-daterange',
},
packages: {
// Other components are here...
// the picker
'ng-pick-daterange': {
main: 'index.js',
defaultExtension: 'js'
},
}
});
})(this);
Use the following snippet inside your template. For example:
<app-date-range [(dateRange)]="dateRange"></app-date-range>
Or:
<app-date-range [dateRange]="dateRange" (dateRangeChange)="setReturnValue($event)"></app-date-range>
public setReturnValue(dateRange: IDateRange): any {
this.dateRange = dateRange;
// Do whatever you want to the return object 'dateRange'
}
Online demo is here
FAQs
Angular Date Range Picker Component
We found that ng-pick-daterange 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.