Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@vtex/intl-equalizer
Advanced tools
A VTEX CLI for linting locale string files
Easy tool to compare between locale files and find missing keys
Install Intl-Equalizer using yarn:
yarn add --dev @vtex/intl-equalizer
Or via npm:
npm install --save-dev @vtex/intl-equalizer
1) Add a new script to your package.json:
"scripts": {
"lint:locales": "intl-equalizer"
}
2) And Intl-Equalizer config in your package.json
if you need to change the default values:
// package.json
{
"intl-equalizer": {
"referenceLocale": "pt",
"localeDirectory": "src/locales/",
"filesToIgnore": ["context.json"]
}
}
referenceLocale
default value is'en'
localeDirectory
default value is'/messages'
filesToIgnore
default value is an empty array`
Command to fix the order of the locale keys based on the referenceLocale
intl-equalizer --fix
Using intl-equalizer --all
, or its shorthand intl-equalizer -a
, will override the fail-fast behavior and instead list all errors.
[2.5.1] - 2021-06-01
--all
option always return errorFAQs
linter for locale json files
The npm package @vtex/intl-equalizer receives a total of 884 weekly downloads. As such, @vtex/intl-equalizer popularity was classified as not popular.
We found that @vtex/intl-equalizer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 53 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.