trim-newlines
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -9,3 +9,3 @@ export default function trimNewlines(string) { | ||
while (end > 0 && (string[end - 1] === '\r' || string[end - 1] === '\n')) { | ||
while (end > start && (string[end - 1] === '\r' || string[end - 1] === '\n')) { | ||
end--; | ||
@@ -12,0 +12,0 @@ } |
{ | ||
"name": "trim-newlines", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Trim newlines from the start and/or end of a string", | ||
@@ -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
4619