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.
@qrohlf/smart-date
Advanced tools
A small utility to format ISO8601 dates and date ranges into nice human-readable strings.
npm i @qrohlf/smart-date
const smartDate = require('@qrohlf/smart-date')
smartDate('2015-07-04') // => 'July 4th, 2017'
smartDate(['2017-07-04', '2017-07-05 09:30']) // => 'July 4th - July 5th, 9:30 am, 2017'
see the tests for the full range of input & options that smartDate can handle
FAQs
Takes date objects. Returns sane human-readable strings.
We found that @qrohlf/smart-date 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.