@formatjs/ts-transformer
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.0.3](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.2...@formatjs/ts-transformer@1.0.3) (2019-11-06) | ||
### Bug Fixes | ||
* **@formatjs/ts-transformer:** fix overrideIdFn string case ([ad87c54](https://github.com/formatjs/formatjs/commit/ad87c5414601ba8d9f662c1c6d88f7ad2fb54031)) | ||
## [1.0.2](https://github.com/formatjs/formatjs/compare/@formatjs/ts-transformer@1.0.1...@formatjs/ts-transformer@1.0.2) (2019-11-06) | ||
@@ -8,0 +19,0 @@ |
@@ -93,3 +93,3 @@ "use strict"; | ||
} | ||
if (!msg.id && typeof overrideIdFn === 'function') { | ||
if (!msg.id && overrideIdFn) { | ||
switch (typeof overrideIdFn) { | ||
@@ -96,0 +96,0 @@ case 'string': |
{ | ||
"name": "@formatjs/ts-transformer", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "TS Compiler transformer for formatjs", | ||
@@ -33,3 +33,3 @@ "main": "dist/index.js", | ||
"homepage": "https://github.com/formatjs/formatjs#readme", | ||
"gitHead": "38ad5608c24f9a888efac3f09d33e48912ad91b9" | ||
"gitHead": "ca8ce7a6aeaa169579071b48c065b2ddc7ad4e59" | ||
} |
@@ -195,3 +195,3 @@ import * as ts from 'typescript'; | ||
} | ||
if (!msg.id && typeof overrideIdFn === 'function') { | ||
if (!msg.id && overrideIdFn) { | ||
switch (typeof overrideIdFn) { | ||
@@ -198,0 +198,0 @@ case 'string': |
@@ -35,2 +35,3 @@ import {join} from 'path'; | ||
noImport: { | ||
overrideIdFn: '[hash:base64:5]', | ||
extractFromFormatMessageCall: true, | ||
@@ -37,0 +38,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
63543
1219