You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

typescript-string-operations

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-string-operations - npm Package Compare versions

Comparing version

to
1.4.0-beta.2

2

CHANGELOG.md

@@ -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",