Socket
Socket
Sign inDemoInstall

@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.13 to 1.0.14

35

CHANGELOG.md

@@ -0,3 +1,12 @@

<a name="1.0.14"></a>
## <small>1.0.14 (2018-02-03)</small>
* 1.0.14 ([01a471e](https://github.com/wessberg/StringUtil/commit/01a471e))
* Bumped deps ([c42422f](https://github.com/wessberg/StringUtil/commit/c42422f))
* Bumped version ([54cfba6](https://github.com/wessberg/StringUtil/commit/54cfba6))
<a name="1.0.13"></a>
## 1.0.13 (2017-10-28)
## <small>1.0.13 (2017-10-28)</small>

@@ -11,3 +20,3 @@ * 1.0.13 ([35015f9](https://github.com/wessberg/StringUtil/commit/35015f9))

<a name="1.0.12"></a>
## 1.0.12 (2017-10-22)
## <small>1.0.12 (2017-10-22)</small>

@@ -21,3 +30,3 @@ * 1.0.12 ([05db27f](https://github.com/wessberg/StringUtil/commit/05db27f))

<a name="1.0.11"></a>
## 1.0.11 (2017-10-22)
## <small>1.0.11 (2017-10-22)</small>

@@ -31,3 +40,3 @@ * 1.0.11 ([9f1a622](https://github.com/wessberg/StringUtil/commit/9f1a622))

<a name="1.0.10"></a>
## 1.0.10 (2017-08-20)
## <small>1.0.10 (2017-08-20)</small>

@@ -40,3 +49,3 @@ * 1.0.10 ([ad40c81](https://github.com/wessberg/StringUtil/commit/ad40c81))

<a name="1.0.9"></a>
## 1.0.9 (2017-08-20)
## <small>1.0.9 (2017-08-20)</small>

@@ -50,3 +59,3 @@ * 1.0.9 ([cf85760](https://github.com/wessberg/StringUtil/commit/cf85760))

<a name="1.0.8"></a>
## 1.0.8 (2017-08-08)
## <small>1.0.8 (2017-08-08)</small>

@@ -60,3 +69,3 @@ * 1.0.8 ([3507188](https://github.com/wessberg/StringUtil/commit/3507188))

<a name="1.0.7"></a>
## 1.0.7 (2017-08-08)
## <small>1.0.7 (2017-08-08)</small>

@@ -70,3 +79,3 @@ * 1.0.7 ([6d7be2d](https://github.com/wessberg/StringUtil/commit/6d7be2d))

<a name="1.0.6"></a>
## 1.0.6 (2017-08-08)
## <small>1.0.6 (2017-08-08)</small>

@@ -79,3 +88,3 @@ * 1.0.6 ([87998bb](https://github.com/wessberg/StringUtil/commit/87998bb))

<a name="1.0.5"></a>
## 1.0.5 (2017-07-11)
## <small>1.0.5 (2017-07-11)</small>

@@ -89,3 +98,3 @@ * 1.0.5 ([750e48a](https://github.com/wessberg/StringUtil/commit/750e48a))

<a name="1.0.4"></a>
## 1.0.4 (2017-07-10)
## <small>1.0.4 (2017-07-10)</small>

@@ -98,3 +107,3 @@ * added publish scripts ([30c6586](https://github.com/wessberg/StringUtil/commit/30c6586))

<a name="1.0.3"></a>
## 1.0.3 (2017-07-10)
## <small>1.0.3 (2017-07-10)</small>

@@ -107,3 +116,3 @@ * added publish scripts ([f0760aa](https://github.com/wessberg/StringUtil/commit/f0760aa))

<a name="1.0.2"></a>
## 1.0.2 (2017-07-10)
## <small>1.0.2 (2017-07-10)</small>

@@ -116,3 +125,3 @@ * (@added publish scripts)[@] ([e1264b6](https://github.com/wessberg/StringUtil/commit/e1264b6))

<a name="1.0.1"></a>
## 1.0.1 (2017-07-10)
## <small>1.0.1 (2017-07-10)</small>

@@ -119,0 +128,0 @@ * 1.0.1 ([472bc86](https://github.com/wessberg/StringUtil/commit/472bc86))

@@ -242,3 +242,3 @@ /**

// Convert tabs to spaces and remove anything but spaces.
if (preserveSpaces)
if (preserveSpaces) {
return str

@@ -249,2 +249,3 @@ .replace(/&nbsp;/g, " ")

.replace(/[ ]{2,}/g, " ");
}
// Remove any kind of whitespace.

@@ -251,0 +252,0 @@ return str.replace(/[ \n\t\r]/g, "").replace(/&nbsp;/, "");

@@ -253,3 +253,3 @@ (function (factory) {

// Convert tabs to spaces and remove anything but spaces.
if (preserveSpaces)
if (preserveSpaces) {
return str

@@ -260,2 +260,3 @@ .replace(/&nbsp;/g, " ")

.replace(/[ ]{2,}/g, " ");
}
// Remove any kind of whitespace.

@@ -262,0 +263,0 @@ return str.replace(/[ \n\t\r]/g, "").replace(/&nbsp;/, "");

{
"name": "@wessberg/stringutil",
"version": "1.0.13",
"version": "1.0.14",
"description": "A class for performing simple operations on strings.",

@@ -55,11 +55,11 @@ "repository": {

"devDependencies": {
"@wessberg/ts-config": "0.0.23",
"ava": "^0.22.0",
"conventional-changelog-cli": "^1.3.4",
"@wessberg/ts-config": "0.0.25",
"ava": "^0.25.0",
"conventional-changelog-cli": "^1.3.8",
"husky": "^0.14.3",
"tslint": "^5.8.0",
"typescript": "^2.5.3"
"tslint": "^5.9.1",
"typescript": "^2.7.1"
},
"dependencies": {
"tslib": "^1.8.0"
"tslib": "^1.9.0"
},

@@ -66,0 +66,0 @@ "main": "./dist/umd/index.js",

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