Comparing version 1.4.1 to 1.4.2
@@ -23,2 +23,4 @@ "use strict"; | ||
self.gutter = self.options.gutter || 0; | ||
// istanbul ignore if | ||
self.annotateLine = options.annotateLine || null; | ||
self.decorateHexen = self.options.decorateHexen || noopDecorate; | ||
@@ -92,3 +94,8 @@ self.decorateHuman = self.options.decorateHuman || noopDecorate; | ||
} | ||
self.line += self.hexen + self.divide + self.human + '\n'; | ||
self.line += self.hexen + self.divide + self.human; | ||
// istanbul ignore if | ||
if (self.annotateLine) { | ||
self.line += self.annotateLine(self.totalOffset - self.cols, self.totalOffset); | ||
} | ||
self.line += '\n'; | ||
self.push(self.line); | ||
@@ -95,0 +102,0 @@ self.line = ''; |
{ | ||
"name": "hexer", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Hex Dumper (streaming, sync, and cli)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
32418
750