
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.
@uiowa/date-range-picker
Advanced tools
An Angular library of Date Range Picker. Dependencies: Angular, ng-bootstrap, Bootstrap >4 (css)
Since v19.0.0, this library is only compatible with Angular >=19 and ng-bootstrap >=18.
Since v7.0.0, this library is only compatible with Angular >=13 and ng-bootstrap >=12.
Since v6.0.0, this library is only compatible with Angular >=13 and ng-bootstrap >=11.
Since v5.0.0, this library is only compatible with Angular >=12 and ng-bootstrap >=10.
Since v4.0.0, this library is only compatible with Angular >=10 and ng-bootstrap >=7.
Since v3.0.0, this library requires @angular/localize, due to updates in Angular 9 and ng-bootstrap 6.
npm i @uiowa/date-range-picker
DateRange
: an object represents a date range, includes start date and end date. e.g.,const d1 = new DateRange();
const d2 = new DateRange(new Date(), new Date(2018, 9, 10));
const d3 = DateRange.nextTwoWeeks();
const d4 = DateRange.nextDays(10);
const d5 = DateRange.nextMonth();
<date-picker></date-picker>
: a wrapper of ng-bootstrap date picker
<date-range-picker></date-range-picker>
: a date range picker based on ng-bootstrap
import { DateRangePickerModule } from '@uiowa/date-range-picker';
@NgModule({
declarations: [AppComponent],
imports: [
...,
DateRangePickerModule,
...
],
providers: [],
bootstrap: [AppComponent]
})
// in your component.html
<date-range-picker
[(dateRange)]="dateRange"
[maxDate]="maxDate"
></date-range-picker>
<date-picker [(date)]="date"></date-picker>
import { Component, OnInit } from '@angular/core';
import { DateRange } from '@uiowa/date-range-picker';
@Component({
...
})
export class AppComponent implements OnInit {
dateRange = new DateRange();
maxDate = new Date();
date: Date;
ngOnInit(): void {
this.maxDate.setDate(this.maxDate.getDate() + 20);
}
}
FAQs
An Angular library for date range picker.
The npm package @uiowa/date-range-picker receives a total of 76 weekly downloads. As such, @uiowa/date-range-picker popularity was classified as not popular.
We found that @uiowa/date-range-picker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers 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.