CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-babel-plugin-transform-es2015-computed-properties

Babel plugin that compiles ES2015 computed properties to ES5-compatible code

88

1.07x
Overview
Eval results
Files

Evaluation results

33%

-2%

Object Literal Temporary Variable Generator

Scope-aware variable generation

Criteria
Without context
With context

generateUidIdentifier usage

0%

0%

hasBinding check

100%

100%

Identifier name extraction

0%

0%

Scope-based generation

50%

30%

56%

56%

Dynamic Configuration Builder

Multiple computed properties

Criteria
Without context
With context

Computed property syntax

0%

100%

Multiple computed properties

0%

0%

Dynamic key expressions

0%

50%

Computed properties in mergeConfigs

0%

100%

Proper object building

0%

20%

100%

ES2015 Computed Property Transpiler

Basic computed property transformation

Criteria
Without context
With context

Babel core integration

100%

100%

Plugin configuration

100%

100%

Basic transformation

100%

100%

Multiple properties

100%

100%

Mixed properties

100%

100%

Loose mode option

100%

100%

100%

Custom Iterator Implementation

Symbol keys in computed properties

Criteria
Without context
With context

Symbol.iterator usage

100%

100%

Computed property syntax

100%

100%

Iterator protocol

100%

100%

Correct iteration logic

100%

100%

Error handling

100%

100%

95%

5%

Babel Plugin Configuration Utility

Loose vs spec transformation modes

Criteria
Without context
With context

Plugin import

0%

50%

Standard mode configuration

100%

100%

Relaxed mode configuration

100%

100%

Babel config structure

100%

100%

Mode validation

100%

100%

Output verification

100%

100%

100%

Dynamic Property Configuration System

Object method to function expression conversion

Criteria
Without context
With context

Visitor pattern usage

100%

100%

ObjectMethod detection

100%

100%

Computed property check

100%

100%

Function expression conversion

100%

100%

Async flag preservation

100%

100%

Generator flag preservation

100%

100%

Property replacement

100%

100%

100%

Dynamic Method Builder

Computed method properties

Criteria
Without context
With context

Babel Core Integration

100%

100%

Plugin Registration

100%

100%

Plugin Options Handling

100%

100%

Code Output Extraction

100%

100%

Computed Method Support

100%

100%

100%

Babel Configuration Manager

setComputedProperties assumption support

Criteria
Without context
With context

Plugin inclusion

100%

100%

Assumptions structure

100%

100%

Assumption propagation

100%

100%

Assumption detection

100%

100%

Default handling

100%

100%

90%

-3%

Babel Computed Properties Transformer

AST optimization for large objects (chunking)

Criteria
Without context
With context

Babel visitor pattern

100%

100%

Computed property detection

100%

100%

Chunking threshold logic

100%

100%

Chunk processing

100%

100%

Helper function usage

53%

33%

AST node construction

100%

100%

Temporary variable generation

100%

100%

Property order preservation

100%

100%

100%

Babel Code Transformer

Mixed property types (computed and non-computed)

Criteria
Without context
With context

Babel core integration

100%

100%

Plugin configuration

100%

100%

Code output extraction

100%

100%

Mixed property handling

100%

100%

Install with Tessl CLI

npx tessl i tessl/npm-babel-plugin-transform-es2015-computed-properties
Evaluated
Agent
Claude Code

Table of Contents