estree-to-babel
Advanced tools
Comparing version 4.9.0 to 5.0.0
@@ -103,4 +103,3 @@ 'use strict'; | ||
// but located in "extra.raw" in BABEL AST | ||
// which makes code transform more long and compilicated | ||
// which makes writing transforms more long and error prone | ||
function setEsprimaRaw(node) { | ||
@@ -107,0 +106,0 @@ const {raw} = node; |
@@ -7,5 +7,3 @@ 'use strict'; | ||
// babel stores name in PrivateName.id.name | ||
module.exports = (path) => { | ||
const {node} = path; | ||
module.exports = ({node}) => { | ||
if (!node.name) | ||
@@ -12,0 +10,0 @@ return; |
{ | ||
"name": "estree-to-babel", | ||
"version": "4.9.0", | ||
"version": "5.0.0", | ||
"type": "commonjs", | ||
@@ -45,9 +45,9 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-putout": "^13.6.0", | ||
"eslint-plugin-putout": "^14.0.0", | ||
"espree": "^9.0.0", | ||
"estree-util-attach-comments": "^2.0.0", | ||
"madrun": "^8.0.1", | ||
"madrun": "^9.0.0", | ||
"nodemon": "^2.0.2", | ||
"putout": "^24.2.2", | ||
"supertape": "^6.0.5", | ||
"putout": "^25.0.4", | ||
"supertape": "^7.1.0", | ||
"typescript": "^4.5.2" | ||
@@ -57,3 +57,3 @@ }, | ||
"engines": { | ||
"node": ">=14" | ||
"node": ">=16" | ||
}, | ||
@@ -60,0 +60,0 @@ "publishConfig": { |
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
22510
377