estree-to-babel
Advanced tools
Comparing version 4.2.0 to 4.3.0
@@ -12,2 +12,3 @@ 'use strict'; | ||
const convertChainExpression = require('./convert-chain-expression'); | ||
const convertImportDeclaration = require('./convert-import-declaration'); | ||
@@ -48,2 +49,5 @@ const {convertNodeComments} = require('./comments'); | ||
if (type === 'ImportDeclaration') | ||
return convertImportDeclaration(path); | ||
if (type === 'ChainExpression') { | ||
@@ -50,0 +54,0 @@ return convertChainExpression(path); |
{ | ||
"name": "estree-to-babel", | ||
"version": "4.2.0", | ||
"version": "4.3.0", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -38,11 +38,11 @@ "description": "convert estree ast to babel", | ||
"coveralls": "^3.0.0", | ||
"eslint": "^7.6.0", | ||
"eslint": "^8.0.0-beta.1", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-putout": "^8.0.1", | ||
"espree": "^8.0.0", | ||
"eslint-plugin-putout": "^10.3.0", | ||
"espree": "^9.0.0", | ||
"estree-util-attach-comments": "^2.0.0", | ||
"madrun": "^8.0.1", | ||
"nodemon": "^2.0.2", | ||
"putout": "^18.0.0", | ||
"supertape": "^5.0.0" | ||
"putout": "^20.6.0", | ||
"supertape": "^6.0.5" | ||
}, | ||
@@ -49,0 +49,0 @@ "license": "MIT", |
@@ -40,2 +40,3 @@ # Estree-to-babel [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL] | ||
- `OptionalMemberExpression` and `OptionalCallExpression` instead of `ChainExpression`; | ||
- `ImportDeclaration` has `assertions`; | ||
- etc... | ||
@@ -42,0 +43,0 @@ |
Sorry, the diff of this file is not supported yet
17882
15
287
74