@augment-vir/common
Advanced tools
Comparing version 28.0.1 to 28.0.2
@@ -46,3 +46,6 @@ "use strict"; | ||
input.replace(/\n/g, ' '); | ||
return newLineReplacement.trim().replace(/\s{2,}/g, ' '); | ||
return newLineReplacement | ||
.trim() | ||
.replace(/[^\S\r\n]/g, ' ') | ||
.replace(/\s{2,}/g, ' '); | ||
} | ||
@@ -49,0 +52,0 @@ exports.collapseWhiteSpace = collapseWhiteSpace; |
@@ -40,3 +40,6 @@ import { ansiRegex } from './ansi'; | ||
input.replace(/\n/g, ' '); | ||
return newLineReplacement.trim().replace(/\s{2,}/g, ' '); | ||
return newLineReplacement | ||
.trim() | ||
.replace(/[^\S\r\n]/g, ' ') | ||
.replace(/\s{2,}/g, ' '); | ||
} | ||
@@ -43,0 +46,0 @@ /** Same as String.prototype.split but includes the delimiter to split by in the output array. */ |
{ | ||
"name": "@augment-vir/common", | ||
"version": "28.0.1", | ||
"version": "28.0.2", | ||
"homepage": "https://github.com/electrovir/augment-vir/tree/main/packages/common", | ||
@@ -5,0 +5,0 @@ "bugs": { |
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
164959
4045