estree-to-babel
Advanced tools
Comparing version 1.8.1 to 1.8.2
@@ -52,3 +52,9 @@ 'use strict'; | ||
if (node.type === 'File') | ||
return node; | ||
return { | ||
...node, | ||
program: { | ||
...node.program, | ||
directives: [] | ||
} | ||
}; | ||
@@ -55,0 +61,0 @@ const { |
{ | ||
"name": "estree-to-babel", | ||
"version": "1.8.1", | ||
"version": "1.8.2", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -35,9 +35,9 @@ "description": "convert estree ast to babel", | ||
"coveralls": "^3.0.0", | ||
"eslint": "^5.6.0", | ||
"eslint-plugin-node": "^8.0.0", | ||
"eslint": "^6.0.1", | ||
"eslint-plugin-node": "^9.1.0", | ||
"eslint-plugin-tape": "^1.1.0", | ||
"espree": "^5.0.0", | ||
"espree": "^6.0.0", | ||
"madrun": "^2.0.1", | ||
"nodemon": "^1.14.12", | ||
"nyc": "^13.0.1", | ||
"nyc": "^14.1.1", | ||
"putout": "^4.0.1", | ||
@@ -44,0 +44,0 @@ "supertape": "^1.0.3" |
@@ -16,2 +16,3 @@ # Estree-to-babel [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL] | ||
To use parsers like: | ||
- [acorn](https://github.com/acornjs/acorn) | ||
- [cherow](https://github.com/cherow/cherow) | ||
@@ -18,0 +19,0 @@ - [espree](https://github.com/eslint/espree) |
Sorry, the diff of this file is not supported yet
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
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
11187
205
68