Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
ilib-loctool-webos-json
Advanced tools
json type of file handler plugin for webOS platform loctool
ilib-loctool-webos-json is a plugin for the loctool that allows it to read and localize JSON type of file.
e.g. appinfo.json
, qcardinfo.json
. This plugin is optimized for the webOS platform.
For JSON file type localization, the schema file is needed. The plugin contains a built-in version of the schema file for the appinfo.json file type. For other json file types such as qcardinfo.json, the plugin looks for the schema file in the same directory as the json file. Here's a example for schema file.
{
"id": "QCardDescription",
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title of the application.",
"localizable": true
},
}
}
The plugin will look for the jsonMap property within the settings of your project.json file. The following settings are used within the jsonMap property:
"settings": {
"jsonMap": {
"mappings": {
"**/appinfo.json": {
"template": "[dir]/[resourceDir]/[localeDir]/[filename]"
},
"**/qcardinfo.json": {
"template": "[dir]/[resourceDir]/[localeDir]/[filename]"
}
}
}
}
[dir]]/[resourceDir]/[localeDir]/[filename]
.The simple sample is provided in the ilib-loctool-samples repository. Please check the webos-json sample to see how the JSON 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
.npm-shrinkwrap.json
. It takes a bigger memory size than I expected on webOS. so I decided not to maintain the file here.loctool
package to peerDependencies
in package.json
as well.micromatch
package to dependencies
in package.json
because these are actually used in codes.ilib
package to dependencies
in package.json
because it is not used in codes.npm-shrinkwrap.json
in the published files.--nopseudo
option is true.
If not, it occurs an error when the pseudo locale is not defined on the project. "settings": {
"json": {
"disablePseudo": true
}
}
"settings": {
"mappings": {
"**/appinfo.json": {
"template": "[dir]/[resourceDir]/[localeDir]/[filename]"
},
"**/qcardinfo.json": {
"template": "[dir]/[resourceDir]/[localeDir]/[filename]"
}
}
}
FAQs
json type of file handler plugin for webOS platform loctool
We found that ilib-loctool-webos-json 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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.