
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
@lite-v3/locky
Advanced tools
A handy engine version validator. Tiny and has no dependencies.
pnpm install @lite-v3/locky --dev
@lite-v3/locky is suitable to apply at preinstall script. Safely runs your installation script by validating your engine version requirements.
// <root>/package.json
{
...
"scripts" : {
"preinstall": "npx @lite-v3/locky --quite"
},
...
"engines": {
"node": ">=14.17 <15",
"pnpm": ">=4"
}
}
Behind the scene, locky will compare your installed node and pnpm version with the specified version in root package.json. If the requirement is not satisfied, rather than logging with warnings, locky will throw the error. The purpose is we make a pre-validation process to isolate the depenencies of your specific version.
The script also ensure you are correctly using pnpm rather than other package managers.
const checkEngine = require('@lite-v3/locky');
try {
checkEngine();
// requirement is satisfied
} catch {
// requirement is not satisfied
}
Code By WPE Team @Tokopedia
FAQs
Handy engine version validator
We found that @lite-v3/locky demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.