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.
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 141 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.
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.