typescript-string-operations
Advanced tools
Comparing version
@@ -6,2 +6,2 @@ # CHANGELOG | ||
- added hexadecimal conversion specifier | ||
- bugfix `StringBuilder` initialization without parameter adds empty string. | ||
- bugfix `StringBuilder` initialization without parameter adds empty string to internal Values Array. |
@@ -251,5 +251,6 @@ "use strict"; | ||
function StringBuilder(value) { | ||
if (value === void 0) { value = String.Empty; } | ||
this.Values = []; | ||
this.Values = new Array(value); | ||
if (!String.IsNullOrWhiteSpace(value)) { | ||
this.Values = new Array(value); | ||
} | ||
} | ||
@@ -256,0 +257,0 @@ StringBuilder.prototype.ToString = function () { |
@@ -251,5 +251,6 @@ "use strict"; | ||
function StringBuilder(value) { | ||
if (value === void 0) { value = String.Empty; } | ||
this.Values = []; | ||
this.Values = new Array(value); | ||
if (!String.IsNullOrWhiteSpace(value)) { | ||
this.Values = new Array(value); | ||
} | ||
} | ||
@@ -256,0 +257,0 @@ StringBuilder.prototype.ToString = function () { |
{ | ||
"name": "typescript-string-operations", | ||
"version": "1.4.0-beta.1", | ||
"version": "1.4.0-beta.2", | ||
"description": "Simple lightweight string operation library for Typescript, works with Angular", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.min.js", |
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
0
-100%28735
-50.99%9
-52.63%586
-49.74%