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.
Ever wondered when will Easter (or Passover, if you prefer) be next year? No worries, use when_easter!
It's still being developed and refactored, so beware ;) Binaries work well though.
$ gem install when_easter
$ when_easter #the default year is current year
In the year 2011, the Roman Easter is on 24 April.
In the year 2011, the Greek Easter is on 24 April.
In the year 2010 the distance between Roman and Greek Easter is 0 week(s).
$ when_easter 2010
In the year 2010, the Roman Easter is on 04 April.
In the year 2010, the Greek Easter is on 04 April.
In the year 2010 the distance between Roman and Greek Easter is 0 week(s).
If you want to find only one date, you can also try
$ when_roman_easter
or
$ when_greek_easter
and also
$ find_distance
If you wish, you can also use WhenEaster::EasterCalendar class and its methods to fetch the dates only
roman_date = WhenEaster::EasterCalendar.find_roman_easter_date(2010)
or, if you wan't to play more with EasterCalendar instance,
my_calendar = WhenEaster::EasterCalendar.new(2010) #if you want to get data for the year 2010
another_roman_date = my_calendar.roman_easter
greek date is similiar - you can get it by replacing roman with greek
And get
=> Sun Apr 21 00:00:00 +0200 2019
A Date object
Released under the MIT license. (c) 2011 Michał Nierebiński
FAQs
Unknown package
We found that when_easter 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.