antisocial-auth
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -27,3 +27,3 @@ "use strict"; | ||
return function (text) { | ||
return text.replace(RegExp("(.{1," + width + "})", "g"), "$1\n"); | ||
return text.replace(RegExp("(.{1," + width + "})", "g"), "$1\n").trim(); | ||
}; | ||
@@ -35,3 +35,3 @@ }, | ||
return function (text) { | ||
return "" + beginTag + "\n" + text + "" + endTag + "\n"; | ||
return "" + beginTag + "\n" + text + "\n" + endTag; | ||
}; | ||
@@ -38,0 +38,0 @@ }, |
{ | ||
"name": "antisocial-auth", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Social authentication for websites that don't provide any.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/valeriangalliat/antisocial-auth", |
9592