Skip to content

Lorem EN word.ts contains a single character in the pool #3261

@konarx

Description

@konarx

Pre-Checks

Describe the bug

I was using lorem.word for testing, and I had a failing test. I was confident enough to ping the developer:
-"Hey, you have a bug here."
-"No, you are providing a single character when I expect a word of at least two characters."
-"No, I don't. I use a library that specifically uses random words, not chars".
-"Yes, you are. Here, see the payload you provided yourself."
-"Ah..."
And here I am :) There is an 'a' character here, which is NOT a word, so I do not think it should be in this pool.

Minimal reproduction code

No response

Additional Context

No response

Environment Info

-

Which module system do you use?

  • CJS
  • ESM

Used Package Manager

npm

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: bugSomething isn't workingm: loremSomething is referring to the lorem modulep: 1-normalNothing urgent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions