estree-to-babel
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -11,2 +11,3 @@ 'use strict'; | ||
const setClassMethod = require('./set-class-method'); | ||
const setClassPrivateMethod = require('./set-class-private-method'); | ||
const setLiteral = require('./set-literal'); | ||
@@ -31,2 +32,5 @@ | ||
return setClassMethod(path); | ||
if (type === 'ClassPrivateMethod') | ||
return setClassPrivateMethod(path); | ||
}, | ||
@@ -33,0 +37,0 @@ exit(path) { |
'use strict'; | ||
const { | ||
classMethod, | ||
classMethod | ||
} = require('@babel/types'); | ||
@@ -32,4 +32,3 @@ | ||
node.static | ||
) | ||
); | ||
)); | ||
@@ -36,0 +35,0 @@ assign(path.node, { |
{ | ||
"name": "estree-to-babel", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -5,0 +5,0 @@ "description": "convert estree ast to babel", |
@@ -32,2 +32,3 @@ # Estree-to-babel [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL] | ||
- `ClassMethod` instead of `MethodDefinition`; | ||
- `ClassPrivateMethod` | ||
- etc... | ||
@@ -34,0 +35,0 @@ |
Sorry, the diff of this file is not supported yet
9713
9
172
67