i18next-scanner-typescript
Advanced tools
Comparing version 1.1.1 to 1.2.0
{ | ||
"name": "i18next-scanner-typescript", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "i18next-scanner Typescript transform", | ||
@@ -14,3 +14,3 @@ "repository": { | ||
"dependencies": { | ||
"typescript": "^3.0.0" | ||
"typescript": "^5.3.2" | ||
}, | ||
@@ -17,0 +17,0 @@ "publishConfig": { |
@@ -29,9 +29,13 @@ ## i18next-scanner-typescript | ||
// ... | ||
transform: typescriptTransform({ | ||
// default value for extensions | ||
extensions: [".ts", ".tsx"], | ||
// optional ts configuration | ||
tsOptions: { | ||
target: "es2017", | ||
transform: typescriptTransform( | ||
// options | ||
{ | ||
// default value for extensions | ||
extensions: [".ts", ".tsx"], | ||
// optional ts configuration | ||
tsOptions: { | ||
target: "es2017", | ||
}, | ||
}, | ||
// optional custom transform function | ||
@@ -45,3 +49,3 @@ function customTransform(outputText, file, enc, done) { | ||
}, | ||
}), | ||
), | ||
}; | ||
@@ -48,0 +52,0 @@ ``` |
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
3547
53
+ Addedtypescript@5.7.2(transitive)
- Removedtypescript@3.9.10(transitive)
Updatedtypescript@^5.3.2