
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
amos-datepicker
Advanced tools
import React, { Component } from 'react';
import { render } from 'react-dom';
import PropTypes from 'prop-types';
import moment from 'moment';
import { TimeView, Clock } from 'amos-datepicker';
import 'amos-datepicker/assets/TimeView.scss';
import 'amos-datepicker/assets/Clock.scss';
const _locale = {
hours: '时',
minutes: '分',
seconds: '秒'
};
class Demo extends Component {
static propTypes = {
dateFormat: PropTypes.string
};
static defaultProps = {
dateFormat: 'HH:mm:ss'
};
constructor(props) {
super(props);
this.state = {
value: null
};
}
onClickOutside = () => {};
onClockChange = v => {
this.setState({ value: v });
console.log('selected time:', v);
};
getTime = () => {
const { dateFormat } = this.props;
const { value } = this.state;
let timeDate = value || new Date();
let time = {};
if (/(H|h)/.test(dateFormat)) {
time.hours = timeDate.getHours();
}
if (/m/.test(dateFormat)) {
time.minutes = timeDate.getMinutes();
}
if (/s/.test(dateFormat)) {
time.seconds = timeDate.getSeconds();
}
return time;
};
render() {
return (
<div className="demo">
<TimeView timeFormat="HH:mm:ss" selectedDate={moment()} handleClickOutside={this.onClickOutside} />
<Clock time={this.getTime()} locale={_locale} onChange={this.onClockChange} />
<Clock locale={_locale} onChange={this.onClockChange} />
</div>
);
}
}
render(<Demo />, document.getElementById('app'));
FAQs
datepicker ui component for amos ui
We found that amos-datepicker 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
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.