Socket
Socket
Sign inDemoInstall

reflect

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 0.1.3

4

dist/nodes.js

@@ -218,3 +218,3 @@

this.argument = argument;
//this.prefix = prefix;
this.prefix = prefix;
this.loc = loc;

@@ -267,4 +267,4 @@ });

def('DoWhileStatement', function (body, test, loc) {
this.body = body;
this.test = test;
this.body = body;
this.loc = loc;

@@ -271,0 +271,0 @@ });

@@ -87,3 +87,3 @@

// don't print error for missing semicolon
if (!((!hash.expected || hash.expected.indexOf("';'") >= 0) && (hash.token === 'CLOSEBRACE' || parser.yy.lineBreak || parser.yy.lastLineBreak || hash.token === 1 || parser.yy.DOW))) {
if (!((!hash.expected || hash.expected.indexOf("';'") >= 0) && (hash.token === 'CLOSEBRACE' || parser.yy.lineBreak || parser.yy.lastLineBreak || hash.token === 1 || parser.yy.doWhile))) {
throw new SyntaxError(err);

@@ -140,3 +140,3 @@ }

"TRUETOKEN": "Boolean",
"FALSETOKEN": "Boolean",
"FALSETOKEN": "Boolean"
};

@@ -150,3 +150,3 @@

// Keyword tokens
'BREAK CASE CONTINUE DEBUGGER DEFAULT DELETETOKEN DO ELSE FINALLY FOR FUNCTION IF INTOKEN INSTANCEOF NEW RETURN SWITCH TRY CATCH THROW TYPEOF VAR VOIDTOKEN WHILE WITH CLASS CONSTTOKEN LET ENUM EXPORT EXTENDS IMPORT SUPERTOKEN IMPLEMENTS INTERFACE PACKAGE PRIVATE PROTECTED PUBLIC STATIC YIELD THISTOKEN'.split(' ').forEach(function (token) {
'BREAK CASE CONTINUE DEBUGGER DEFAULT DELETETOKEN DO ELSE FINALLY FOR FUNCTION IF INTOKEN INSTANCEOF NEW RETURN SWITCH TRY CATCH THROW TYPEOF VAR VOIDTOKEN WHILE WITH CLASS CONSTTOKEN LET ENUM EXPORT EXTENDS IMPORT SUPERTOKEN IMPLEMENTS INTERFACE PACKAGE PRIVATE PROTECTED PUBLIC STATIC YIELD THISTOKEN EVAL ARGUMENTS'.split(' ').forEach(function (token) {
types[token] = 'Keyword';

@@ -153,0 +153,0 @@ });

@@ -5,3 +5,3 @@ {

"description": "JavaScript parser adhering to Mozilla's parser API",
"version": "0.1.2",
"version": "0.1.3",
"keywords": [

@@ -8,0 +8,0 @@ "parser",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc