@wessberg/stringutil
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -0,1 +1,10 @@ | ||
<a name="1.0.13"></a> | ||
## 1.0.13 (2017-10-28) | ||
* 1.0.13 ([35015f9](https://github.com/wessberg/StringUtil/commit/35015f9)) | ||
* Bumped version ([1d7973e](https://github.com/wessberg/StringUtil/commit/1d7973e)) | ||
* Refined the 'isQuoted' method ([51de085](https://github.com/wessberg/StringUtil/commit/51de085)) | ||
<a name="1.0.12"></a> | ||
@@ -2,0 +11,0 @@ ## 1.0.12 (2017-10-22) |
@@ -107,3 +107,4 @@ /** | ||
isQuoted(str) { | ||
return this.startsWithQuote(str) && this.endsWithQuote(str); | ||
const trimmed = this.removeWhitespace(str, true); | ||
return this.startsWithQuote(trimmed) && this.endsWithQuote(trimmed); | ||
} | ||
@@ -110,0 +111,0 @@ /** |
@@ -118,3 +118,4 @@ (function (factory) { | ||
isQuoted(str) { | ||
return this.startsWithQuote(str) && this.endsWithQuote(str); | ||
const trimmed = this.removeWhitespace(str, true); | ||
return this.startsWithQuote(trimmed) && this.endsWithQuote(trimmed); | ||
} | ||
@@ -121,0 +122,0 @@ /** |
{ | ||
"name": "@wessberg/stringutil", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "A class for performing simple operations on strings.", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
58474
1040
21