estree-to-babel
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -23,3 +23,8 @@ 'use strict'; | ||
assign(propPath.node, value, { | ||
assign(propPath.node, { | ||
id: null, | ||
method: true, | ||
generator: value.generator, | ||
loc: getObjectMethodLoc(key, value), | ||
async: value.async, | ||
type: 'ObjectMethod' | ||
@@ -31,1 +36,8 @@ }); | ||
function getObjectMethodLoc(key, value) { | ||
return { | ||
start: key.loc.start, | ||
end: value.loc.end, | ||
}; | ||
} | ||
{ | ||
"name": "estree-to-babel", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -39,6 +39,6 @@ "description": "convert estree ast to babel", | ||
"espree": "^5.0.0", | ||
"madrun": "^1.0.1", | ||
"madrun": "^2.0.1", | ||
"nodemon": "^1.14.12", | ||
"nyc": "^13.0.1", | ||
"putout": "^3.0.0", | ||
"putout": "^4.0.1", | ||
"supertape": "^1.0.3" | ||
@@ -45,0 +45,0 @@ }, |
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
10722
10
199