@jeefo/javascript_preprocessor
Advanced tools
Comparing version 0.0.4 to 0.0.5
24
index.js
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. | ||
* File Name : index.js | ||
* Created at : 2020-05-30 | ||
* Updated at : 2020-10-07 | ||
* Updated at : 2020-11-22 | ||
* Author : jeefo | ||
@@ -64,3 +64,2 @@ * Purpose : | ||
case "Identifier" : | ||
case "Identifier name" : | ||
case "Label identifier" : | ||
@@ -79,10 +78,4 @@ case "Binding identifier" : | ||
// Keyword | ||
case "Keyword" : | ||
case "This keyword" : | ||
// Others | ||
case "Comment" : | ||
case "Undefined" : | ||
case "Punctuator" : | ||
case "New target" : | ||
@@ -94,2 +87,13 @@ case "Debugger statement" : | ||
case "Keyword" : | ||
case "Punctuator" : | ||
case "This keyword" : | ||
case "Identifier name" : | ||
if (node.pre_comment) await this.walk(node.pre_comment); | ||
break; | ||
case "Comment" : | ||
if (node.previous_comment) await this.walk(node.previous_comment); | ||
break; | ||
case "Binding pattern" : | ||
@@ -225,3 +229,5 @@ case "Assignment pattern" : | ||
case "Async arrow function body" : | ||
await this.walk(node.open_curly_bracket); | ||
for (const n of node.statement_list) await this.walk(n); | ||
await this.walk(node.close_curly_bracket); | ||
break; | ||
@@ -238,3 +244,5 @@ | ||
case "Grouping expression" : | ||
await this.walk(node.open_parenthesis); | ||
for (const n of node.expressions_list) await this.walk(n); | ||
await this.walk(node.close_parenthesis); | ||
break; | ||
@@ -241,0 +249,0 @@ |
{ | ||
"name": "@jeefo/javascript_preprocessor", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"homepage": "https://github.com/je3f0o/jeefo_javascript_preprocessor", | ||
@@ -5,0 +5,0 @@ "copyright": "2020", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
21585
468
0