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

php-parser

Package Overview
Dependencies
Maintainers
1
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 2.0.6 to 2.0.7

2

package.json
{
"name": "php-parser",
"version": "2.0.6",
"version": "2.0.7",
"description": "Parse PHP code and returns its AST",

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

# Releases
## 2.0.7 : (2017-09-03)
- Fix #86 : bug on Object properties usage in PHP like `__proto__`, or `constructor`
- Fix #84 : remove null statements from bodies
## 2.0.6 : (2017-07-16)

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

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

Statement.apply(this, [kind || KIND, location]);
this.children = children;
this.children = children.filter(Boolean);
});
module.exports = Block;

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

var id = this.keywords[token];
if (!id) {
if (typeof id !== 'number') {
if (token === 'yield') {

@@ -101,3 +101,3 @@ if (this.tryMatch(' from')) {

var castId = this.castKeywords[castToken];
if (castId) {
if (typeof castId === 'number') {
this.input();

@@ -104,0 +104,0 @@ if (this.is_TABSPACE()) {

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