Comparing version 3.7.0 to 3.7.1
@@ -21,3 +21,3 @@ "use strict"; | ||
source(source, tree, definitions) { | ||
var _a, _b, _c; | ||
var _a, _b, _c, _d, _e, _f; | ||
const nodes = tree.flatten(); | ||
@@ -47,3 +47,3 @@ let currentToken = 0; | ||
decoratedStrings.push(this.decorateText("\n", "new_line")); | ||
if (currentToken < nodes.length && nodes[currentToken].type === "\n") { | ||
if (currentToken < nodes.length && ((_d = nodes[currentToken]) === null || _d === void 0 ? void 0 : _d.type) === "\n") { | ||
currentToken += 1; | ||
@@ -58,3 +58,3 @@ } | ||
} | ||
if (nodes[currentToken].type === "raw_text" && nodes[currentToken].text === "") { | ||
if (((_e = nodes[currentToken]) === null || _e === void 0 ? void 0 : _e.type) === "raw_text" && ((_f = nodes[currentToken]) === null || _f === void 0 ? void 0 : _f.text) === "") { | ||
currentToken += 1; | ||
@@ -61,0 +61,0 @@ wordInRange = ""; |
{ | ||
"name": "kmdr-ast", | ||
"version": "3.7.0", | ||
"version": "3.7.1", | ||
"description": "Traverse the AST of an explanation by kmdr", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
59677