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.
A library to help you with internationalizing your application. Here's a guide to using it
While most Python internationalize libraries take an approach with your providing a language and a keyword, and returning a resembling string from an internal database, Internationalize takes a different approach.
Internationalize asks you to provide a keyword, and then returning a string containing a selection of the languages.
Where you would configure the standard library with dictionary of mappings, where each mapping would contain
configure_me({'hello': {'pl': 'Witaj'}, {'en': 'Hello'}})
pick_language('en')
...
assert get_translation('hello') == 'Hello'
Internationalize does the following:
configure_me({'hello': {'pl': 'Witaj'}, {'en': 'Hello'}})
...
assert get_translation('hello') == {'pl': 'Witaj', {'en': Hello'}}
Which is super useful for handling certain applications that require those.
FAQs
Helps to internationalize your application
We found that Internationalize demonstrated a healthy version release cadence and project activity because the last version was released less than 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.