Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plural of "mosquito" is "mosquitoes" #165

Open
morbus opened this issue Dec 30, 2020 · 3 comments · May be fixed by #167
Open

Plural of "mosquito" is "mosquitoes" #165

morbus opened this issue Dec 30, 2020 · 3 comments · May be fixed by #167

Comments

@morbus
Copy link

morbus commented Dec 30, 2020

# returns nothing
console.log(pluralize.singular("mosquitoes"))
@matievisthekat
Copy link

This bug does not appear for me

image

Node: v14.15.3
Pluralize: v8.0.0

@morbus
Copy link
Author

morbus commented Jan 9, 2021

"mosquitoe" is also incorrect.

@morbus
Copy link
Author

morbus commented Jan 9, 2021

I can confirm @matievisthekat's output, though I'm not sure why it was different in my original report - let's just consider that PEBCAK (as the original code that prompted this issue no longer exists). I can also confirm that pluralizing goes the wrong way too:

var pluralize = require('pluralize')
console.log(pluralize.singular('mosquitoes'))
console.log(pluralize.plural('mosquito'))

Outputs:

mosquitoe
mosquitos

When it should output:

mosquito
mosquitoes

matievisthekat added a commit to matievisthekat/pluralize that referenced this issue Jan 9, 2021
@matievisthekat matievisthekat linked a pull request Jan 9, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants