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

homunculus

Package Overview
Dependencies
Maintainers
2
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homunculus - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

2

package.json
{
"name": "homunculus",
"version": "0.8.1",
"version": "0.8.2",
"description": "A lexer&parser by Javascript",

@@ -5,0 +5,0 @@ "maintainers": [

@@ -1711,2 +1711,6 @@ var IParser = require('../Parser');

if(next.content() == '(') {
if(!isConstructor) {
node.add(this.match());
this.error('super call is only allowed in derived constructor');
}
node.add(

@@ -1716,5 +1720,2 @@ this.match(),

);
if(!isConstructor) {
this.error('super call is only allowed in derived constructor');
}
mmb = node;

@@ -2103,3 +2104,3 @@ node = new Node(Node.CALLEXPR);

node.add(
this.proptname(noIn, noOf),
this.proptname(cmpt, noIn, noOf),
this.match(':', 'missing : after property id'),

@@ -2106,0 +2107,0 @@ this.assignexpr(noIn, noOf)

@@ -1711,2 +1711,6 @@ define(function(require, exports, module) {var IParser = require('../Parser');

if(next.content() == '(') {
if(!isConstructor) {
node.add(this.match());
this.error('super call is only allowed in derived constructor');
}
node.add(

@@ -1716,5 +1720,2 @@ this.match(),

);
if(!isConstructor) {
this.error('super call is only allowed in derived constructor');
}
mmb = node;

@@ -2103,3 +2104,3 @@ node = new Node(Node.CALLEXPR);

node.add(
this.proptname(noIn, noOf),
this.proptname(cmpt, noIn, noOf),
this.match(':', 'missing : after property id'),

@@ -2106,0 +2107,0 @@ this.assignexpr(noIn, noOf)

Sorry, the diff of this file is not supported yet

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