New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.4.1-next.a1e1db4.0 to 1.4.1

dist/chunk-ALSH3FRN.js

13

CHANGELOG.md

@@ -5,2 +5,15 @@ # Changelog

## [i18n-validate@1.4.1](https://github.com/imranbarbhuiya/i18n-validate/compare/v1.2.1...i18n-validate@1.4.1) - (2023-07-19)
### 🐛 Bug Fixes
- Jsconfig url ([708b1b0](https://github.com/imranbarbhuiya/i18n-validate/commit/708b1b082b99889d1293ac07d2db8d66aa2800aa))
- Add file count ([2b2002c](https://github.com/imranbarbhuiya/i18n-validate/commit/2b2002cdca4ea31edc76bb2d018c378a161b7ee5))
- Add time taken log ([91a1533](https://github.com/imranbarbhuiya/i18n-validate/commit/91a153309bbfef7450b46cced9091a68ccb6e9f8))
### 🚀 Features
- Support dynamic key using ts type ([3673637](https://github.com/imranbarbhuiya/i18n-validate/commit/36736374577a15030a80929870de98fb43d520a7))
- Support ternary and string concatenation in key ([943682f](https://github.com/imranbarbhuiya/i18n-validate/commit/943682f7aefac0da152ae2ae240c1c314c6d1f16))
## [i18n-validate@1.4.0](https://github.com/imranbarbhuiya/i18n-validate/compare/v1.2.1...i18n-validate@1.4.0) - (2023-07-18)

@@ -7,0 +20,0 @@

6

dist/cli.js
#!/usr/bin/env node
import { parseOptionsFile, log, parseFile, ValidationError, validateKey } from './chunk-3VN7B33Q.js';
import { parseOptionsFile, log, parseFile, ValidationError, validateKey } from './chunk-ALSH3FRN.js';
import process from 'node:process';

@@ -8,3 +8,3 @@ import { Command } from 'commander';

var start = performance.now();
var command = new Command().version("1.4.1-next.a1e1db4.0").usage("[options] <file ...>").option("-c, --config <config>", "Path to the config file", "./i18n-validate.json").option("--log-level <logLevel>", "Log level").option("--exclude <exclude...>", "Exclude files from parsing").option("--exit-on-error", "Exit immediately if an error is found");
var command = new Command().version("1.4.1").usage("[options] <file ...>").option("-c, --config <config>", "Path to the config file", "./i18n-validate.json").option("--log-level <logLevel>", "Log level").option("--exclude <exclude...>", "Exclude files from parsing").option("--exit-on-error", "Exit immediately if an error is found");
command.on("--help", () => {

@@ -78,3 +78,3 @@ console.log("");

log(
`Found ${errorCount + warningCount} issues${errorCount || warningCount ? ` (${errorCount} errors and ${warningCount} warnings)` : ""}.Validated ${fileCount} file${fileCount > 1 ? "s" : ""} in ${timeTaken}`,
`Found ${errorCount + warningCount} issues${errorCount || warningCount ? ` (${errorCount} errors and ${warningCount} warnings)` : ""}. Checked ${fileCount} file${fileCount > 1 ? "s" : ""} in ${timeTaken}`,
"info",

@@ -81,0 +81,0 @@ options

@@ -1,3 +0,3 @@

export { ValidationError, parseFile, parseOptionsFile, validateKey } from './chunk-3VN7B33Q.js';
export { ValidationError, parseFile, parseOptionsFile, validateKey } from './chunk-ALSH3FRN.js';
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.js.map
{
"name": "i18n-validate",
"version": "1.4.1-next.a1e1db4.0",
"version": "1.4.1",
"description": "A cli tool to find invalid i18n keys, missing variables and many more",

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

Sorry, the diff of this file is not supported yet

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