ts-transformer-optimize-const-enum
Advanced tools
Comparing version 0.0.3 to 0.1.0
{ | ||
"name": "ts-transformer-optimize-const-enum", | ||
"version": "0.0.3", | ||
"version": "0.1.0", | ||
"description": "A TypeScript transformer that optimize exported const enum into object literal", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/transform.js", |
@@ -151,16 +151,1 @@ # ts-transformer-optimize-const-enum | ||
``` | ||
# Caveats | ||
Currently, only immediate export const enum works. For example: | ||
```ts | ||
// The following works | ||
export const enum WorkingEnum {} | ||
// The following doesn't work | ||
const enum FailingEnum {} | ||
export FailEnum; | ||
``` | ||
This may be fixed in future release. |
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
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
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
20253
9
310
1
151