Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wessberg/stringutil

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wessberg/stringutil - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

9

CHANGELOG.md

@@ -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)

3

dist/es2015/string-util/string-util.js

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc