abstract-syntax-tree
Advanced tools
Comparing version 2.11.0 to 2.12.0
# abstract-syntax-tree changelog | ||
## 2.12.0 | ||
* edit: update dependencies | ||
## 2.11.0 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "abstract-syntax-tree", | ||
"version": "2.11.0", | ||
"version": "2.12.0", | ||
"description": "abstract syntax tree", | ||
@@ -37,3 +37,3 @@ "main": "index.js", | ||
"nyc": "^15.1.0", | ||
"standard": "^14.3.4" | ||
"standard": "^16.0.1" | ||
}, | ||
@@ -45,4 +45,4 @@ "dependencies": { | ||
"estemplate": "^0.5.1", | ||
"estraverse": "^4.3.0", | ||
"meriyah": "^1.9.15", | ||
"estraverse": "^5.2.0", | ||
"meriyah": "^3.1.2", | ||
"source-map": "^0.7.3", | ||
@@ -49,0 +49,0 @@ "to-ast": "^1.0.0" |
const find = require('./find') | ||
module.exports = function last (tree, selector) { | ||
var nodes = find(tree, selector) | ||
const nodes = find(tree, selector) | ||
return nodes[nodes.length - 1] | ||
} |
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
76906
+ Addedmeriyah@3.1.6(transitive)
- Removedmeriyah@1.9.15(transitive)
Updatedestraverse@^5.2.0
Updatedmeriyah@^3.1.2