Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

i18n-validate

Package Overview
Dependencies
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18n-validate - npm Package Compare versions

Comparing version 1.2.3-next.9b7b781.0 to 1.3.0-next.01655db.0

2

package.json
{
"name": "i18n-validate",
"version": "1.2.3-next.9b7b781.0",
"version": "1.3.0-next.01655db.0",
"description": "A cli tool to find invalid i18n keys, missing variables and many more",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -21,2 +21,3 @@ <div align="center">

- Fully customizable
- Use of ternary operator or string concatenation using `+` operator is supported

@@ -53,2 +54,3 @@ ## Usage

- You can ignore a specific function by adding `// i18n-validate-disable-next-line` comment before the function call or ignore all the functions in a file by adding `/* i18n-validate-disable */` comment at the top of the file.
- Dynamic keys aren't supported yet but ternary operators, string concatenation using `+` operator are supported.

@@ -96,15 +98,2 @@ > **Note**: Currently, `i18n-validate` supports `typescript` and `javascript` (including `tsx` and `jsx`) source files and `json` translation files only.

## TODO
- [ ] Write unit tests
- [ ] Add support for `yaml`, `json5` translation files
- [ ] Add support for other framework specific source files (e.g. `vue`, `svelte`, `angular` etc.)
- [ ] Detect unused translation keys
- [ ] A vscode extension
- [ ] A github action
- [ ] An eslint plugin
- [ ] A `--fix` flag to remove unused keys and variables
_Any help to complete these tasks will be highly appreciated._
## Contributors ✨

@@ -111,0 +100,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc