Shinigami

Results 864 comments of Shinigami

Send from my phone: what about multiplying faker.number.int() with faker.number.int(min: 1, max: 25000) 👀 This would increase the range but still is deterministic `// (2**32/2)/83000≈25000` We could move this multiplication...

Just a random thought for "internet css colors" There is a finite set of all browser supported named css colors: https://www.w3schools.com/cssref/css_colors.php

> this seems logical, it could be an option for faker.color.rgb to make "nice" colors. > > Also TBH if you want "nice" colors nowadays it's way easier to not...

So to explain what a side effect is: When a function modifies the state of something outside its scope, then it is declared as a side effect For example: https://github.com/faker-js/faker/blob/64f480d214dc0bd173b0921025c8a1ad76d12c0f/src/modules/helpers/unique.ts#L144...

@xDivisionByZerox pointed made a hint in meeting 2023-04-20 that we could move the variable `allLocales` into the file `src/locales/index.ts` itself https://github.com/faker-js/faker/blob/bf67a219365d63c9430d4935056752859eaeaa8f/src/index.ts#L41 This should be tested and could work, so that...

@evanw could you help us with this bug? Please checkout ```bash git clone [email protected]:faker-js/faker.git cd faker pnpm install pnpm run build cd .. git clone [email protected]:faker-js/playground.git cd playground git switch...

Moving this into Milestone v8 as we have decided that it is not blocking a release v8.0 Still a bug, but we need help e.g. from the community

I highly assume that is because Algolia Index is based on fakerjs.dev not next.fakerjs.dev and so you see the results for the prod site.

> **Team Decision** > > Remove the mersenne option from the constructor and use something like `newFaker.mersenne.copyState(this.mersenne)` instead. I was not part of the meeting but agree for now Yes...