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

underscore.string

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

underscore.string - npm Package Compare versions

Comparing version 2.3.3 to 2.4.0

.npmignore

2

component.json

@@ -5,3 +5,3 @@ {

"description": "String manipulation extensions for Underscore.js javascript library",
"version": "2.3.3",
"version": "2.4.0",
"keywords": ["underscore", "string"],

@@ -8,0 +8,0 @@ "dependencies": {},

@@ -6,3 +6,3 @@ // Underscore.string

// Some code is borrowed from MooTools and Alexandru Marasteanu.
// Version '2.3.2'
// Version '2.4.0'

@@ -193,3 +193,3 @@ !function(root, String){

VERSION: '2.3.0',
VERSION: '2.4.0',

@@ -354,3 +354,3 @@ isBlank: function(str){

classify: function(str){
return _s.titleize(String(str).replace(/[\W_]/g, ' ')).replace(/\s/g, '');
return _s.capitalize(_s.camelize(String(str).replace(/[\W_]/g, ' ')).replace(/\s/g, ''));
},

@@ -366,3 +366,3 @@

characters = defaultToWhiteSpace(characters);
return String(str).replace(new RegExp('\^' + characters + '+|' + characters + '+$', 'g'), '');
return String(str).replace(new RegExp('^' + characters + '+|' + characters + '+$', 'g'), '');
},

@@ -369,0 +369,0 @@

{
"name": "underscore.string",
"version": "2.3.3",
"version": "2.4.0",
"description": "String manipulation extensions for Underscore.js javascript library.",

@@ -20,3 +20,3 @@ "homepage": "http://epeli.github.com/underscore.string/",

],
"main": "./lib/underscore.string",
"main": "./lib/underscore.string.js",
"directories": {

@@ -39,3 +39,13 @@ "lib": "./lib"

}
]
}
],
"scripts": {
"test": "gulp test"
},
"devDependencies": {
"gulp": "~3.8.10",
"gulp-uglify": "~1.0.1",
"gulp-qunit": "~1.0.0",
"gulp-clean": "~0.3.1",
"gulp-rename": "~1.2.0"
}
}

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