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.
ilib-loctool-webos-javascript
Advanced tools
A loctool plugin that knows how to process JS files
ilib-webos-loctool-javascript is a plugin for the loctool that allows it to read and localize JavaScript files. This plugin is optimized for the webOS platform.
This plugin expects to be used iLib library directory or Enact framework to internationalize your JavaScript code.
It extracts string usages used in the examples below by considering them as strings that need to be translated.
getString("Hello");
getString("Channel", "speaker_channel");
$L("Hello");
$L({value: "Channel", key: "speaker_channel"});
The simple sample is provided in the ilib-loctool-samples repository. Please check the webos-js sample to see how the JavaScript file type is localized.
Copyright (c) 2019-2024, JEDLSoft
This plugin is license under Apache2. See the LICENSE file for more details.
nodeunit
to jest
.ilib-loctool-webos-json-resource
package name in code.npm-shrinkwrap.json
. It takes a bigger memory size than I expected on webOS. so I decided not to maintain the file here.peerDependencies
and devDependencies
.loctool
package to peerDependencies
in package.json
.loctool
package to dependencies
in package.json
because it is actually used in codes.npm-shrinkwrap.json
in the published files. "settings": {
"javascript": {
"disablePseudo": true
}
}
generate
mode.generate
mode.generate
mode. "settings": {
"localeInherit": {
"en-AU": "en-GB"
}
}
"settings": {
"webos": {
"commonXliff": "./common"
}
}
"settings": {
"localeMap": {
"es-CO": "es"
}
}
rb
or RB
.FAQs
A loctool plugin that knows how to process JS files
The npm package ilib-loctool-webos-javascript receives a total of 419 weekly downloads. As such, ilib-loctool-webos-javascript popularity was classified as not popular.
We found that ilib-loctool-webos-javascript 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.