Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
code42day-clock
Advanced tools
Clock UI component for use in time-picker
Click here to see online demo.
$ npm install --save code42day-clock
var Clock = require('clock');
var clock = new Clock;
clock.el.appendTo('body');
clock.select({
hour: 11,
minute: 30
});
change
(time, complete) - when the selected time is modified
time
is an object with hour
and minute
properties,
complete
is true only if both hours and minutes have been clicked by the usercaptions
- optional dictionary { hours, minutes, am, pm } - entries will be used by clock to render
captions for Hours, Minutes, AM and PM - Object
or HTMLElement.dataset
can be used as a dictionarySelect the given time
({ hour, minute }).
Define the minimum time selectable with this clock (inclusive). Time values smaller than minTime
are rendered with invalid
class. All change
events are generated only for values larger or equal
to minTime
.
Define the maximum time selectable with this clock (inclusive). Time values larger than maxTime
are rendered with invalid
class. All change
events are generated only for values smaller or equal
to maxTime
.
Set type to 12
to display 12 hour am/pm type of clock. Any other value resets the clock display
to standard 24 hour display.
MIT
FAQs
Clock UI component for use in time-picker
We found that code42day-clock 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.