i18n-validate
Advanced tools
Comparing version 1.4.3 to 1.4.4
@@ -5,2 +5,8 @@ # Changelog | ||
## [i18n-validate@1.4.4](https://github.com/imranbarbhuiya/i18n-validate/compare/i18n-validate@1.4.3...i18n-validate@1.4.4) - (2024-11-01) | ||
### 🐛 Bug Fixes | ||
- Esm import and with import ([401a361](https://github.com/imranbarbhuiya/i18n-validate/commit/401a3619f2964a87b59961d13bd917147ce5e933)) | ||
## [i18n-validate@1.4.3](https://github.com/imranbarbhuiya/i18n-validate/compare/i18n-validate@1.4.2...i18n-validate@1.4.3) - (2024-11-01) | ||
@@ -7,0 +13,0 @@ |
@@ -5,6 +5,6 @@ #!/usr/bin/env node | ||
import { Command } from 'commander'; | ||
import { stream } from 'fast-glob'; | ||
import fastGlob from 'fast-glob'; | ||
var start = performance.now(); | ||
var command = new Command().version("1.4.3").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.4").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", () => { | ||
@@ -35,3 +35,3 @@ console.log(""); | ||
} | ||
var glob = stream(options.inputs, { | ||
var glob = fastGlob.stream(options.inputs, { | ||
ignore: options.exclude | ||
@@ -38,0 +38,0 @@ }); |
{ | ||
"name": "i18n-validate", | ||
"version": "1.4.3", | ||
"version": "1.4.4", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
64260
0