indent-string
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -15,3 +15,3 @@ 'use strict'; | ||
return str.replace(/(?:^|\r?\n)(?=[\S$])/g, '$&' + indent); | ||
return str.replace(/^(?!\s*$)/mg, indent); | ||
}; |
{ | ||
"name": "indent-string", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Indent each line in 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
3340