Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
The TimezoneLatLon gem allows users to search for the timezone contained by any latitude/longitude.
This gem was inspired by the NearestTimeZone gem which is currently unmaintained.
Add the following line to your Gemfile
:
gem 'timezone_lat_lon'
Run the following to install from Rubygems:
gem install timezone_lat_lon
require 'timezone_lat_lon'
timezone1 = TimezoneLatLon.find_timezone(lat: 49.886505, lon: 25.167341)
# => #<TZInfo::DataTimezone: Europe/Kiev>
latlon2 = { lat: 35.852462, lon: 14.447913 }
timezone2 = TimezoneLatLon.find_timezone(latlon2)
# => #<TZInfo::DataTimezone: Europe/Malta>
# If the timezone for a lat/lon cannot be found, it will just return nil:
latlon_bad = { lat: 25.303352, lon: -156.278805 }
timezone_bad = TimezoneLatLon.find_timezone(latlon_bad)
# => nil
FAQs
Unknown package
We found that timezone_lat_lon 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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
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.