Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-transformer-optimize-const-enum

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-transformer-optimize-const-enum - npm Package Compare versions

Comparing version 0.0.3 to 0.1.0

dist/cjs/transform.d.ts

2

package.json
{
"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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc