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

php-parser

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

php-parser - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

2

dist/php-parser.min.js.LICENSE.txt

@@ -5,3 +5,3 @@ /*!

* Parse PHP code from JS and returns its AST
* Build: f0b00a69c4c75a8f3c9a - 9/13/2022
* Build: b211ca0da38546859b85 - 11/1/2022
* Copyright (C) 2021 Glayzzle (BSD-3-Clause)

@@ -8,0 +8,0 @@ * @authors https://github.com/glayzzle/php-parser/graphs/contributors

{
"name": "php-parser",
"version": "3.1.1",
"version": "3.1.2",
"description": "Parse PHP code from JS and returns its AST",

@@ -65,9 +65,9 @@ "main": "src/index.js",

"devDependencies": {
"@babel/core": "^7.19.0",
"@babel/preset-env": "^7.19.0",
"babel-loader": "^8.0.5",
"@babel/core": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"babel-loader": "^9.0.1",
"benchmark": "^2.1.4",
"coveralls": "^3.0.3",
"eslint": "^8.23.1",
"eslint-plugin-jest": "^27.0.4",
"eslint": "^8.26.0",
"eslint-plugin-jest": "^27.1.3",
"eslint-plugin-prettier": "^4.2.1",

@@ -74,0 +74,0 @@ "husky": "^8.0.1",

@@ -748,2 +748,12 @@ /**

let args = [];
if (this.token === "(") {
this.next();
const newExp = this.read_expr();
this.expect(")");
this.next();
if (this.token === "(") {
args = this.read_argument_list();
}
return result(newExp, args);
}
const attrs = this.read_attr_list();

@@ -750,0 +760,0 @@ if (this.token === this.tok.T_CLASS) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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