Socket
Socket
Sign inDemoInstall

lodash-inflection

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

lodash-inflection - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

1

lib/lodash-inflection.js

@@ -216,2 +216,3 @@ // lodash-inflection.js

this.singular(/(m)ovies$/, '$1ovie');
this.singular(/(ss)$/, '$1');
this.singular(/(x|ch|ss|sh)es$/, '$1');

@@ -218,0 +219,0 @@ this.singular(/([m|l])ice$/, '$1ouse');

5

package.json
{
"name": "lodash-inflection",
"version": "1.3.0",
"version": "1.3.1",
"description": "ActiveSupport::Inflector, for lodash!",
"main": "index.js",
"browser": "lib/lodash-inflection.js",
"engines": {
"node": ">=0.10.0 <0.12"
},
"scripts": {

@@ -11,0 +8,0 @@ "test": "mocha",

@@ -8,2 +8,4 @@ ## lodash-inflection

This is a fork of [Jeremy Ruppel underscore.inflection](https://github.com/jeremyruppel/underscore.inflection) for lodash.
The major and minor versions correspond to their upstream equivalent,
while the patch version may change to fix some minor issues in the fork.

@@ -10,0 +12,0 @@ **Another javascript inflector?!**

@@ -26,2 +26,3 @@ describe('inflector', function() {

['hive', 'hives'],
['boss', 'bosses'],
['soliloquy', 'soliloquies'],

@@ -51,2 +52,4 @@ ['wish', 'wishes'],

['shoes', 'shoe'],
['bosses', 'boss'],
['boss', 'boss'],
['crises', 'crisis'],

@@ -53,0 +56,0 @@ ['viri', 'virus'],

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