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.9.3 to 2.9.4

2

package.json
{
"name": "abstract-syntax-tree",
"version": "2.9.3",
"version": "2.9.4",
"description": "abstract syntax tree",

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

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

@@ -8,0 +9,0 @@ }

const Statement = require('./Statement')
class ExpressionStatement extends Statement {
constructor () {
constructor (options) {
super()
this.type = 'ExpressionStatement'
this.expression = null
Object.assign(this, options)
}

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

class Function {
constructor () {
constructor (options) {
this.type = 'Function'
this.generator = false
Object.assign(this, options)
}

@@ -6,0 +7,0 @@ }

class Node {
constructor () {
constructor (options) {
this.type = 'Node'
this.loc = null
Object.assign(this, options)
}

@@ -6,0 +7,0 @@ }

class Program {
constructor () {
constructor (options) {
this.type = 'Program'
this.sourceType = 'script'
this.body = []
Object.assign(this, options)
}

@@ -7,0 +8,0 @@ }

class SourceLocation {
constructor () {
constructor (options) {
this.type = 'SourceLocation'

@@ -7,2 +7,3 @@ this.source = null

this.end = null
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