Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
historical-dates
Advanced tools
JavaScript/TypeScript library for converting/calculating Roman and Easter date
JavaScript/TypeScript library for converting/calculating Roman and Easter dates. Based on Axel Findling's Roman date converter and Nikolaus A. Bär's easter date calculator.
Friend: Do dates make you nervous?
— Daniel Cousineau (@dcousineau) August 3, 2016
Me: omg yes especially when doing math across timezone boundaries
npm install historical-dates
import { calcEaster } from 'historical-dates';
let easter = calcEaster(1400, 'julian');
console.log(easter.sunday);
// 1400-4-18 (Julian)
import { RomanDate } from 'historical-dates';
let romanDate = RomanDate.fromString('prid kal. mar mdc', 'gregorian');
console.log(romanDate);
// pridie Kal. Mart. MDC
console.log(romanDate.toDate());
// 1600-2-28
import { createDate } from 'historical-dates';
let julianDate = createDate(1582, 10, 5, 'julian');
let gregorianDate = julianDate.toGregorian();
console.log(gregorianDate);
// 1582-10-15
FAQs
JavaScript/TypeScript library for converting/calculating Roman and Easter date
The npm package historical-dates receives a total of 2 weekly downloads. As such, historical-dates popularity was classified as not popular.
We found that historical-dates 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.