Socket
Socket
Sign inDemoInstall

underscore.string

Package Overview
Dependencies
Maintainers
4
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 3.0.0 to 3.0.1

3

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

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

"main": "./dist/underscore.string.js",
"ignore": [],
"repository": {

@@ -23,0 +24,0 @@ "type": "git",

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

"description": "String manipulation extensions for Underscore.js javascript library",
"version": "3.0.0",
"version": "3.0.1",
"keywords": [

@@ -8,0 +8,0 @@ "underscore",

@@ -14,3 +14,3 @@ var gulp = require('gulp-param')(require('gulp'), process.argv),

TEST_SUITES = ['test/test.html', 'test/test_standalone.html', 'test/test_underscore/index.html'],
VERSION_FILES = ['./package.json', './component.json'];
VERSION_FILES = ['./package.json', './component.json', './bower.json'];

@@ -17,0 +17,0 @@ gulp.task('test', ['browserify'], function() {

var capitalize = require('./capitalize');
var underscored = require('./underscored');
var trim = require('./trim');
module.exports = function humanize(str) {
return capitalize(underscored(str).replace(/_id$/, '').replace(/_/g, ' '));
return capitalize(trim(underscored(str).replace(/_id$/, '').replace(/_/g, ' ')));
};

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

// Some code is borrowed from MooTools and Alexandru Marasteanu.
// Version '3.0.0'
// Version '3.0.1'

@@ -17,3 +17,3 @@ 'use strict';

s.VERSION = '3.0.0';
s.VERSION = '3.0.1';

@@ -20,0 +20,0 @@ s.isBlank = require('./isBlank');

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

@@ -5,0 +5,0 @@ "homepage": "http://epeli.github.com/underscore.string/",

Sorry, the diff of this file is not supported yet

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