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

inflection

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inflection - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

6

History.md

@@ -0,1 +1,7 @@

## 1.2.1 / 2012-06-22
- [bug fix] Singularize `address` produces `addres`
## 1.2.0 / 2012-04-10

@@ -2,0 +8,0 @@

18

lib/inflection.js

@@ -45,2 +45,3 @@ /*!

[ new RegExp( '(quiz)$', 'gi' ), '$1zes' ],
// do not replace if its already a plural word

@@ -106,2 +107,3 @@ [ new RegExp( '(m)en$', 'gi' )],

[ new RegExp( '(quiz)zes$', 'gi' ), '$1' ],
[ new RegExp( 'ss$', 'gi' ), 'ss' ],
[ new RegExp( 's$', 'gi' ), '' ]

@@ -364,4 +366,3 @@ ];

return str.substring( 0, 1 ).
toUpperCase() + str.substring( 1 );
return str.substring( 0, 1 ).toUpperCase() + str.substring( 1 );
},

@@ -560,5 +561,3 @@

if( typeof exports === 'undefined' ){
root.call( inflector );
}else{
if( typeof exports === 'undefined' ) return root.call( inflector );

@@ -568,5 +567,5 @@ /**

*/
inflector.version = JSON.parse(
require( 'fs' ).readFileSync( __dirname + '/../package.json', 'utf8' )
).version;
inflector.version = JSON.parse(
require( 'fs' ).readFileSync( __dirname + '/../package.json', 'utf8' )
).version;

@@ -576,4 +575,3 @@ /**

*/
module.exports = inflector;
}
module.exports = inflector;
})( this );
{
"name" : "inflection",
"version" : "1.2.0",
"version" : "1.2.1",
"description": "A port of inflection-js to node.js module",

@@ -11,2 +11,7 @@ "keywords" : [

"author" : "dreamerslab <ben@dreamerslab.com>",
"contributors": [
{ "name": "Ryan Schuft", "email": "ryan.schuft@gmail.com" },
{ "name": "Ben Lin", "email": "ben@dreamerslab.com" },
{ "name": "Lance Pollard", "email": "lancejpollard@gmail.com" }
],
"dependencies" : {},

@@ -13,0 +18,0 @@ "devDependencies": {

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