Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

abstract-syntax-tree

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstract-syntax-tree - npm Package Compare versions

Comparing version 2.11.0 to 2.12.0

4

CHANGELOG.md
# abstract-syntax-tree changelog
## 2.12.0
* edit: update dependencies
## 2.11.0

@@ -4,0 +8,0 @@

8

package.json
{
"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]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc