@formatjs/cli
Advanced tools
Comparing version 4.3.1 to 4.3.2
{ | ||
"name": "@formatjs/cli", | ||
"version": "4.3.1", | ||
"version": "4.3.2", | ||
"description": "A CLI for formatjs.", | ||
@@ -34,4 +34,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@formatjs/icu-messageformat-parser": "2.0.12", | ||
"@formatjs/ts-transformer": "3.5.0", | ||
"@formatjs/icu-messageformat-parser": "2.0.13", | ||
"@formatjs/ts-transformer": "3.5.1", | ||
"@types/estree": "^0.0.50", | ||
@@ -38,0 +38,0 @@ "@types/fs-extra": "^9.0.1", |
@@ -41,4 +41,4 @@ "use strict"; | ||
.option('--remove-default-message', 'Remove `defaultMessage` field in generated js after extraction', false) | ||
.option('--additional-component-names <comma-separated-names>', "Additional component names to extract messages from, e.g: `['FormattedFooBarMessage']`. \n**NOTE**: By default we check for the fact that `FormattedMessage` \nis imported from `moduleSourceName` to make sure variable alias \nworks. This option does not do that so it's less safe.", function (val) { return val.split(','); }) | ||
.option('--additional-function-names <comma-separated-names>', "Additional function names to extract messages from, e.g: `['$t']`.", function (val) { return val.split(','); }) | ||
.option('--additional-component-names <comma-separated-names>', "Additional component names to extract messages from, e.g: `'FormattedFooBarMessage'`. \n**NOTE**: By default we check for the fact that `FormattedMessage` \nis imported from `moduleSourceName` to make sure variable alias \nworks. This option does not do that so it's less safe.", function (val) { return val.split(','); }) | ||
.option('--additional-function-names <comma-separated-names>', "Additional function names to extract messages from, e.g: `'$t'`.", function (val) { return val.split(','); }) | ||
.option('--ignore <files...>', 'List of glob paths to **not** extract translations from.') | ||
@@ -45,0 +45,0 @@ .option('--throws', 'Whether to throw an exception when we fail to process any file in the batch.') |
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
71227
+ Added@formatjs/ecma402-abstract@1.10.0(transitive)
+ Added@formatjs/icu-messageformat-parser@2.0.13(transitive)
+ Added@formatjs/icu-skeleton-parser@1.3.0(transitive)
+ Added@formatjs/ts-transformer@3.5.1(transitive)
- Removed@formatjs/ecma402-abstract@1.9.9(transitive)
- Removed@formatjs/icu-messageformat-parser@2.0.12(transitive)
- Removed@formatjs/icu-skeleton-parser@1.2.13(transitive)
- Removed@formatjs/ts-transformer@3.5.0(transitive)