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.10 to 1.0.11

9

CHANGELOG.md

@@ -0,1 +1,10 @@

<a name="1.0.11"></a>
## 1.0.11 (2017-10-22)
* 1.0.11 ([9f1a622](https://github.com/wessberg/StringUtil/commit/9f1a622))
* Bumped deps. Added an 'unquote' method ([e8b9fec](https://github.com/wessberg/StringUtil/commit/e8b9fec))
* Bumped version ([155b0f3](https://github.com/wessberg/StringUtil/commit/155b0f3))
<a name="1.0.10"></a>

@@ -2,0 +11,0 @@ ## 1.0.10 (2017-08-20)

1

dist/es2015/string-util/i-string-util.d.ts

@@ -27,2 +27,3 @@ export interface IStringUtil {

takeFromAfter(str: string, from: string): string;
unquote(str: string): string;
}

@@ -7,2 +7,8 @@ import { IStringUtil } from "./i-string-util";

/**
* Unquotes a quoted string
* @param {string} str
* @returns {string}
*/
unquote(str: string): string;
/**
* Returns true if the string is in camelCase

@@ -9,0 +15,0 @@ * @param {string} str

@@ -6,2 +6,10 @@ /**

/**
* Unquotes a quoted string
* @param {string} str
* @returns {string}
*/
unquote(str) {
return this.isQuoted(str) ? str.slice(1, str.length - 1) : str;
}
/**
* Returns true if the string is in camelCase

@@ -8,0 +16,0 @@ * @param {string} str

@@ -27,2 +27,3 @@ export interface IStringUtil {

takeFromAfter(str: string, from: string): string;
unquote(str: string): string;
}

@@ -7,2 +7,8 @@ import { IStringUtil } from "./i-string-util";

/**
* Unquotes a quoted string
* @param {string} str
* @returns {string}
*/
unquote(str: string): string;
/**
* Returns true if the string is in camelCase

@@ -9,0 +15,0 @@ * @param {string} str

@@ -17,2 +17,10 @@ (function (factory) {

/**
* Unquotes a quoted string
* @param {string} str
* @returns {string}
*/
unquote(str) {
return this.isQuoted(str) ? str.slice(1, str.length - 1) : str;
}
/**
* Returns true if the string is in camelCase

@@ -19,0 +27,0 @@ * @param {string} str

10

package.json
{
"name": "@wessberg/stringutil",
"version": "1.0.10",
"version": "1.0.11",
"description": "A class for performing simple operations on strings.",

@@ -57,9 +57,9 @@ "repository": {

"ava": "^0.22.0",
"conventional-changelog-cli": "latest",
"conventional-changelog-cli": "^1.3.4",
"husky": "^0.14.3",
"tslint": "^5.6.0",
"typescript": "^2.5.1"
"tslint": "^5.8.0",
"typescript": "^2.5.3"
},
"dependencies": {
"tslib": "^1.7.1"
"tslib": "^1.8.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