
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@la-components/react-month-picker
Advanced tools
import React, { Component } from 'react'
import ReactDOM from 'react-dom'
import { LaMonthPicker } from '@la-components/react-month-picker';
import '@la-components/react-month-picker/dist/style.css';
export default class App extends Component {
constructor(props){
super(props);
this.state = {
selectedYear: 2021,
selectedMonth: 10,
selectedFromDay: 1,
selectedToDay: 31,
};
}
onYearChange(year){
this.setState({selectedYear: year});
}
onMonthChange(month){
this.setState({selectedMonth: month});
}
onFromDayChange(fromDay){
this.setState({selectedFromDay: fromDay});
}
onToDayChange(toDay){
this.setState({selectedToDay: toDay});
}
render() {
return (
<div>
<LaMonthPicker
onYearChange={this.onYearChange}
onMonthChange={this.onMonthChange}
onFromDayChange={this.onFromDayChange}
onToDayChange={this.onToDayChange}
defaultDate="2021-10-01"
minDate="2018-10-01"
maxDate="2021-10-31"
labelMonthPicker="Tháng"
isShowDayRange={true}
/>
</div>
);
}
}
ReactDOM.render(<App />, document.getElementById("app"));
MonthPicker.propTypes = {
onYearChange: PropTypes.func.isRequired,
onMonthChange: PropTypes.func.isRequired,
onFromDayChange: PropTypes.func.isRequired,
onToDayChange: PropTypes.func.isRequired,
defaultDate: PropTypes.string,
minDate: PropTypes.string,
maxDate: PropTypes.string,
labelMonthPicker: PropTypes.string,
isShowDayRange: PropTypes.bool
}
FAQs
React month-picker Component
We found that @la-components/react-month-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.