Skip to content

Commit d6751fa

Browse files
committed
refactor: _prefix module helpers
1 parent cad65a5 commit d6751fa

22 files changed

Lines changed: 21 additions & 21 deletions

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ export type { Currency, FinanceModule } from './modules/finance';
5757
export {
5858
BitcoinAddressFamily,
5959
BitcoinNetwork,
60-
} from './modules/finance/bitcoin';
60+
} from './modules/finance/_bitcoin';
6161
export type {
6262
BitcoinAddressFamilyType,
6363
BitcoinNetworkType,
64-
} from './modules/finance/bitcoin';
64+
} from './modules/finance/_bitcoin';
6565
export type { FoodModule } from './modules/food';
6666
export type { GitModule } from './modules/git';
6767
export type { HackerModule } from './modules/hacker';

src/modules/commerce/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { FakerError } from '../../errors/faker-error';
22
import { ModuleBase } from '../../internal/module-base';
3-
import { calculateUPCCheckDigit } from './upc-check-digit';
3+
import { calculateUPCCheckDigit } from './_upc-check-digit';
44

55
// Source for official prefixes: https://www.isbn-international.org/range_file_generation
66
const ISBN_LENGTH_RULES: Record<

src/modules/finance/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { FakerError } from '../../errors/faker-error';
22
import { ModuleBase } from '../../internal/module-base';
3-
import type { BitcoinAddressFamilyType, BitcoinNetworkType } from './bitcoin';
3+
import type { BitcoinAddressFamilyType, BitcoinNetworkType } from './_bitcoin';
44
import {
55
BitcoinAddressFamily,
66
BitcoinAddressSpecs,
77
BitcoinNetwork,
8-
} from './bitcoin';
9-
import iban from './iban';
8+
} from './_bitcoin';
9+
import iban from './_iban';
1010

1111
/**
1212
* The possible definitions related to currency entries.

src/modules/helpers/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type { Faker, SimpleFaker } from '../..';
22
import { FakerError } from '../../errors/faker-error';
33
import { SimpleModuleBase } from '../../internal/module-base';
4-
import { fakeEval } from './eval';
5-
import { luhnCheckValue } from './luhn-check';
4+
import { fakeEval } from './_eval';
5+
import { luhnCheckValue } from './_luhn-check';
66

77
/**
88
* Returns a number based on given RegEx-based quantifier symbol or quantifier values.

0 commit comments

Comments
 (0)