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.
timezone-compute
Advanced tools
A timezone library with timezone conversion functions
The main usage is converting recurring weekly times from one timezone to another.
var timezone = require("timezone-compute")
// date is a Moment Date object.
var date = timezone.time("America/Los_Angeles", Date.now())
var thisWeek = timezone.getISOWeek()
// Monday 9AM this week in America/Los_Angeles
var date2 = timezone.computeUTC({
timezone: "America/Los_Angeles",
minute: 0,
hour: 9,
day: 1,
week: thisWeek.week,
year: thisWeek.year
})
// that time in someone elses timezone
var date3 = timezone.time("America/New_York", date2)
npm install timezone-compute
FAQs
A timezone library with timezone conversion functions
The npm package timezone-compute receives a total of 6 weekly downloads. As such, timezone-compute popularity was classified as not popular.
We found that timezone-compute 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.