@olton/string
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -930,4 +930,4 @@ /** | ||
} | ||
substr(start, len) { | ||
return this._result(f.substr(this.value, start, len)); | ||
substring(start, len) { | ||
return this._result(f.substring(this.value, start, len)); | ||
} | ||
@@ -952,2 +952,5 @@ swap() { | ||
} | ||
truncateWithAlign(len, end) { | ||
return this._result(f.truncateWithAlign(this.value, len, end)); | ||
} | ||
unescapeHtml() { | ||
@@ -954,0 +957,0 @@ return this._result(f.unescapeHtml(this.value)); |
{ | ||
"name": "@olton/string", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "String is a minimalist JavaScript library for manipulating with strings for node and modern browsers with a comfortable modern API.", | ||
@@ -5,0 +5,0 @@ "main": "dist/string.js", |
@@ -233,4 +233,4 @@ import f from "./functions" | ||
substr(start, len){ | ||
return this._result(f.substr(this.value, start, len)) | ||
substring(start, len){ | ||
return this._result(f.substring(this.value, start, len)) | ||
} | ||
@@ -262,2 +262,6 @@ | ||
truncateWithAlign(len, end){ | ||
return this._result(f.truncateWithAlign(this.value, len, end)) | ||
} | ||
unescapeHtml(){ | ||
@@ -264,0 +268,0 @@ return this._result(f.unescapeHtml(this.value)) |
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
1341971
3289