From 64ff107b8a9cd0965a67f00fd30cded144c02fd6 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Sun, 25 Feb 2024 10:36:31 +0100 Subject: refactor(random)!: remove deprecated random module (#2678) --- src/faker.ts | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/faker.ts') diff --git a/src/faker.ts b/src/faker.ts index dbced02e..c78fe1de 100644 --- a/src/faker.ts +++ b/src/faker.ts @@ -24,7 +24,6 @@ import { MusicModule } from './modules/music'; import type { PersonModule as NameModule } from './modules/person'; import { PersonModule } from './modules/person'; import { PhoneModule } from './modules/phone'; -import { RandomModule } from './modules/random'; import { ScienceModule } from './modules/science'; import { SystemModule } from './modules/system'; import { VehicleModule } from './modules/vehicle'; @@ -62,12 +61,6 @@ export class Faker extends SimpleFaker { readonly rawDefinitions: LocaleDefinition; readonly definitions: LocaleProxy; - /** - * @deprecated Use the modules specific to the type of data you want to generate instead. - */ - // eslint-disable-next-line deprecation/deprecation - readonly random: RandomModule = new RandomModule(this); - readonly airline: AirlineModule = new AirlineModule(this); readonly animal: AnimalModule = new AnimalModule(this); readonly color: ColorModule = new ColorModule(this); -- cgit v1.2.3