Socket
Socket
Sign inDemoInstall

i

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i - npm Package Compare versions

Comparing version 0.3.4 to 0.3.5

1

lib/methods.js

@@ -208,3 +208,2 @@ // The Inflector transforms words from singular to plural, class names to table names, modularized class names to ones without,

self = inflect.humanize(inflect.underscore(word));
self = util.string.gsub(self, /[^a-zA-Z:']/, ' ');
return util.string.capitalize(self);

@@ -211,0 +210,0 @@ };

2

package.json
{
"name": "i",
"version": "0.3.4",
"version": "0.3.5",
"author": "Pavan Kumar Sunkara <pavan.sss1991@gmail.com> (pksunkara.github.com)",

@@ -5,0 +5,0 @@ "description": "custom inflections for nodejs",

@@ -304,2 +304,5 @@ (function() {

return assert.equal(topic.titleize('x-men: the last stand'), 'X Men: The Last Stand');
},
'with ampersands': function(topic) {
return assert.equal(topic.titleize('garfunkel & oates'), 'Garfunkel & Oates');
}

@@ -306,0 +309,0 @@ },

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