Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
github.com/napcatstudio/translate/v2
Tools to maintain meaning ordered word files.
It is a port of some pre go modules tools that go modules broke. It was also broken by the Google Translate API changes and API security changes.
It has one command line tool translate.
translate is a tool for managing meaning ordered words files.
A meaning ordered words file is a file which has words, in one language, based on another file in a different language. The file name specifies the language. The filename must be of the form XX.words, where XX is a ISO-639 two letter language code.
For instance:
en.words Easy to use. Easy.
de.words Einfach zu gebrauchen. Einfach.
fi.words Helppokäyttöinen. Helppo.
It uses the Google Translate API V3 for translating.
Usage:
translate [-words wordsDir] [-credentials credentialsJson] command [arguments]
The commands are:
add mainLang newLang [newLang..]
Add a new meaning ordered words file for newLang based on mainLang to
wordsDir.
check
Quick wordsDir check. Does not check translation accuracy just
consistency. Does not call the Google Translate API.
supported displayLang
Show the current Google supported languages in displayLang.
update mainLang
Updates all meaning ordered words files in wordsDir. Effectively,
calls add on each existing non-mainLang language.
A meaning ordered word file is a just a list of words and phrases. The file names take the form ISO639.words. Where ISO639 is an ISO-639 two letter language code.
A directory of these files can be maintained with these tools so that for different languages the meanings correspond by line.
github.com/napcatstudio/translate/v2
FAQs
Unknown package
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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.