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

@olton/string

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@olton/string - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

7

dist/string.js

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

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