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.
The word lieu originally comes from the Latin locus, meaning place, and its meaning has stayed true to its origins ever since.
Simple Ruby wrapper for the Google Places API.
Ruby support:
Install via Rubygems
gem install lieu
or add to your Gemfile
gem 'lieu'
API methods are available as module methods
Lieu.configure do |c|
c.api_endpoint = 'http://newendpoint/'
c.api_key = 'YOUR_API_KEY'
c.sensor = true
end
or as client instance methods
Lieu::Client.new(
api_endpoint: 'http://newendpoint/',
api_key: 'YOUR_API_KEY',
sensor: true
)
The sensor
parameter can be set globally (default to false
) or can be provided for every request by passing the optional parameter sensor: true
.
Lieu only supports authentication via an API key.
You can request one following these steps.
place = Lieu.details('CmRYAAAA...')
puts place.name
# => "Google Sydney"
places = Lieu.text_search('Google Sydney')
places.first.formatted_address
# => "529 Kent Street, Sydney NSW, Australia"
# etc…
Lieu supports all the Google Places API methods:
Complete Lieu public API's documentation here.
Lieu follows the principles of semantic versioning.
Pull Requests are welcome !
Please refer to the Contributing guide for more details on how to run the test suite and to contribute.
Copyright © 2013 Aylic Petit
Released under the terms of the MIT licence. See the LICENSE file for more details.
FAQs
Unknown package
We found that lieu 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.