Skip to content

Korean faker giving invalid urls #3251

@olafurw

Description

@olafurw

Pre-Checks

Describe the bug

When using fakerKO and calling internet.url("") you get urls that look like https://--.com

Minimal reproduction code

https://stackblitz.com/edit/faker-js-demo-i7vsqq?file=index.ts

Additional Context

No response

Environment Info

System:
    OS: Linux 5.0 undefined
    CPU: (6) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    @faker-js/faker: ^9.2.0 => 9.2.0

Which module system do you use?

  • CJS
  • ESM

Used Package Manager

npm

Metadata

Metadata

Assignees

Labels

c: bugSomething isn't workingp: 1-normalNothing urgents: acceptedAccepted feature / Confirmed bug

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions