Comparing version 2.1.0 to 2.1.1
@@ -40,2 +40,6 @@ "use strict"; | ||
}) { | ||
if (!text) { | ||
return; | ||
} | ||
const lines = text.split('\n'); | ||
@@ -46,4 +50,8 @@ let offsetY = 0; | ||
const length = (0, _stringLength.default)(line); | ||
const currentLine = this.output[y + offsetY]; | ||
const currentLine = this.output[y + offsetY]; // Line can be missing if `text` is taller than height of pre-initialized `this.output` | ||
if (!currentLine) { | ||
continue; | ||
} | ||
for (const transformer of transformers) { | ||
@@ -50,0 +58,0 @@ line = transformer(line); |
{ | ||
"name": "ink", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "React for CLI", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
83655
1583