Comparing version 0.0.34 to 0.0.35
{ | ||
"name": "jeefo", | ||
"version": "0.0.34", | ||
"version": "0.0.35", | ||
"homepage": "https://github.com/je3f0o/jeefo", | ||
@@ -5,0 +5,0 @@ "copyright": "2017", |
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. | ||
* File Name : parser.js | ||
* Created at : 2016-11-26 | ||
* Updated at : 2018-10-19 | ||
* Updated at : 2018-12-17 | ||
* Author : jeefo | ||
@@ -53,5 +53,5 @@ * Purpose : | ||
if (token.callee.type === "Identifier" && token.callee.name === "require") { | ||
switch (token.parameters[0].type) { | ||
switch (token["arguments"][0].type) { | ||
case "StringLiteral" : | ||
var file_path = token.parameters[0].value; | ||
var file_path = token["arguments"][0].value; | ||
if (global_modules.indexOf(file_path) !== -1) { | ||
@@ -58,0 +58,0 @@ return; |
360845