
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
hapi-basic-i18n
Advanced tools
Plugin options w/ registration;
await server.register([
{
register: require("hapi-basic-i18n"),
options: {
locale_path: "<absolutePath>",
cookie_name: "language",
default_language: "EN",
available_languages: ["EN"]
}
}]);
In view context:
{{i18n "wtf"}}
In route handler:
function(request, h) {
return request.i18n("wtf");
}
Simply
// en.js
module.exports = {
"Hello": "Hello {0}!",
};
// in route handler
console.log(request.i18n("Hello", "John"));
// in view
{{i18n "Hello" "John"}}
// Both outputs are "Hello John!"
FAQs
hapi-basic-i18n just i18n
The npm package hapi-basic-i18n receives a total of 2 weekly downloads. As such, hapi-basic-i18n popularity was classified as not popular.
We found that hapi-basic-i18n demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.