New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.8.4 to 2.8.5

src/nodes/IfStatement.js

2

index.js

@@ -32,2 +32,3 @@ const find = require('./src/find')

const SourceLocation = require('./src/nodes/SourceLocation')
const IfStatement = require('./src/nodes/IfStatement')

@@ -211,3 +212,4 @@ class AbstractSyntaxTree {

AbstractSyntaxTree.SourceLocation = SourceLocation
AbstractSyntaxTree.IfStatement = IfStatement
module.exports = AbstractSyntaxTree

2

package.json
{
"name": "abstract-syntax-tree",
"version": "2.8.4",
"version": "2.8.5",
"description": "abstract syntax tree",

@@ -5,0 +5,0 @@ "main": "index.js",

const Statement = require('./Statement')
class BlockStatement extends Statement {
constructor () {
constructor (options) {
super()
this.type = 'BlockStatement'
this.body = []
Object.assign(this, options)
}

@@ -9,0 +10,0 @@ }

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