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-json-resource
Advanced tools
A loctool plugin that knows how to process JSON resource files
ilib-loctool-webos-json-resource is a plugin for the loctool that allows it to read and localize JSON resource files. This plugin is optimized for the webOS platform.
This plugin is for generating JSON type resource files from JavaScript, C, and Cpp source file types. The default JSON resource file name is strings.json
which is for a JavaScript type. In order to generate other resource file names, The following setting is needed in your project.json
file.
"settings": {
"resourceFileNames": {
"c": "cstrings.json",
"cpp": "cppstrings.json"
}
}
The simple sample is provided in the ilib-loctool-samples repository. Please check the webos-js, webos-c, webos-cpp, and webos-dart samples to see what JSON files look like.
Copyright (c) 2019-2024, JEDLSoft
This plugin is license under Apache2. See the LICENSE file for more details.
project.json
file to get proper ouput."settings": {
"dart": {
"mappings": {
"**/*.dart": {
"template": "[dir]/assets/i18n/[localeUnder].json"
}
}
},
}
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.peerDependencies
and devDependencies
.loctool
package to peerDependencies
in package.json
.loctool
packages to dependencies
in package.json
because it is actually used in codes.npm-shrinkwrap.json
in the published files.ilibmanifest.json
file correctly even when a dummy file exists.ilibmanifest.json
file to support wee localization.ilibmanifest.json
creation logic if it has already been done in another plugin.newFile()
to get locale parameter for convert featureilibmanifest.json
file properly in the nested project localization case.resources
"settings": {
"locales": ["en-US", "ko-KR", "zh-Hans-CN"],
"resourceFileNames": {
"c": "cstrings.json",
"cpp": "cppstrings.json"
}
}
ilibmanifest.json
file.
ilibmanifest.json
file not to load unnecessary locale directories.
It's implemented in projectClose()FAQs
A loctool plugin that knows how to process JSON resource files
The npm package ilib-loctool-webos-json-resource receives a total of 412 weekly downloads. As such, ilib-loctool-webos-json-resource popularity was classified as not popular.
We found that ilib-loctool-webos-json-resource 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.